Update elb_service_account docs (#10299)
The current example using the ELB's account ID will trigger an update for a resource that uses the `.id` instead if the `.arn` syntax. Once updated to the `.arn`, no changes are detected. [ci skip]
This commit is contained in:
parent
1aff30dd5e
commit
afe9388457
|
@ -32,7 +32,7 @@ resource "aws_s3_bucket" "elb_logs" {
|
||||||
"Resource": "arn:aws:s3:::my-elb-tf-test-bucket/AWSLogs/*",
|
"Resource": "arn:aws:s3:::my-elb-tf-test-bucket/AWSLogs/*",
|
||||||
"Principal": {
|
"Principal": {
|
||||||
"AWS": [
|
"AWS": [
|
||||||
"${data.aws_elb_service_account.main.id}"
|
"${data.aws_elb_service_account.main.arn}"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue