-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add ARN attribute to aws_ebs_volume
resource
#2261
Comments
Unfortunately, this is not as simple as just adding a We can manually build it using the provider connection metadata though, which is done for some other resources. I'll create a PR shortly and link it here. |
Submitted PR that adds |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
I ahve a Lambda function that takes snapshots of an EBS volume and then adds tags to those snapshots. I am trying to restrict the IAM permissions that are required by the Lambda function such that it can only add tags to snapshots that belong to a set of known EBS volumes. I am doing this using the
ec2:ParentVolume
condition key, which expects a list of EBS volume ARNs. The following code, however, does not work becauseaws_ebs_volume
does not provide anarn
output:I can workaround this for now by constructing the ARN manually:
The text was updated successfully, but these errors were encountered: