You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples directory contains examples that have an outputs file. In the file for the PostgreSQL example the outputs are named:
# aws_security_group
output "security_group_id" {
description = "The security group ID of the cluster"
value = module.aurora.security_group_id
}
The actual outputs for the module are appended with this_:
# aws_security_group
output "this_security_group_id" {
description = "The security group ID of the cluster"
value = local.rds_security_group_id
}
Either the outputs need to have the this_ removed from the output name or the examples needed to amended to include this_ in the name like:
# aws_security_group
output "security_group_id" {
description = "The security group ID of the cluster"
value = module.aurora.this_security_group_id
}
⚠️ Note
Before you submit an issue, please perform the following first:
Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists
Versions
Terraform: 1.0.0
Provider(s): aws
Module: v5.2.0
Reproduction
Steps to reproduce the behavior:
Clone the examples/postgresql and run this configuration. terraform validate should throw an error saying that an object does not exist.
Change the outputs.tf file to include this_ in the names of the outputs and run it again.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
The examples directory contains examples that have an outputs file. In the file for the PostgreSQL example the outputs are named:
The actual outputs for the module are appended with
this_
:Either the outputs need to have the
this_
removed from the output name or the examples needed to amended to includethis_
in the name like:Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Reproduction
Steps to reproduce the behavior:
Clone the examples/postgresql and run this configuration.
terraform validate
should throw an error saying that an object does not exist.Change the outputs.tf file to include
this_
in the names of the outputs and run it again.The text was updated successfully, but these errors were encountered: