cold-coat-35200
10/14/2018, 11:09 AMbig-piano-35669
brave-angle-33257
10/14/2018, 6:09 PMcold-coat-35200
10/14/2018, 6:19 PMbig-piano-35669
white-balloon-205
new awsinfra.Network
currently, but you could create those resources manually or add a subnets tagging feature to that library).
I believe the tag on the public subnets gets automatically added by EKS, are you not seeing that happen?
If neither of those is an option, the workaround you describe should work - or even just a step that always applies the tag using aws-sdk in an .apply
off the subnets to force the tag to be there as part of any deployment.
That said - it would be nice to have more first class support for this. Lifecycle hooks would be one way, as would more general imperative actions.creamy-potato-29402
10/15/2018, 5:19 AM.name
attribute of the resource. Am I missing something here?.getInputs
to the Kubernetes resources. To be blunt, I think the answer that you have to hard-code a name is not a great solution — a lot of the benefit of the Pulumi model is that you get autonaming.cold-coat-35200
10/15/2018, 6:42 AMcreamy-potato-29402
10/15/2018, 7:03 AM.metadata.name
, and my understanding is that AWS resources don’t get auto-named if you specify .arn
? If that’s not an option that’s available to the EKS library, then I am guessing that was an oversight. @white-balloon-205, thoughts?stocky-spoon-28903
10/15/2018, 8:31 AMAwsTag
dynamic resource using these APIs: https://docs.aws.amazon.com/cli/latest/reference/ec2/create-tags.html (et al for delete, describe), which would let you do what you need here. I’ll take a shot at it in a bit and reply on this thread.aws_tag
resource to Terraform and then pull it in via the bridge as a ‘first class’ thing that will work across all languages.pulumi.DynamicResource
and rejected promises that someone else can likely debug faster - I’ll post more when I have it figured outcold-coat-35200
10/16/2018, 1:58 PMstocky-spoon-28903
10/16/2018, 2:37 PMcold-coat-35200
10/16/2018, 3:36 PMstocky-spoon-28903
10/16/2018, 3:37 PMcold-coat-35200
10/16/2018, 3:38 PMstocky-spoon-28903
10/16/2018, 3:38 PMaws_tag
resource which then got pulled into Pulumi, implemented very similarly. For production code it likely wants a read
toowhite-balloon-205
cold-coat-35200
10/16/2018, 3:59 PM