Configure stack to use allocated Elastic IP eipalloc-06bea32c3a787c2b1
This commit is contained in:
parent
6ce2b46d87
commit
75b77a8188
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ export class AwsCdkStack extends cdk.Stack {
|
|||
|
||||
// 5. Associate your pre-created Elastic IP using its Allocation ID
|
||||
new ec2.CfnEIPAssociation(this, 'MailServerEIPAssociation', {
|
||||
allocationId: 'YOUR_ALLOCATION_ID_HERE', // <--- Replace with your Elastic IP Allocation ID (e.g., eipalloc-xxxx)
|
||||
allocationId: 'eipalloc-06bea32c3a787c2b1',
|
||||
instanceId: instance.instanceId,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue