Skip to main content

All Questions

0 votes
1 answer
55 views

"Property CidrBlock or Ipv4IpamPoolId cannot be empty" when trying to create an IPv6-only VPC Subnet

When trying to create an IPv6-only VPC Subnet, using AWS CloudFormation, stack creation fails with the following message: CREATE_FAILED Resource handler returned message: "Invalid request ...
djvg's user avatar
  • 155
0 votes
1 answer
2k views

How to create EKS cluster with VPC CNI addon via CloudFormation?

I create a EKS cluster (1.24) via cloudformation, it works fine without a CNI plugin but fails when I add vpc-cni addon: AddonCNI: Type: 'AWS::EKS::Addon' Properties: AddonName: vpc-...
chingis's user avatar
  • 243
1 vote
1 answer
2k views

How to Apply Egress rules to Default Security Group - AWS

I would like to apply port 443 outbound rule to the 'Default' security group. It worked by creating a dedicated block OutboundRule (which is commented out). Instead of creating a new block, I want to ...
Prime's user avatar
  • 143
1 vote
1 answer
611 views

How to assign a private IP dynamically generated with AWS Cloudformation?

I have an AWS Cloudformation, and I want two EC2 instances A and B on a private subnet under the same VPC. In the application, I need A to access B. How can I configure A with the dynamically ...
oleiba's user avatar
  • 121
0 votes
2 answers
483 views

CloudFormation, networking issues with RDS and Lambda's

Been trying to get an HTTP enabled Lambda to connect to an RDS database, fetch the results and return to the caller. I'm getting all sorts of timeouts and it's driving me insane. I've never really ...
Jorg's user avatar
  • 147
1 vote
1 answer
5k views

pass an existing VPC ( or Subnet/Security group) as a parameter to the template using the Ref built-in?

I am trying to find a way to set default VPCs, Subnets and Security Groups in the Cluster.template JSON file. Is there a way to pass an existing VPC ( or Subnet/Security group) as a parameter to the ...
Varda Elentári's user avatar
5 votes
1 answer
3k views

Specifying a VPC in a CloudFormation template for an EC2 instance

I'm launching an EC2 instance via a CloudFormation template, however, the specified instance t2.micro requires a VPC. How do I specify a VPC in the CloudFormation template? Here's my template: { ...
Snowcrash's user avatar
  • 1,157
1 vote
1 answer
2k views

CloudFormation VPC GetAtt Parameter Internal Failure

I have two Cloudformation files being used to make two different stacks containing a VPC each. One is an admin VPC that will be used to access the other VPC via ssh and all that, typical bastiony use ...
Ernest Mueller's user avatar
8 votes
1 answer
21k views

How to specify VPC and subnet in AWS CloudFormation template

I am trying to launch an example CloudFormation template as described in Getting Started with CloudFormation. I removed the default VPC, added new one (10.0.0.0/16), and created a new subnet in it (10....
ipeacocks's user avatar
  • 321
3 votes
2 answers
9k views

Creating AWS VPC Endpoints with CloudFormation

I'm currently looking into automating the creation of VPC endpoints within our stack using CloudFormation (The purpose is so that our stack can access S3 without creating outbound traffic). The ...
Jacklynn's user avatar
  • 155
4 votes
1 answer
2k views

Run EC2 instance into specific non-default VPC in random subnet

I have a problem and I expect that someone help me. I'm working with AWS and I have 2 VPC. The default VPC an another VPC created by me. Each VPC has 3 subnets in differents AZ (eu-west-1a, eu-west-...
Gon's user avatar
  • 91
2 votes
1 answer
4k views

AWS CloudFormation Create Route 53 Private Hosted Zone

Hello and thanks in advance... I'm leveraging AWS CloudFormation to automatically build up a VPC and Subnets etc. I would like the CloudFormation template to create a Route 53 Private Hosted Zone ...
Christian Nuss's user avatar