Questions tagged [aws-cloudformation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
7 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
8 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
24 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 ...
0
votes
0answers
4 views

How to create a user and copy corresponding pub file to authorized_key using AWS CloudFormation?

I am having trouble to create a user and copy the corresponding pub file called authorized_keys into the .ssh folder on the instance using AWS Cloud Formation. I do this, because I want to connect ...
0
votes
0answers
10 views

Is it possible to accept a connection request for Endpoint Services in a CloudFormation Template?

Question is at the bottom. The following diagram is what I am trying to deploy. This is part of an exercise from a Developer Associate course that I am following. In this course we only use the AWS ...
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
15 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
votes
0answers
10 views

CloudFormation - Partitioning EBS root volume

Below is the cloudformation template to create EC2 instance: "EC2Instance":{ "Type": "AWS::EC2::Instance", "Properties":{ "ImageId": "ami-07777777777c7", "InstanceType": "t2....
0
votes
0answers
30 views

Associate an EC2 instance with a custom VPC in CloudFormation templates

I read through pages of CloudFormation JSON scripts and I can't seem to find how you place an EC2 Instance inside a custom VPC. For example, when you create a new EC2 Instance in the Console, there is ...
1
vote
0answers
28 views

https - How to enable users to have secure connection with Jenkins via ELB?

Below is the cloud formation template that creates Eastic Load Balancer as public facing to jenkins(jenkins:ecs docker) running in VPC subnet: { "AWSTemplateFormatVersion": "2010-09-09", "...
1
vote
0answers
28 views

Does CDK perform orchestration ? apart from provisioning

We used CloudFormation/Terraform for provisioning resources in AWS. Provisioning is about creating a new state or transforming one state to another. We used ansible tool to orchestrate provisioning ...
1
vote
1answer
92 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
396 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
275 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
28 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
41 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
28 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
35 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
60 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
645 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
29 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
128 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
49 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
85 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
46 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
43 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?
5
votes
1answer
2k 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
376 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
916 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 ...