Skip to content

Commit

Permalink
Merge pull request #8693 from hakman/launch-template-tags-cf-tf
Browse files Browse the repository at this point in the history
Add root volume tags for CF and TF targets
  • Loading branch information
k8s-ci-robot authored Mar 16, 2020
2 parents 4996383 + fb68aae commit 68c2370
Show file tree
Hide file tree
Showing 13 changed files with 776 additions and 147 deletions.
4 changes: 2 additions & 2 deletions pkg/resources/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -1205,8 +1205,8 @@ func FindAutoScalingLaunchTemplateConfigurations(cloud fi.Cloud, securityGroups
for _, j := range req.LaunchTemplateVersions {
// @check if the security group references the security group above
var s []*string
if len(j.LaunchTemplateData.NetworkInterfaces) > 0 {
s = append(s, j.LaunchTemplateData.NetworkInterfaces[0].Groups...)
for _, ni := range j.LaunchTemplateData.NetworkInterfaces {
s = append(s, ni.Groups...)
}
s = append(s, j.LaunchTemplateData.SecurityGroupIds...)
for _, y := range s {
Expand Down
Loading

0 comments on commit 68c2370

Please sign in to comment.