We have set up our terraform script to create an SQS for one account only.
There is demand add more accounts for the future.
I was wondering if anyone has a way of adding an account (quick fix) to this code without changing everything completely?
environment_override = "enviorment_name"
enable_cross_account = true
remote_aws_account = "*************"
encryption_key = ""
remote_account_roles = [ "arn:aws:iam::*************:role/new_role ]
Where
remote_aws_account
and
remote_account_roles
I need to add another one of each
can you just put it beside the other account number and role?
Thanks
question from:
https://stackoverflow.com/questions/66045627/how-to-add-another-account-to-an-sqs-queue 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…