From bd351e122649cf6eb45faee7752d50db5e272de2 Mon Sep 17 00:00:00 2001 From: Alex Stephen Date: Mon, 10 Dec 2018 12:51:42 -0800 Subject: [PATCH] Better IAM Service Account name --- products/iam/examples/ansible/service_account.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/products/iam/examples/ansible/service_account.yaml b/products/iam/examples/ansible/service_account.yaml index 2dec61650aed..fecbfacd6b6a 100644 --- a/products/iam/examples/ansible/service_account.yaml +++ b/products/iam/examples/ansible/service_account.yaml @@ -14,7 +14,8 @@ task: !ruby/object:Provider::Ansible::Task name: gcp_iam_service_account code: - name: 'test-ansible@graphite-playground.google.com.iam.gserviceaccount.com' + name: > + "{{resource_name}}@{{gcp_project}}.google.com.iam.gserviceaccount.com" display_name: 'My Ansible test key' project: <%= ctx[:project] %> auth_kind: <%= ctx[:auth_kind] %>