diff --git a/iam-saml/README.md b/iam-saml/README.md
index 85d2582..22340fa 100644
--- a/iam-saml/README.md
+++ b/iam-saml/README.md
@@ -40,6 +40,7 @@ No requirements.
|------|---------|
| [aws](#provider\_aws) | n/a |
| [external](#provider\_external) | n/a |
+| [null](#provider\_null) | n/a |
## Modules
@@ -50,6 +51,7 @@ No modules.
| Name | Type |
|------|------|
| [aws_iam_saml_provider.saml](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_saml_provider) | resource |
+| [null_resource.saml_metadata](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [aws_arn.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/arn) | data source |
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
| [aws_iam_policy_document.saml_assume](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
diff --git a/iam-saml/main.tf b/iam-saml/main.tf
index 44dadbe..67cb0c8 100644
--- a/iam-saml/main.tf
+++ b/iam-saml/main.tf
@@ -47,10 +47,11 @@ locals {
}
}
-## resource "null_resource" "saml_metadata" {
-## provisioner "local-exec" {
-## command = "test -d ${path.root}/setup || mkdir ${path.root}/setup"
-## }
+resource "null_resource" "saml_metadata" {
+ provisioner "local-exec" {
+ command = "test -d ${path.root}/setup || mkdir ${path.root}/setup"
+ }
+}
##
## provisioner "local-exec" {
## command = "bash ${path.module}/bin/get-saml-metadata.sh > ${path.root}/setup/metadata.xml"