Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ jobs:
}
EOF

terraform -chdir="$tmpdir" init -backend=false -input=false
if terraform -chdir="$tmpdir" validate -no-color >"$tmpdir/validate.out" 2>&1; then
if terraform -chdir="$tmpdir" init -backend=false -input=false >"$tmpdir/validate.out" 2>&1 &&
terraform -chdir="$tmpdir" validate -no-color >>"$tmpdir/validate.out" 2>&1; then
echo "expected enable_function_url to be rejected" >&2
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data "aws_partition" "current" {}
locals {
account_id = data.aws_caller_identity.current.account_id
partition = data.aws_partition.current.partition
region = data.aws_region.current.region
region = data.aws_region.current.name

ssm_parameter_arns = [
for path in [
Expand Down
Loading