Expose arn as an attribute for data.aws_secretsmanager_secret_version #5160
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
good first issue
Call to action for new contributors looking for a place to start. Smaller or straightforward issues.
service/secretsmanager
Issues and PRs that pertain to the secretsmanager service.
Milestone
This issue was originally opened by @mlimotte as hashicorp/terraform#18435. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Expected Behavior
Attributes for aws_secretsmanager_secret_version should include
arn
. This is needed, for example, in order to create an IAM policy that can do secretsmanager:GetSecretValue using the secret version as a resource.Actual Behavior
ARN is not exposed as a data.aws_secretsmanager_secret_version attribute.
The text was updated successfully, but these errors were encountered: