Skip to content

Instantly share code, notes, and snippets.

@shivam-deepsource
Created September 29, 2022 05:30
Show Gist options
  • Save shivam-deepsource/cc6f494d91ef4b6f325d89e5dfe7e77f to your computer and use it in GitHub Desktop.
Save shivam-deepsource/cc6f494d91ef4b6f325d89e5dfe7e77f to your computer and use it in GitHub Desktop.

Revisions

  1. shivam-deepsource created this gist Sep 29, 2022.
    23 changes: 23 additions & 0 deletions example.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    terraform {
    required_providers {
    aws = {
    source = "hashicorp/aws"
    version = "~> 4.16"
    }
    }

    required_version = ">= 1.2.0"
    }

    provider "aws" {
    region = "us-west-2"
    }

    resource "aws_instance" "app_server" {
    ami = "ami-830c94e3"
    instance_type = "t2.micro"

    tags = {
    Name = "ExampleAppServerInstance"
    }
    }