Better resourceref flexibility (#149)

<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
This commit is contained in:
The Magician 2018-12-14 13:00:18 -08:00 committed by Alex Stephen
commit 982933cfe8
64 changed files with 569 additions and 526 deletions

View file

@ -68,10 +68,9 @@ options:
description:
- The name of the serviceAccount.
- 'This field represents a link to a ServiceAccount resource in GCP. It can be
specified in two ways. You can add `register: name-of-resource` to a gcp_iam_service_account
task and then set this service_account field to "{{ name-of-resource }}" Alternatively,
you can set this service_account to a dictionary with the name key where the
value is the name of your ServiceAccount'
specified in two ways. First, you can place in the name of the resource here
as a string Alternatively, you can add `register: name-of-resource` to a gcp_iam_service_account
task and then set this service_account field to "{{ name-of-resource }}"'
required: false
path:
description:
@ -144,7 +143,7 @@ serviceAccount:
description:
- The name of the serviceAccount.
returned: success
type: dict
type: str
path:
description:
- The full name of the file that will hold the service account private key. The
@ -178,7 +177,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'], type='str'),
private_key_type=dict(type='str', choices=['TYPE_UNSPECIFIED', 'TYPE_PKCS12_FILE', 'TYPE_GOOGLE_CREDENTIALS_FILE']),
key_algorithm=dict(type='str', choices=['KEY_ALG_UNSPECIFIED', 'KEY_ALG_RSA_1024', 'KEY_ALG_RSA_2048']),
service_account=dict(type='dict'),
service_account=dict(),
path=dict(type='path')
)
)