Creating a Fargate service on existing Fargate cluster causes recreation of VPC resources #25776
Unanswered
richarddowner
asked this question in
Q&A
Replies: 1 comment
-
As per this answered solution, I have also tried passing the VPC and Cluster through to the fargate stack via props. The solution linked above did not work either, it also created a new VPC and Cluster instead of using the existing ones provided as below: Props interface:
Target group and cluster referencing props:
Cluster stack export:
Cluster stack vpc and cluster creation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having troubles understanding why my Fargate service keeps trying to re-create existing resources such as VPC/Cluster etc when referencing cluster and vpc of an existing stack.
I am referencing the cluster and vpc using the respective Vpc.fromLookup and Cluster.fromClusterAttributes methods.
Fargate service code as follows:
Not sure what I'm doing wrong, another pair of eyes would be greatly appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions