Closed euliancom closed 6 years ago
@ddimitrioglo In order to pass a list, you must use explicit values. Referencing to above example, it would look like this:
recink run terraform --tf-vars="db_identifiers.0:wos-test1,db_identifiers.1:wos-test2,db_identifiers.2:wos-test3"
or
recink run terraform --tf-vars="db_identifiers:['wos-test1','wos-test2','wos-test3']"
following variant is implemented
--tf-vars="db_identifiers.0:wos-test1,db_identifiers.1:wos-test2,db_identifiers.2:wos-test3"
@eistrati I think it can be closed
Checked.
example stable.tfvars
aws_region = "us-west-2" db_identifiers = ["wos-test1","wos-test2","wos-test3"]
db_identifiers = [ type = "list"] it is a list of rds identifier
when I run terraform script, it would be nice to change the list type variables too
example:
recink run terraform --tf-vars="db_identifiers:[here must be the list]"