Fix resource binding examples (#5273)

This commit is contained in:
Seth Vargo 2018-09-05 11:55:45 -04:00 committed by Jeff Mitchell
parent 6b452d3114
commit 1bc3222929

View file

@ -71,7 +71,7 @@ credentials generated by Vault will have on GCP resources.
secret_type="access_token" \
token_scopes="https://www.googleapis.com/auth/cloud-platform" \
bindings=-<<EOF
resource "projects/my-project" {
resource "//cloudresourcemanager.googleapis.com/projects/my-project" {
roles = ["roles/viewer"]
}
EOF
@ -84,7 +84,7 @@ credentials generated by Vault will have on GCP resources.
project="my-project" \
secret_type="service_account_key" \
bindings=-<<EOF
resource "projects/my-project" {
resource "//cloudresourcemanager.googleapis.com/projects/my-project" {
roles = ["roles/viewer"]
}
EOF