From f6556ccb5bc50c6cd393bafdd7fa3b5bdd3c10a8 Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Tue, 19 Feb 2019 07:40:00 -0800 Subject: [PATCH 1/3] Note that service account creation is eventually consistent. --- .../website/docs/r/google_service_account.html.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/third_party/terraform/website/docs/r/google_service_account.html.markdown b/third_party/terraform/website/docs/r/google_service_account.html.markdown index 40efb4212b20..8b4327053d29 100644 --- a/third_party/terraform/website/docs/r/google_service_account.html.markdown +++ b/third_party/terraform/website/docs/r/google_service_account.html.markdown @@ -10,6 +10,11 @@ description: |- Allows management of a [Google Cloud Platform service account](https://cloud.google.com/compute/docs/access/service-accounts) +-> Creation of service accounts is eventually consistent, and that can lead to +errors when you try to apply IAM roles to service accounts immediately after +creation. If using these resources in the same config, you can add a +[`sleep` using `local-exec`](https://github.com/hashicorp/terraform/issues/17726#issuecomment-377357866). + ## Example Usage This snippet creates a service account, then gives it objectViewer From e0ab6a17ba76590a2072ead8b39fb2f94476a207 Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Tue, 19 Feb 2019 08:14:47 -0800 Subject: [PATCH 2/3] s/IAM roles/ACLs --- .../website/docs/r/google_service_account.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/terraform/website/docs/r/google_service_account.html.markdown b/third_party/terraform/website/docs/r/google_service_account.html.markdown index 8b4327053d29..680fec6f2063 100644 --- a/third_party/terraform/website/docs/r/google_service_account.html.markdown +++ b/third_party/terraform/website/docs/r/google_service_account.html.markdown @@ -11,7 +11,7 @@ description: |- Allows management of a [Google Cloud Platform service account](https://cloud.google.com/compute/docs/access/service-accounts) -> Creation of service accounts is eventually consistent, and that can lead to -errors when you try to apply IAM roles to service accounts immediately after +errors when you try to apply ACLs to service accounts immediately after creation. If using these resources in the same config, you can add a [`sleep` using `local-exec`](https://github.com/hashicorp/terraform/issues/17726#issuecomment-377357866). From b6b71debf291c90ba47366c3014fa65c8ca97dc2 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 19 Feb 2019 22:24:04 +0000 Subject: [PATCH 3/3] Update tracked submodules -> HEAD on Tue Feb 19 22:24:04 UTC 2019 Tracked submodules are build/terraform-beta build/terraform build/ansible build/inspec. --- build/terraform | 2 +- build/terraform-beta | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/terraform b/build/terraform index 0b1d338d3189..5a4bb8f2997f 160000 --- a/build/terraform +++ b/build/terraform @@ -1 +1 @@ -Subproject commit 0b1d338d3189d3b35f003a0e18eb74da82aa737e +Subproject commit 5a4bb8f2997f25514a8450b0f1a84a92d260d1ed diff --git a/build/terraform-beta b/build/terraform-beta index 19527523b8a9..75ef1bf45ea3 160000 --- a/build/terraform-beta +++ b/build/terraform-beta @@ -1 +1 @@ -Subproject commit 19527523b8a9bad8d87fbf9c93471c252877306d +Subproject commit 75ef1bf45ea34cf90171da096669ab28fbdcc478