Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janaom/terraform_ansible_aws
terraform | ansible code for aws task
https://github.com/janaom/terraform_ansible_aws
Last synced: about 1 month ago
JSON representation
terraform | ansible code for aws task
- Host: GitHub
- URL: https://github.com/janaom/terraform_ansible_aws
- Owner: janaom
- Created: 2022-01-30T17:41:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T18:12:17.000Z (almost 3 years ago)
- Last Synced: 2023-08-08T18:43:32.198Z (over 1 year ago)
- Language: HCL
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform_aws
terraform code for the AWS taskThe #terraform fmt command is used to rewrite Terraform configuration files to a canonical format and style.
If there is an error, run:
#terraform state list | grep null
#terraform taint null_resource.grafana_update[0]
#terraform apply -auto-approvesudo vi /etc/ansible/hosts -> to add
"[hosts]
localhost
[hosts:vars]
ansible_connection=local
ansible_python_interpreter=/usr/bin/python3"sudo vi /etc/ansible/ansible.cfg -> to add "host_key_checking = False"
sudo systemctl status grafana -> to check if grafana was removed
aws ec2 wait instance-status-ok --instance-ids i-[AMI] --region [region]
ansible-playbook -i aws_hosts --private-key /home/jana/.ssh/id_rsa playbooks/main.playbook.yml
openssl pkcs8 -topk8 -inform PEM -outform PEM -in xxx.pem -out converted-github-app.pem -norcypt -> jenkins will understand