diff --git a/docs/resources/storage_bucket.md b/docs/resources/storage_bucket.md index 3af9ae48..5e080f4e 100644 --- a/docs/resources/storage_bucket.md +++ b/docs/resources/storage_bucket.md @@ -48,8 +48,9 @@ resource "boundary_storage_bucket" "aws_dynamic_credentials_example" { # the role_arn value should be the same arn used as the instance profile that is attached to the ec2 instance # https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html attributes_json = jsonencode({ - "region" = "us-east-1" - "role_arn" = "arn:aws:iam::123456789012:role/S3Access" + "region" = "us-east-1" + "role_arn" = "arn:aws:iam::123456789012:role/S3Access" + "disable_credential_rotation" = "true" }) worker_filter = "\"pki\" in \"/tags/type\"" } diff --git a/examples/resources/boundary_storage_bucket/resource.tf b/examples/resources/boundary_storage_bucket/resource.tf index 67b9408f..0594f3ae 100644 --- a/examples/resources/boundary_storage_bucket/resource.tf +++ b/examples/resources/boundary_storage_bucket/resource.tf @@ -33,8 +33,9 @@ resource "boundary_storage_bucket" "aws_dynamic_credentials_example" { # the role_arn value should be the same arn used as the instance profile that is attached to the ec2 instance # https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html attributes_json = jsonencode({ - "region" = "us-east-1" - "role_arn" = "arn:aws:iam::123456789012:role/S3Access" + "region" = "us-east-1" + "role_arn" = "arn:aws:iam::123456789012:role/S3Access" + "disable_credential_rotation" = "true" }) worker_filter = "\"pki\" in \"/tags/type\"" -} \ No newline at end of file +}