Questions tagged [aws-cloudformation]
The aws-cloudformation tag has no usage guidance.
27
questions
0
votes
0
answers
57
views
AWS Cloudformation: How generate create dynamic parameters value?
Can you explain to me how to dynamically generate parameters?
In this example I want to generate a dynamic PrivateIpAddress parameter.
{
"AWSTemplateFormatVersion" : "2010-09-09",...
0
votes
1
answer
73
views
How to avoid disclosing account ID in AWS ARN
I'm new to the AWS ecosystem and have what might be a naive question. While trying to create a GlueRunner Lambda stack with CloudFormation (using pynt), from the Cloud9 shell of an account with all ...
1
vote
1
answer
146
views
CDK: How to solve chicken and egg problem of Lambda backed with ECR
In CDK, if I have something like this:
const repository = new ecr.Repository(this, 'SomeRepository', {
repositoryName: 'SomeRepository',
});
const lambda = new lambda.DockerImageFunction(this, '...
1
vote
1
answer
37
views
How to add a wait condition when creating IAM entities
I'm working on a template that allows to create a user, tag it, and add it to any groups, add any roles, managed policies and in-line policies if needed:
## =================== VERSION ================...
1
vote
3
answers
307
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
1
answer
287
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
1
answer
24
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
1
answer
306
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?...
0
votes
0
answers
1k
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
2
answers
706
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
1
answer
1k
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
1
answer
430
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
1
answer
47
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
1
answer
114
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
1
answer
40
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
1
answer
48
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
1
answer
114
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
1
answer
757
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
1
answer
32
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
0
answers
152
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
1
answer
68
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
1
answer
146
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
1
answer
73
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
1
answer
51
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
1
answer
4k
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?
8
votes
2
answers
737
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
2
answers
3k
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 ...