How to deploy terraform modules into 2 different AWS accounts using GitHub action

I have VPC.tf file which will create VPC , subnets, AWS route table , TGW attachment (TGW present in different AWS network account)
My VPC script should also create of associations of TG attachment into network account and propagation of routes in TGW. What role should be assigned for the GitHub action so that associations of TG attachment into network account and propagation of routes in TGW will get created as part of single tf script.

The blog post Terraform AWS Provider — Everything you need to know about Multi-Account Authentication and Configuration may give you some ideas on how to best implement multi-account authentication in a multi-provider TF configuration.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.