Skip to content

Commit

Permalink
fix filename
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 25, 2022
1 parent 9315db6 commit cf274db
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion iam-saml/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,20 @@ locals {
saml_ew_url = "https://signin.aws.amazon.com/saml"
saml_gov_url = "https://signin.amazonaws-us-gov.com/saml"
saml_url = local.account_environment == "gov" ? local.saml_gov_url : local.saml_ew_url
saml_metadata_file = "${path.root}/setup/metadata.xml"
saml_metadata_file = "${path.root}/setup/${var.saml_provider_name}.metadata.xml"

base_tags = {
"boc:tf_module_version" = local._module_version
"boc:created_by" = "terraform"
}
}

# resource "random_uuid" "saml_metadata_prefix" {}
# keepers = {
# "saml_provider_name" = var.saml_provider_name
# }
# }

# this creates the directory if it doesn't exist

resource "null_resource" "saml_metadata" {
Expand Down

0 comments on commit cf274db

Please sign in to comment.