Anujsewani / Terraform_Tasks

0 stars 0 forks source link

Terraform Intermediate Task #2

Open Anujsewani opened 6 months ago

Anujsewani commented 6 months ago

Intermediate Level:

  1. VPC and Subnets:

    • [x] Set up a custom VPC with multiple public and private subnets using Terraform.
    • [x] Configure route tables and associate them with the corresponding subnets.
  2. IAM Roles and Policies:

    • [x] Implement IAM roles and policies to enhance security.
    • [x] Attach an IAM role to the EC2 instance from Task 1 and grant necessary permissions.
  3. Autoscaling Group:

    • [x] Create an Autoscaling Group with Launch Configuration for scalability.
    • [x] Implement health checks and configure minimum and maximum instance counts.
  4. RDS Database:

    • [x] Provision an RDS database instance with Terraform.
    • [x] Explore parameter groups and security group configurations for the RDS instance.
Anujsewani commented 6 months ago

need help in architecture diagram

Anujsewani commented 6 months ago

review intermediate.drawio.png

Anujsewani commented 5 months ago

Error: creating Auto Scaling Group (terraform-asg): AlreadyExists: AutoScalingGroup by this name already exists - A group with the name terraform-asg already exists │ status code: 400, request id: aa4c3534-660d-467e-b00b-f2df0416bfc0 │ │ with aws_autoscaling_group.terraform[0], │ on autoscalingInstance.tf line 1, in resource "aws_autoscaling_group" "terraform": │ 1: resource "aws_autoscaling_group" "terraform" {