-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Option to create nice DNS record for ALB, created by this plugin
This plugin creates ALB with unpredictable DNS name and no simple way to add a nice DNS record for it.
Please add an option like dnsRecord with domainName and hostedZoneId inside, and use it in this plugin code instead of the workaround below:
resources:
Resources:
AlbDnsRecord:
Type: AWS::Route53::RecordSetGroup
DependsOn:
- ${self:custom.albResourceName}
Properties:
HostedZoneId: TODO_options_dnsRecord_hostedZoneId
RecordSets:
- Name: TODO_options_dnsRecord_domainName
Type: A
AliasTarget:
DNSName:
Fn::GetAtt:
- ${self:custom.albResourceName}
- DNSName
HostedZoneId:
Fn::GetAtt:
- ${self:custom.albResourceName}
- CanonicalHostedZoneID
custom:
albResourceName: REDACTED_ServerlessService_Stage_ALB_Stage
# ALB created by serverless-ecs-pluginReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels