Skip to main content
added 57 characters in body
Source Link
Evan Carroll
  • 2.6k
  • 6
  • 33
  • 81

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵

this is the hdl I'm using

resource "aws_internet_gateway_attachment" "example" {
  internet_gateway_id = aws_internet_gateway.gw.id
  vpc_id              = aws_vpc.main.id
}

I'm using version 3.75.1 of the AWS provider.

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵

this is the hdl I'm using

resource "aws_internet_gateway_attachment" "example" {
  internet_gateway_id = aws_internet_gateway.gw.id
  vpc_id              = aws_vpc.main.id
}

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵

this is the hdl I'm using

resource "aws_internet_gateway_attachment" "example" {
  internet_gateway_id = aws_internet_gateway.gw.id
  vpc_id              = aws_vpc.main.id
}

I'm using version 3.75.1 of the AWS provider.

added 197 characters in body
Source Link
Evan Carroll
  • 2.6k
  • 6
  • 33
  • 81

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵

this is the hdl I'm using

resource "aws_internet_gateway_attachment" "example" {
  internet_gateway_id = aws_internet_gateway.gw.id
  vpc_id              = aws_vpc.main.id
}

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵

this is the hdl I'm using

resource "aws_internet_gateway_attachment" "example" {
  internet_gateway_id = aws_internet_gateway.gw.id
  vpc_id              = aws_vpc.main.id
}
Source Link
Evan Carroll
  • 2.6k
  • 6
  • 33
  • 81

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment"

Why do I get this error with Terraform,

The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".

You can see the resource aws_internet_gateway_attachment defined in the docs. The full error is,

│ Error: Invalid resource type
│ 
│   on main.tf line 26, in resource "aws_internet_gateway_attachment" "example":
│   26: resource "aws_internet_gateway_attachment" "example" {
│ 
│ The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
╵