Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11458

A managed resource "...""..." has not been declared in the root module

$
0
0

Upgraded to:
Terraform v0.12.29
(+) provider.aws v3.1.0

Keep getting error messages on managed resources.

Wondering if anyone has run into this.

Error: Reference to undeclared resource

on route.tf line 15, in resource “aws_route_table_association” “public-subnet-us-east-2-association”:
15: subnet_id = aws_subnet.public-subnet-us-east-2.id

A managed resource “aws_subnet” “public-subnet-us-east-2” has not been
declared in the root module.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11458

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>