cloudposse / terraform-aws-dynamic-subnets

Terraform module for public and private subnets provisioning in existing VPC
https://cloudposse.com/accelerate
Apache License 2.0
197 stars 167 forks source link

Current module does not provide EIP IDs #153

Closed amit0904 closed 2 years ago

amit0904 commented 2 years ago

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

The current output from module only provide EIP and not EIP ID (eipalloc)

Expected Behavior

An output variable that provides EIP ID (eipalloc) of created elastic IP address

Use Case

AWS Transfer family with endpoint type VPC requires EIP ID (eipalloc)

At present when we use elastic IP, terraform gives following error.

'endpointDetails.addressAllocationIds' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 26, Member must have length greater than or equal to 0, Member must satisfy regular expression pattern: ^eipalloc-([0-9a-f]{8,17})$]