Browse Source

Fixes source of common services modules.

Fred Damstra 5 years ago
parent
commit
bfd862a953

+ 1 - 1
common/aws/mdr-common-services/000-mdradmin-bootstrap/main.tf

@@ -1,5 +1,5 @@
 module "mdradmin-bootstrap" {
-  source            = "../../../../modules/iam/bootstrap_mdradmin_policies/0.1"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/iam/bootstrap_mdradmin_policies?ref=v0.0.1"
   users             = [ "MDRAdmin" ]
   bucket_name       = local.name
   lock_table_name   = local.name

+ 7 - 0
common/aws/mdr-common-services/001-tfstate/README.md

@@ -0,0 +1,7 @@
+To use the files in this directory, you'll need to set your profile.
+
+e.g.
+```
+AWS_SDK_LOAD_CONFIG=1 AWS_PROFILE="commercial-terraformer" terraform plan
+```
+

+ 1 - 1
common/aws/mdr-common-services/001-tfstate/main.tf

@@ -1,5 +1,5 @@
 module "tfstate" {
-  source            = "../../../../modules/tfstate/tfstate-s3/0.1"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/tfstate/tfstate-s3?ref=v0.0.2"
   bucket_name       = local.name
   lock_table_name   = local.name
 }

+ 1 - 1
common/aws/mdr-common-services/005-iam/okta_saml.tf

@@ -6,7 +6,7 @@
 
 
 module "common_services_roles" {
-  source        = "../../../../modules/iam/common_services_roles/0.1"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/iam/common_services_role?ref=v0.0.1"
   account_alias = "afs-mdr-common-services"
   okta_app      = "AWS - Commercial"
 }