sparse-intern-71089
09/03/2021, 4:13 AMbored-table-20691
09/03/2021, 4:22 AMworried-city-86458
09/03/2021, 4:35 AMworried-city-86458
09/03/2021, 4:36 AMbored-table-20691
09/03/2021, 4:56 AMworried-city-86458
09/04/2021, 5:54 AMbored-table-20691
09/04/2021, 5:56 AMbored-table-20691
09/04/2021, 5:57 AMworried-city-86458
09/08/2021, 10:39 PMDuplicate resource URN 'urn:pulumi:alpha::aws-eks::aws:cloudformation/stack:Stack::alpha-aws-eks-sg-rules'; try giving it a unique name
worried-city-86458
09/08/2021, 10:39 PMworried-city-86458
09/08/2021, 10:42 PM// cluster security group rules for legacy ingress; work around duplicate resource urn issue
Logger.LogDebug("Creating eks cluster security group rules");
var clusterSgrTemplate = Output.Tuple(clusterSgId, eksNodeInternalElbSgId, eksNodePublicElbSgId)
.Apply(((string ClusterSgId, string InternalSgId, string InternetSgId) tuple) =>
RenderTemplate("EksSecurityGroupRules.yaml", ReadResource, new { tuple.ClusterSgId, tuple.InternalSgId, tuple.InternetSgId }));
new Pulumi.Aws.CloudFormation.Stack($"{awsEksPrefix}-sg-rules",
new StackArgs { TemplateBody = clusterSgrTemplate },
new CustomResourceOptions { Provider = awsProvider });
worried-city-86458
09/08/2021, 10:43 PMAWSTemplateFormatVersion: 2010-09-09
Resources:
InternalIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {{ clusterSgId }}
IpProtocol: tcp
FromPort: 0
ToPort: 65535
SourceSecurityGroupId: {{ internalSgId }}
InternetIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {{ clusterSgId }}
IpProtocol: tcp
FromPort: 0
ToPort: 65535
SourceSecurityGroupId: {{ internetSgId }}
worried-city-86458
09/08/2021, 10:44 PMbillowy-army-68599
worried-city-86458
09/08/2021, 11:44 PMbillowy-army-68599
pulumi stack export
and/or sharing the full code with me so I can try repro? DM is okay