Questions tagged [aws-cloudformation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
3answers
23 views

Does it make sense to create CloudFormation Stack using Terraform?

I am not very familiar with AWS, but I know the basics. So please forgive me for any newbie mistakes in the question. I am trying to integrate our AWS accounts with a vendor app. The vendor has ...
0
votes
1answer
92 views

Export CloudFormation file from CDK

Since I've seen Hashicorp Terraform, I have been wondering why the "plan" it can export has binary format. Now in the AWS world you have got a declarative configuration language called ...
0
votes
1answer
17 views

Issue with cloudformation in target groups and ASG

I am trying to use cloudformation to setup a ASG and I have a target group which I would like to associate with the ASG. The target group is created okay but when I go to attach it to the ASG I get an ...
1
vote
1answer
76 views

`UnauthorizedResourceAccessException` when calling `aws workdocs create-user`

When calling aws workdocs create-user, I'm getting UnauthorizedResourceAccessException or UnauthorizedOperationException. I believe I have all of the permissions required. What could be causing this?...
1
vote
0answers
540 views

SQS Error Message: The specified queue does not exist for this wsdl version

I have a Lambda function that is created inside a serverless framework setup. I am trying to pass in a queue url as an ENV variable, when I do that it results in the below error message. I've checked ...
1
vote
0answers
9 views

Input VPC ID values

I have a current stack that has this on the output of the CloudFormation template VPCId: Description: The ID of the VPC that this stack is deployed in Value: !Ref 'VPC' Export: ...
1
vote
0answers
39 views

CloudFormation template to copy snapshot from one region to other

I have below requirement. CloudFormation template to copy snapshot from one region to other. I am using parameters : source, destination region and DB Cluster Task role, I am using IAM. Resources ...
1
vote
1answer
320 views

Cloudformation issue with target groups and ASG

I am trying to use cloudformation to setup a ASG and I have a target group which I would like to associate with the ASG. The target group is created okay but when I go to attach it to the ASG I get an ...
0
votes
1answer
909 views

Cloudformation YAML not well-formed

I have a cloud formation template that I want to import some values from another template. Currently the other template exports a string by joining together an array (better way of doing this?). In ...
3
votes
1answer
380 views

How to set 'image tag mutability' using CloudFormation?

When one would like to create an Elastic Container Registry then it is possible to set 'image tag mutability': Image tag mutability The image tag mutability setting for the repository. Select "...
0
votes
1answer
36 views

How to get started with CloudFormation? [closed]

There is an official website and there are multiple ways to learn CloudFormation. Just curious what worked best for you.
1
vote
1answer
76 views

API Gateway - How Deploy API works?

After creating API Gateway with two API names and integrating with lambda function, AWS documentation recommends to deploy this API, as shown below: 1) What does deploy API mean? How creating API ...
2
votes
1answer
32 views

Get available CIDRs from existing VPC

I'm writing a few templates to create a stack on demand. Because of the concurrent VPC limitations (5 to start), I'm attempting to create all the feature-based dev environments on a single VPC and ...
1
vote
1answer
40 views

How to fail stack when EC2 spot is refused?

I'm using AWS Cloudformation to create EC2 spot instance (with block duration). In order to do this in cloudformation I'm using a Launch Template where spot configuration is set. Then my ...
0
votes
1answer
86 views

AWS Automation Document Run Steps Against Different Servers Targeted By Tag

As the title describes I want to execute a step against a resource, but I want to specify that resource not by resource id but by tags, I have tried with the below example, but it doesn't work. What ...
1
vote
1answer
710 views

Ansible cloudformation vs cloudformation

I would like to know the difference between - AWS cloudformation - Make AWS cloudformation template through Ansible (https://docs.ansible.com/ansible/latest/modules/cloudformation_module.html) I ...
1
vote
1answer
31 views

Practical reasons for 200 limit of AWS resources in CF templates

Not sure I get it. If my service layer is completely maintainable, indepedent services and very easy to maintain taking only a few minutes to deploy and has no bugs, AWS still won't let me deploy it ...
2
votes
0answers
143 views

Jenkins - IBM UrbanCode - AWS & Azure cloud [closed]

For continuous delivery, we do manual deployment after generating binary artifacts from Jenkins pipeline(in an automated process). Further, for continuous deployment, we would like to use IBM ...
0
votes
1answer
58 views

Are there dialects of YAML or just differences in parsing it?

We use YAML in several frameworks to define types and structures for our deployments. I read an article about why some people don't like YAML and they stated that the parsing of YAML is very different ...
1
vote
1answer
118 views

AWS Cloudformation: Callback only for CREATE_COMPLETE or CREATE_FAILED of entire stack

I am creating a CF stack; I have been using the --notification-arns flag of aws cloudformaction create-stack to send notifications to an email topic; however this produces a huge amount of spam, ...
1
vote
1answer
55 views

Where to state CFT dependencies

With AWS, why can't I just state in the cloudformation template which dependencies I need? Right now I need to add the dependencies automatically in an accompanying script during our gitlab pipeline. ...
0
votes
1answer
48 views

How can I get the first part of the API Deployment URL from inside cloud formation template?

https://u1i7vf9mnl.execute-api.us-west-1.amazonaws.com/v1 How can I get the u1i7vf9mnl portion of the URL from inside of the cloudformation template as a Ref or Fn::GetAtt or some other way?
6
votes
1answer
3k views

How can I use a local file for a nested Cloudformation stack?

How and is it possible to use a local file for a CloudFormation stack besides an S3 bucket?
7
votes
2answers
608 views

Best way to launch 100 identical Docker machines on AWS?

I need to do some large scale testing on a system. The system consists of 2 main parts: Manager and Nodes. There will be only one manager server, but 100 nodes. Both the manager and nodes are Docker ...
1
vote
2answers
2k views

Always execute post statement in a jenkins pipeline when a conditional statement is met

Although it seems counterintuitive, I would like to execute an always statement when a conditional is met. In my pipeline, my post statement should always destroy my AWS CloudFormation Stack if a ...