My name is Matheus. I’m a software developer with the main goal of delivering value for people through technology.
- 🏢 I'm currently working at Ame Digital
- 💻 FullStack Developer
AWS CloudFormation Deploy Action
License: MIT License
My name is Matheus. I’m a software developer with the main goal of delivering value for people through technology.
Something was changed on github Docker filer that now is asking for input while configuring tzdata:
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US
I've fixed this in a fork from the project adding the following code on Dockerfile
:
ENV DEBIAN_FRONTEND=noninteractive
I'll create a PR to fix the problem.
More information about this error can be found it here:
https://askubuntu.com/questions/909277/avoiding-user-interaction-with-tzdata-when-installing-certbot-in-a-docker-contai
I found an issue when I try to deploy two stacks in the same workflow (github action):
mkdir: cannot create directory '/github/home/.aws': File exists
-
name: "Deploy analytics celery stack"
uses: mgenteluci/[email protected]
env:
TEMPLATE: 'amazon-aws/cloudformation/prod-ecs-celery-analytics.yml'
AWS_STACK_NAME: 'prod-ecs-celery-analytics'
AWS_REGION: 'eu-west-1'
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
AWS_DEPLOY_BUCKET: ${{secrets.AWS_CLOUDFORMATION_BUCKET}}
-
name: "Deploy async celery stack"
uses: mgenteluci/[email protected]
env:
TEMPLATE: 'amazon-aws/cloudformation/prod-ecs-celery-async.yml'
AWS_STACK_NAME: 'prod-ecs-celery-async'
AWS_REGION: 'eu-west-1'
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
AWS_DEPLOY_BUCKET: ${{secrets.AWS_CLOUDFORMATION_BUCKET}}
The latest release does not solve this -- FYI
I added your action to my CI with the command:
- name: Deploy to AWS via CloudFormation
uses: mgenteluci/[email protected]
env:
TEMPLATE: ${{ env.AWS_TEMPLATE_FILE_DEV }}
AWS_STACK_NAME: ${{ env.AWS_STACK_NAME }}
AWS_REGION: ${{ env.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
AWS_DEPLOY_BUCKET: ${{ env.AWS_S3_BUCKET }}
I get the error when after the first execution: mkdir: can't create directory '/github/home/.aws': File exists
This is the complete error:
runner/_work/_temp/_runner_file_commands":"/github/file_commands" -v "/opt/devops/actions-runner/_work/lambda-test/lambda-test":"/github/workspace" 35b096:080abb3e763f4f4c8170952287575800
mkdir: cannot create directory '/github/home/.aws': File exists
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.