We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bbb79b commit e019891Copy full SHA for e019891
main.tf
@@ -1,5 +1,7 @@
1
data "aws_region" "current" {
2
count = var.create ? 1 : 0
3
+
4
+ region = var.region
5
}
6
data "aws_partition" "current" {
7
@@ -494,7 +496,8 @@ locals {
494
496
data "aws_subnet" "this" {
495
497
count = local.create_security_group ? 1 : 0
498
- id = element(var.vpc_options.subnet_ids, 0)
499
500
+ id = element(var.vpc_options.subnet_ids, 0)
501
502
503
resource "aws_security_group" "this" {
0 commit comments