Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote develop to master #449

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions infrastructure/cdk/src/providers/blog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class BlogStack extends cdk.Stack {
const hackmdToken = ecs.Secret.fromSecretsManager(
secretsmanager.Secret.fromSecretNameV2(this, pascalCase(hackmdTokenKey), kebabCase(hackmdTokenKey))
)

const fargateService = new ecsPatterns.ApplicationLoadBalancedFargateService(this, config.getFullStackResourceName(this.name, 'fargate'), {
assignPublicIp: true,
certificate,
Expand Down
5 changes: 3 additions & 2 deletions infrastructure/cdk/src/providers/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ export class NodesStack extends cdk.Stack {
const { rootDomain, subdomains } = config
const { hostedZone } = props

const nodesIp = secretsmanager.Secret.fromSecretNameV2(this, config.getFullStackResourceName(this.name, 'nodes-ip'), kebabCase(config.getFullStackResourceName(this.name, 'nodes-ip')))
const nodesIpKey = 'casimir-nodes-ip'
const nodesIp = secretsmanager.Secret.fromSecretNameV2(this, pascalCase(nodesIpKey), kebabCase(nodesIpKey))

new route53.ARecord(this, config.getFullStackResourceName(this.name, 'a-record-api'), {
recordName: `${subdomains.nodes}.${rootDomain}`,
zone: hostedZone as route53.IHostedZone,
target: route53.RecordTarget.fromIpAddresses(nodesIp.secretValue.unsafeUnwrap()),
ttl: cdk.Duration.minutes(1),
ttl: cdk.Duration.minutes(1)
})
}
}
Loading