Skip to content

Commit

Permalink
Add STS endpoint to ASG launch template
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Oct 31, 2024
1 parent 834a968 commit 221c4b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions spire/templates/root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ Resources:
SharedClickhouseClientSecurityGroupId: !GetAtt SharedClickhouseSecurityGroupStack.Outputs.ClientSecurityGroupId
EcsLaunchEndpointsAccessSecurityGroupId: !GetAtt SharedVpcStack.Outputs.EcsLaunchEndpointsAccessSecurityGroupId
KmsEndpointAccessSecurityGroupId: !GetAtt SharedVpcStack.Outputs.KmsEndpointAccessSecurityGroupId
StsEndpointAccessSecurityGroupId: !GetAtt SharedVpcStack.Outputs.StsEndpointAccessSecurityGroupId
SharedRedisReplicationGroupEndpointAddress: !GetAtt SharedRedisStack.Outputs.ReplicationGroupEndpointAddress
SharedRedisReplicationGroupEndpointPort: !GetAtt SharedRedisStack.Outputs.ReplicationGroupEndpointPort
Tags:
Expand Down
2 changes: 2 additions & 0 deletions spire/templates/shared-ecs/asg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Parameters:
SharedClickhouseClientSecurityGroupId: { Type: AWS::EC2::SecurityGroup::Id }
EcsLaunchEndpointsAccessSecurityGroupId: { Type: AWS::EC2::SecurityGroup::Id }
KmsEndpointAccessSecurityGroupId: { Type: AWS::EC2::SecurityGroup::Id }
StsEndpointAccessSecurityGroupId: { Type: AWS::EC2::SecurityGroup::Id }
SharedRedisReplicationGroupEndpointAddress: { Type: String }
SharedRedisReplicationGroupEndpointPort: { Type: String }

Expand Down Expand Up @@ -163,6 +164,7 @@ Resources:
- !Ref SharedEcsAsgInstanceSecurityGroupId
- !Ref EcsLaunchEndpointsAccessSecurityGroupId
- !Ref KmsEndpointAccessSecurityGroupId
- !Ref StsEndpointAccessSecurityGroupId
- !Ref SharedMysqlClientSecurityGroupId
- !Ref SharedPostgresqlClientSecurityGroupId
- !Ref SharedRedisClientSecurityGroupId
Expand Down

0 comments on commit 221c4b2

Please sign in to comment.