Skip to content

Commit 7e98755

Browse files
Merge pull request openshift#8803 from mtulio/fix-byoprofile-edge
OCPBUGS-38055: fix/aws/edge: IAM profile must be same of workers
2 parents 54c1657 + 10c00e2 commit 7e98755

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)