Skip to content

Commit

Permalink
fix: tidy constants names
Browse files Browse the repository at this point in the history
  • Loading branch information
amfage committed Nov 1, 2023
1 parent 9d1f83d commit 59b2b50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions infra/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ export const DbName = 'ArgoDbAF'
/* CloudFormation Output to access from CDK8s */
export const CfnOutputKeys = {
Karpenter: {
ServiceAccountName: 'KarpenterServiceAccountNameAF',
ServiceAccountRoleArn: 'KarpenterServiceAccountRoleArnAF',
ClusterEndpoint: 'ClusterEndpointAF',
DefaultInstanceProfile: 'DefaultInstanceProfileAF',
ServiceAccountName: 'KarpenterServiceAccountName',
ServiceAccountRoleArn: 'KarpenterServiceAccountRoleArn',
ClusterEndpoint: 'ClusterEndpoint',
DefaultInstanceProfile: 'DefaultInstanceProfile',
},
FluentBit: {
ServiceAccountName: 'FluentBitServiceAccountNameAF',
ServiceAccountName: 'FluentBitServiceAccountName',
},
Argo: {
RunnerServiceAccountName: 'ArgoRunnerServiceAccountNameAF',
TempBucketName: 'TempBucketNameAF',
RunnerServiceAccountName: 'ArgoRunnerServiceAccountName',
TempBucketName: 'TempBucketName',
},
};
2 changes: 1 addition & 1 deletion infra/rds/argo.rds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class ArgoRdsStack extends Stack {
constructor(scope: App, id: string, props?: StackProps) {
super(scope, id, props);
this.vpc = ec2.Vpc.fromLookup(this, 'Vpc', { tags: { BaseVPC: 'true' } });
this.db = new rds.DatabaseInstance(this, 'ArgoDbAF', {
this.db = new rds.DatabaseInstance(this, 'ArgoDb', {
// database encryption is on by default, can be changed using rds.force_ssl=0 in a parameterGroup
engine: rds.DatabaseInstanceEngine.postgres({ version: rds.PostgresEngineVersion.VER_15_3 }),
instanceType: ec2.InstanceType.of(ec2.InstanceClass.T3, ec2.InstanceSize.MICRO),
Expand Down

0 comments on commit 59b2b50

Please sign in to comment.