Skip to content

Commit 1fcb331

Browse files
authored
fix: change wait-time argument type from int to string
1 parent 1e97009 commit 1fcb331

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setenv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
parser.add('--vault-role-id-name', default='TF_VAR_vault_role_id', help='Name of the environment variable for Vault role ID, defaults to "TF_VAR_vault_role_id"')
2727
parser.add('--vault-secret-id-name', default='TF_VAR_vault_secret_id', help='Name of the environment variable for Vault secret ID, defaults to "TF_VAR_vault_secret_id"')
2828
parser.add('--vault-secret-id-cidr', default=None, help='CIDR to use for Vault secret ID, defaults to the IP address from --myip-url with /32 suffix')
29-
parser.add('--wait-time', type=int, default=60, help='Time to wait in seconds after Azure credentials have been validated, defaults to 60')
29+
parser.add('--wait-time', default='60', help='Time to wait in seconds after Azure credentials have been validated, defaults to 60')
3030
parser.add('--cache', action='store_true', help='Cache/ use cached credentials')
3131
parser.add('--cache-file', help='Path and name to cache file, defaults to /tmp/{repo_name}_{workflow_name}.cache.json when running in atlantis, or /tmp/{current_workdir}.cache.json when running from shell')
3232
parser.add('--secret', action='store_true', help='Every key/value pair in vault applications "setenv" secret is added to env vars')

0 commit comments

Comments
 (0)