Skip to content

Commit 10c00e2

Browse files
committed
fix/aws/edge: IAM profile must be same of workers
1 parent 91f912c commit 10c00e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/asset/machines/aws/machinesets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func MachineSets(in *MachineSetInput) ([]*machineapi.MachineSet, error) {
8383

8484
instanceProfile := mpool.IAMProfile
8585
if len(instanceProfile) == 0 {
86-
instanceProfile = fmt.Sprintf("%s-%s-profile", in.ClusterID, in.Role)
86+
instanceProfile = fmt.Sprintf("%s-worker-profile", in.ClusterID)
8787
}
8888

8989
provider, err := provider(&machineProviderInput{

0 commit comments

Comments
 (0)