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]: vault_secrets_sync_association does not have the documented output attributes #2348

Open
cwthrivent opened this issue Oct 31, 2024 · 0 comments
Labels

Comments

@cwthrivent
Copy link

cwthrivent commented Oct 31, 2024

Terraform Core Version

1.9.2

Terraform Vault Provider Version

4.4.0

Vault Server Version

1.16.3

Affected Resource(s)

vault_secrets_sync_association

Expected Behavior

The attached code should validate successfully against Vault provider v4.4.0. In the attached example, I am using the sync_status output documented here, but I noticed that accessing the subkeys and updated_at attributes also induce this error.

Actual Behavior

Running a terraform validate against the code above induces this error:

│ Error: Unsupported attribute

│ on main.tf line 9, in locals:
│ 9: test = vault_secrets_sync_association.aws_secret_sync_association.sync_status

│ This object has no argument, nested block, or exported attribute named "sync_status".

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "vault_secrets_sync_association" "aws_secret_sync_association" {
  name        = "test"
  type        = "aws-sm"
  mount       = "test"
  secret_name = "test"
}

locals {
  test = vault_secrets_sync_association.aws_secret_sync_association.sync_status
}

Steps to Reproduce

Target Vault provider v4.4.0 and run a terraform validate against the code above.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@cwthrivent cwthrivent added the bug label Oct 31, 2024
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