Congrats!! Great post! (great section about TGW)!
What if we have two distinct accounts - I know that the peer transit gateway can be in a different AWS account. What would be the CDK code for this scenario?
kthxbye, include
Hi, Francisco! Happy you liked the post!
As far as your question is concerned, with two or more accounts, it is a common scenario (especially if those accounts are members of an AWS Organizations' organization, though it's not a prerequisite) to share a TGW using AWS RAM. You could achieve that using the CfnResourceShare class.
CfnResourceShare
Hi Rafa - thank you for your reply :) I'm gona play with your nice tip!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Congrats!! Great post! (great section about TGW)!
What if we have two distinct accounts - I know that the peer transit gateway can be in a different AWS account. What would be the CDK code for this scenario?
kthxbye,
include
Hi, Francisco! Happy you liked the post!
As far as your question is concerned, with two or more accounts, it is a common scenario (especially if those accounts are members of an AWS Organizations' organization, though it's not a prerequisite) to share a TGW using AWS RAM. You could achieve that using the
CfnResourceShare
class.Hi Rafa - thank you for your reply :)
I'm gona play with your nice tip!