Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...