From 5a4bb8f2997f25514a8450b0f1a84a92d260d1ed Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 19 Feb 2019 14:22:12 -0800 Subject: [PATCH] Note that service account creation is eventually consistent. (#3081) /cc @rileykarson --- website/docs/r/google_service_account.html.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/docs/r/google_service_account.html.markdown b/website/docs/r/google_service_account.html.markdown index 40efb421..680fec6f 100644 --- a/website/docs/r/google_service_account.html.markdown +++ b/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 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). + ## Example Usage This snippet creates a service account, then gives it objectViewer