github.com/opentofu/opentofu@v1.7.1/internal/tofumigrate/testdata/mention/main.tf (about)

     1  terraform {
     2    required_providers {
     3      aws = {
     4        source  = "registry.terraform.io/hashicorp/aws"
     5      }
     6    }
     7  }
     8  
     9  provider "random" {}
    10  provider "aws" {}
    11  
    12  resource "random_id" "example" {
    13    byte_length = 8
    14  }
    15  
    16  resource "aws_instance" "example" {
    17    ami           = "abc"
    18    instance_type = "t2.micro"
    19  }