Skip to content

Commit

Permalink
Revert "make the others readonly too"
Browse files Browse the repository at this point in the history
This reverts commit 0353460.
  • Loading branch information
NovemberTang committed Apr 22, 2024
1 parent 0353460 commit 81d5d16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
25 changes: 0 additions & 25 deletions packages/cdk/lib/__snapshots__/service-catalogue.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ spec:
},
},
"Name": "CloudquerySource-AwsCostExplorerFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -1111,7 +1110,6 @@ spec:
},
},
"Name": "CloudquerySource-DelegatedToSecurityAccountFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "1024",
Expand Down Expand Up @@ -1758,7 +1756,6 @@ spec:
},
},
"Name": "CloudquerySource-DeployToolsListOrgsFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -2413,7 +2410,6 @@ spec:
},
},
"Name": "CloudquerySource-FastlyServicesFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -3063,7 +3059,6 @@ spec:
},
},
"Name": "CloudquerySource-GalaxiesFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -3991,7 +3986,6 @@ spec:
},
},
"Name": "CloudquerySource-GitHubIssuesFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -4427,7 +4421,6 @@ spec:
},
},
"Name": "CloudquerySource-GitHubLanguagesFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -5098,7 +5091,6 @@ spec:
},
},
"Name": "CloudquerySource-GitHubRepositoriesFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -5799,7 +5791,6 @@ spec:
},
},
"Name": "CloudquerySource-GitHubTeamsFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "2048",
Expand Down Expand Up @@ -6367,7 +6358,6 @@ spec:
},
},
"Name": "CloudquerySource-NS1PluginContainer",
"ReadonlyRootFilesystem": true,
},
{
"Command": [
Expand Down Expand Up @@ -6482,7 +6472,6 @@ spec:
},
},
"Name": "CloudquerySource-NS1Firelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -7140,7 +7129,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideAutoScalingGroupsFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -7790,7 +7778,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideBackupFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -8438,7 +8425,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideCertificatesFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -9116,7 +9102,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideCloudFormationFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -9968,7 +9953,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideCloudwatchAlarmsFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -10382,7 +10366,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideDynamoDBFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -11070,7 +11053,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideEc2Firelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -11722,7 +11704,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideInspectorFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -12605,7 +12586,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideLoadBalancersFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -13256,7 +13236,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideRDSFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -13670,7 +13649,6 @@ spec:
},
},
"Name": "CloudquerySource-OrgWideS3Firelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -14381,7 +14359,6 @@ spec:
},
},
"Name": "CloudquerySource-RemainingAwsDataFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "1024",
Expand Down Expand Up @@ -15309,7 +15286,6 @@ spec:
},
},
"Name": "CloudquerySource-RiffRaffDataFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down Expand Up @@ -15728,7 +15704,6 @@ spec:
},
},
"Name": "CloudquerySource-SnykAllFirelens",
"ReadonlyRootFilesystem": true,
},
],
"Cpu": "256",
Expand Down
2 changes: 0 additions & 2 deletions packages/cdk/lib/cloudquery/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ export class ScheduledCloudqueryTask extends ScheduledFargateTask {
image: dockerDistributedPluginImage,
logging: fireLensLogDriver,
essential: false,
readonlyRootFilesystem: true,
},
);

Expand Down Expand Up @@ -400,7 +399,6 @@ export class ScheduledCloudqueryTask extends ScheduledFargateTask {
firelensConfig: {
type: FirelensLogRouterType.FLUENTBIT,
},
readonlyRootFilesystem: true,
});

managedPolicies.forEach((policy) => task.taskRole.addManagedPolicy(policy));
Expand Down

0 comments on commit 81d5d16

Please sign in to comment.