aws-cloudformation Questions

6

Solved

I try to start the cfn-init with: Fn::Base64: !Sub | #!/bin/bash sudo apt-get -y install python-setuptools mkdir aws-cfn-bootstrap-latest curl https://s3.amazonaws.com/cloudformation-examples...
Subscription asked 11/4, 2018 at 9:41

2

I have two CDK/Cfn stacks which instantiate application load balancers with SSL certificates. I'm using DNS validation which the CDK manages by creating a Lambda function which requests and validat...
Crashland asked 4/12, 2022 at 4:22

3

Solved

I have been wasting a lot of time trying to get a GitHub web hook setup with CloudFormation. The docs for this process are beyond useless, for example: https://docs.aws.amazon.com/codebuild/latest/...
Widely asked 16/7, 2019 at 22:11

4

I have a bunch of AWS resources (ec2 instances, rds, s3, etc.) Those resources were created manually over the years in AWS console. Now I would like to duplicate this environment using CloudFormati...
Birgit asked 3/2, 2021 at 14:47

3

Context, I have a CDK app with two stacks using the following setup: Stack_A: StateMachine_A Lambda_A S3Bucket_A IAMRole_A Stack_B: StateMachine_B SageMakerTrainJob_B IAMRole_B StateMach...
Sacha asked 19/2, 2020 at 19:6

3

Solved

The following image is my question. SO would not allow me to post because of some error about formatting code incorrectly that I couldn't figure out how to resolve after an hour of trying. Image o...
Marcelline asked 24/9, 2016 at 16:56

8

Solved

Can you create views in Amazon Athena? outlines how to create a view using the User Interface. I'd like to create an AWS Athena View programatically, ideally using Terraform (which calls CloudForm...

7

Solved

My team has a pipeline which runs under an execution IAM role. We want to deploy code to AWS through CloudFormation or the CDK. In the past, we would upload some artifacts to S3 buckets before cre...
Hammered asked 19/7, 2019 at 18:43

5

Solved

I'm finding it hard to understand the difference between SAM template and Cloudformation template. I know that SAM template can be used to define Serverless Applications like Lambda, but how does t...

9

Solved

I am creating an AWS ECS service using Cloudformation. Everything seems to complete successfully, I can see the instance being attached to the load-balancer, the load-balancer is declaring the ins...
Undesirable asked 22/9, 2015 at 21:48

7

I get the error: $ aws cloudformation deploy --template-file ./packaged-stack.yml --stack-name mystackname --capabilities CAPABILITY_NAMED_IAM` An error occurred (ValidationError) when calling ...
Incogitant asked 19/8, 2018 at 13:40

4

New to cloudformation. I am spawning PostgreSQL RDS instance using a aws cloudformation script. Is there a way to enable PostGIS (and other extensions) from aws cloudFormation script?
Alitaalitha asked 16/6, 2017 at 8:38

5

Solved

AWS Lambda now supports container images as a packaging format. Ref Does cloudformation support using Container image for deploying AWS Lambda? Something similar to packaging and deployment support...
Delfinadelfine asked 31/1, 2021 at 7:16

3

Solved

I'm trying to create an Elastic Container Service (ECS) setup from Cloud Formation. However I don't want the ECS repository to have the ugly autogenerated URI: 111111111.dkr.ecr.us-east-1.amazon...

3

I want to create an Elastic Beanstalk using CloudFormation template. I want to define an environment variable ENV_VAR_1 and set it's value to value of template parameter var1. But don't want ENV_VA...

2

As part of an AWS CodePipeline in an AWS CodeBuild action I deploy resources created with the Serverless Framework to a "UAT" (user acceptance testing) stage. The pipeline runs in its own...

3

Solved

I'm a new to codedeploy, I plan to deploy multiple applications in order to a single instance. I'm using cloudformation template to create codedeploy, and couldn't find any instruction for deploy m...
Carrasquillo asked 16/8, 2016 at 16:15

4

Solved

I am working on a Cloudformation template for an IAM role that grants cross account read only access. It uses a managed policy for Readonly access as well. So far, I've resolved several errors, but...
Cupule asked 15/3, 2018 at 21:23

11

Solved

I'm new to aws cloudformation; I'm wondering if anybody knows of a way to force delete a stack when it just won't delete. It fails with this error: Failed to delete stack: Role arn:aws:iam::role/...

14

An AWS CloudFormation rollback (e.g., UPDATE_ROLLBACK_IN_PROGRESS) has been in progress forever, like over an hour and a half. I want to delete the stack altogether or force stop any activity. Is t...
Jankowski asked 27/1, 2017 at 23:33

6

Solved

The task that I need to do is make CDN depend on a S3 bucket. But we want to make it use the existing bucket rather than creating a new one. Here is the sample code that I am trying: "Parameters"...
Calderon asked 5/1, 2016 at 8:47

5

Solved

I have a cloudformation template that creates an S3 bucket as part of a cloudformation stack. On the new version of my template, I 'm planning to migrate my application from S3 to EFS. Is there a...
Inkle asked 4/4, 2017 at 17:24

5

I have a lambda which has a log group, say LG-1, for which retention is set to Never Expire (default). I need to change this Never Expire to 1 month. I am doing this using CloudFormation. As the lo...
Viperish asked 13/3, 2019 at 8:55

6

Solved

I have setup an API Gateway (v1, not v2) REST API resource using CloudFormation template. Recently I have noticed that the default execute-api endpoint is also created, which I can disable in the s...

8

I am trying to deploy an EC2 instance using Cloudformation but getting the following error: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC despite having ...
Circassian asked 27/7, 2022 at 8:18

© 2022 - 2024 — McMap. All rights reserved.