Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Certain updates are not made downstream on vault_aws_auth_backend_role resource #2323

Open
Shocktrooper opened this issue Sep 11, 2024 · 0 comments
Labels

Comments

@Shocktrooper
Copy link

Terraform Core Version

1.8.3

Terraform Vault Provider Version

4.3.0

Vault Server Version

1.17.2

Affected Resource(s)

vault_aws_auth_backend_role

Expected Behavior

Resource updates should happen

Actual Behavior

Terraform says it will apply updates and after a successfully reported update the downstream configuration is not made and subsequent plans show the same change that was never successfully made

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "vault_aws_auth_backend_role" "test" {
  backend                  = vault_auth_backend.backend.path
  role                     = "test"
  auth_type                = "ec2"
  allow_instance_migration = true
  bound_account_ids        = ["12345"]
  bound_vpc_ids            = ["vpc-12345"]
  bound_subnet_ids         = ["subnet-12345"]
  token_ttl                = 60
  token_max_ttl            = 120
  token_policies           = ["default"]
}
resource "vault_aws_auth_backend_role" "test" {
  backend                  = vault_auth_backend.backend.path
  role                     = "test"
  auth_type                = "ec2"
  allow_instance_migration = true
  # bound_account_ids        = ["12345"]
  # bound_vpc_ids            = ["vpc-12345"]
  # bound_subnet_ids         = ["subnet-12345"]
  token_ttl                = 60
  token_max_ttl            = 120
  token_policies           = ["default"]
}

Steps to Reproduce

  • Configure the vault_aws_auth_backend_role resource to your liking and apply the initial configuration
  • Make a subsequent change to one of the bound attributes and make a subsequent apply
  • Terraform reports a success but no changes were actually made

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

#1773

Would you like to implement a fix?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant