Skip to content

Commit 187f1bf

Browse files
authored
chore(infra): setting static names for ECS roles (#3348)
1 parent 0ca45ce commit 187f1bf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

infra/aws/embed.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ const alarmConfigurations: AlarmConfigurations = {
172172
//////////////////////////////////////////////////////////////
173173

174174
const serviceRole = new aws.iam.Role("passport-embed-ecs-role", {
175+
name: "passport-embed-ecs-role",
175176
assumeRolePolicy: JSON.stringify({
176177
Version: "2012-10-17",
177178
Statement: [
@@ -531,7 +532,7 @@ export const passportEmbedService = new aws.ecs.Service(
531532
{
532533
dependsOn: [albPassportEmbedTargetGroup, passportEmbedTaskDefinition],
533534
ignoreChanges: ["desiredCount"],
534-
}
535+
},
535536
);
536537

537538
const ecsAutoScalingTargetXyz = new aws.appautoscaling.Target(

infra/aws/iam.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ const alarmConfigurations: AlarmConfigurations = {
184184
//////////////////////////////////////////////////////////////
185185

186186
const serviceRole = new aws.iam.Role("passport-ecs-role", {
187+
name: "passport-ecs-role",
187188
assumeRolePolicy: JSON.stringify({
188189
Version: "2012-10-17",
189190
Statement: [

0 commit comments

Comments
 (0)