Giter VIP home page Giter VIP logo

terraform-beginner-to-advanced-resource's Introduction

HashiCorp Certified Terraform: Associate

This Git repository contains all the code files used throughout the HashiCorp Certified Terraform Associate course by Zeal Vora.

We also have a new Discord community for any support related discussion as well as to connect to other students doing the same course. Feel free to join the community.

https://kplabs.in/chat

Welcome to the community again, and we look forward to seeing you certified! :)

terraform-beginner-to-advanced-resource's People

Contributors

pswalia2u avatar samgovier avatar sathishdstrom avatar vk31032022 avatar zealvora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-beginner-to-advanced-resource's Issues

graph.tf has deprecated element

resource "aws_eip" "lb" {
instance = aws_instance.myec2.id
vpc = true
}

you get this message:
"vpc" is deprecated

removing vpc = true or commenting it, removed the message

In terraform_remote_state we got duplicate files in security part with remote-state.tf and remote_state.tf

https://github.com/zealvora/terraform-beginner-to-advanced-resource/tree/master/Section%205%20-%20Remote%20State%20Management/remote-states/security-project

In terraform_remote_state explanation we got duplicate files in security part with remote-state.tf and remote_state.tf

remote-state.tf

`data "terraform_remote_state" "eip" {
backend = "s3"

config = {
bucket = "kplabs-terraform-backend"
key = "network/eip.tfstate"
region = "us-east-1"
}
}

remote_state.tf

data "terraform_remote_state" "eip" {
backend = "s3"
config = {
bucket = "kplabs-terraform-backend"
key = "network/eip.tfstate"
region = "us-east-1"
}
}`

Fetching Data from Maps and List Variable Video

On the "Fetching Data from Maps and List Variable" Video. With the variables. tf file you only have the List Example. Might be helpful if you also add the Map code as well which is aligned with the video:

resource "aws_instance" "myec2" {
ami = "ami-082b5a644766e0e6f"
instance_type = var.types["ap-south-1"]

aws_ami for ubuntu is not working

While running this code I am always getting this error, can you help for this.

provider "aws"{
region = "ap-south-1"
access_key = "key"
secret_key = "kay"
}

data "aws_ami" "ubuntu"{
most_recent = true
owners = ["099720109477"]

filter {
    name = "name"
    #values = ["amzn2-ami-hvm-*-x86_64-gp2"]
    values = ["ubuntu/images/ubuntu-*-*-amd64-server-*"]
        }

}

resource "aws_instance" "new_vm" {
ami = "data.aws_ami.ubuntu.id"
instance_type = "t2.micro"
}

Error:

aws_instance.new_vm: Creating...

  1. Sometime:
    │ Error: Error launching source instance: InvalidAMIID.Malformed: Invalid id: "aws_ami.ubuntu.id" (expecting "ami-...")
    │ status code: 400, request id: be8982b3-11c5-4159-9375-654814ba2b57

    │ with aws_instance.new_vm,
    │ on data_source.tf line 28, in resource "aws_instance" "new_vm":
    │ 28: resource "aws_instance" "new_vm" {

ws_instance.new_vm: Creating...

  1. sometime
    │ Error: Error launching source instance: UnsupportedOperation: AMI 'ami-0011ac562eeee4a55' with an instance-store root device is not supported for the instance type 't2.medium'.
    │ status code: 400, request id: 328c37c1-848f-45ab-ae3f-3202a8fc899b

    │ with aws_instance.new_vm,
    │ on data_source.tf line 18, in resource "aws_instance" "new_vm":
    │ 18: resource "aws_instance" "new_vm" {

Thank you

Key pair creation steps

Hi,

It would be helpful if the instruction is given to create a key-value pair and how to update the key-value pair in AWS?

Files /Folder organization

Great course. Would be great if we get feedback about the trainning. I am stuck on chapter 4 with the files structure.

attributes.tf vpc=true depricated

Response from terraform plan:

Warning: Argument is deprecated

│ with aws_eip.lb,
│ on attributes.tf line 16, in resource "aws_eip" "lb":
│ 16: vpc = true

│ use domain attribute instead

│ (and one more similar warning elsewhere)

AWS code (as at 11Jun2023):

resource "aws_eip" "lb" {
instance = aws_instance.web.id
domain = "vpc"
}

Terraform remote exec refusing to fail

Whenever I run the code in section 3 that explains how to artificially fail the deployment, the actual deployment just keeps on printing logs like it is trying to install. I had it running for like 7 mins, it still refuses to fail the deployment.

Please look into this

Organizing files within a directory structure

I'd be great if instead of having us create the folder structure manually for each course's specific files, that they just existed within folders already within GitHub. That way we could just download from the repo all the needed files with them organized by course already. If possible, maybe i'll just make a pull request with the layout already created as an example.

Error with Terraform Init. Error message saying: Could not download module "vpc" (infra.tf:6) source code from │ "git::https://github.com/terraform-aws-modules/terraform-aws-vpc?ref=v5.1.2": error downloading │ 'https://github.com/terraform-aws-modules/terraform-aws-vpc?ref=v5.1.2': git must be available and on the PATH.

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.