GithubHelp home page GithubHelp logo

tungbq / aws-lab-with-terraform Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 13.0 363 KB

Collection of Terraform code for AWS labs

HCL 80.46% Python 6.03% Shell 11.32% HTML 2.19%
aws deployment terraform deploy devops iac iac-terraform

aws-lab-with-terraform's Introduction

Hi there πŸ‘‹

Here are some ideas to get you started:

  • πŸ”­ I’m currently working as a DevOps Engineer
  • 🌱 I’m currently learning Azure, Terraform, Ansible, Caching, k8s
  • πŸ‘― I’m looking to collaborate on open source projects
  • πŸ’¬ Ask me about AWS, Jenkins, Docker, K8S, CI/CD, Terraform, Ansible, Github, Azure DevOps
  • πŸ₯‡ Certificate: AWS Solutions Architect Associate
  • πŸ“« How to reach me: [email protected]
  • πŸ˜„ Pronouns: Mr. BΓΉi Quang TΓΉng

My projects:

  • πŸ—οΈ Below are my highlight repositories:
    • ➑️ devops-basics: πŸš€ Practical and document place for DevOps toolchain
    • ➑️ AWSHub: πŸ“š Collection of AWS Services documentation and learning resources
    • ➑️ devops-toolkit: 🐳 Container image for an all-in-one DevOps environment with popular tools
    • ➑️ devops-project: Collection of DevOps projects to level up your DevOps skills
    • ➑️ LocalEnv: 🐳 LocalEnv - Local Containerized Environment supports various languages
    • ➑️ K8sHub: Kubernetes deployment samples, practices, and examples
    • ...and more, checkout my full repositories landscape ➑️ here πŸš€

My organization:

  • πŸ”₯ I'm also building TheDevOpsHub for a central DevOps learning and practical Hub

My contributions:

Tung's GitHub stats

aws-lab-with-terraform's People

Contributors

abraham12611 avatar allcontributors[bot] avatar anujpandey0212 avatar atomicrypt avatar devazc avatar harshal662 avatar intelrunner avatar navyamulumudi avatar tungbq avatar vedangit avatar viktoriussuwandi avatar vivekvr1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aws-lab-with-terraform's Issues

[bug] :bug: [Part01] Error when creating Security Group Assignees: Labels:

β•·
β”‚ Error: Unsupported argument
β”‚
β”‚ on networking.tf line 229, in resource "aws_security_group" "web_tier_sg":
β”‚ 229: security_group_id = ["${aws_security_group.internet_facing_lb_sg.id}"]
β”‚
β”‚ An argument named "security_group_id" is not expected here.
β•΅
β•·
β”‚ Error: Unsupported argument

Adding workshop folder

Tasks:

  • Adding workshop folder to the root
  • Create new README.md file under that folder
  • Add placeholder text into the newly README.md (e.g: To be updated...)

[Part3] Create new shell script to automate App Tier Instance Deployment - Configure Database

Task:

Note that this script will be used in the terraform file for the deployment.

[Part3] Create new shell script to automate App Tier Instance Deployment - Configure App Instance

Task:

Note that this script will be used in the terraform file for the deployment.

Replace all `data.http.myip.body` by `data.http.myip.response_body` in networking.tf

Background:

  • We got following warning in networking.tf:
β”‚ Warning: Deprecated attribute
β”‚
β”‚   on networking.tf line 219, in resource "aws_security_group" "internet_facing_lb_sg":
β”‚  219:     cidr_blocks      = ["${chomp(data.http.myip.body)}/32"]
β”‚
β”‚ The attribute "body" is deprecated. Refer to the provider documentation for details.
β”‚
β”‚ (and 3 more similar warnings elsewhere)

Solution:

Standarize README.md for install Terraform section

Add a bullet point to How to install Terraform section of README.md
Just replace See: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli by:
- See: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli

[All Contributors bot] Add Contributors section to README.md

Append these lines into our current README.md file:

## Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

Fix typo in CONTRIBUTING.md

Rename devops-basic word to aws-lab-with-terraform:
image
Also it would be nice if we could check if there has any other typo like this in the CONTRIBUTING.md file. Thanks

[Part5] Create new shell script to automate Web Tier Instance Deployment - Configure Web Instance

Task:

Note that this script will be used in the terraform file for the deployment.

Add Contributing section to README.md

In README.md file add these lines (above the Contributors section):

## Contributing
See: [CONTRIBUTING.md](https://github.com/tungbq/aws-lab-with-terraform/blob/main/CONTRIBUTING.md)

image

[dev] Error: Reference to undeclared resource πŸ›

Running terraform apply
Observed this issue in commit: c61a811

β”‚ Warning: Argument is deprecated
β”‚
β”‚ with aws_eip.nat_gateway_eip_1a,
β”‚ on networking.tf line 99, in resource "aws_eip" "nat_gateway_eip_1a":
β”‚ 99: vpc = true
β”‚
β”‚ use domain attribute instead
β•΅
β•·
β”‚ Error: Reference to undeclared resource
β”‚
β”‚ on networking.tf line 103, in resource "aws_nat_gateway" "public_web_subnet_1a_nat":
β”‚ 103: subnet_id = aws_subnet.nat_gateway_eip_1a.id

[Part3] Create new shell script to automate App Tier Instance Deployment - Test App Tier

Task:

Note that this script will be used in the terraform file for the deployment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.