add comment to use the registry in examples

Signed-off-by: matttrach <matttrach@gmail.com>
This commit is contained in:
matttrach 2023-10-05 17:16:33 -05:00
parent eb8f425555
commit f6a0cefcdf
No known key found for this signature in database
GPG Key ID: C00467FDE2D0231F
23 changed files with 56 additions and 33 deletions

View File

@ -28,7 +28,8 @@ module "TestBasic" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,7 +29,8 @@ module "TestRhel8" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,7 +29,8 @@ module "TestRhel8Cis" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,7 +29,8 @@ module "TestRhel8" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -30,7 +30,8 @@ module "TestRocky8" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,7 +29,8 @@ module "TestSles15" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,7 +29,8 @@ module "TestSles15Cis" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -28,7 +28,8 @@ module "TestUbuntu20" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,7 +29,8 @@ module "TestUbuntu22" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -1,4 +1,5 @@
module "TestSelectImage" {
source = "../../../"
image = "sles-15"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = "sles-15"
}

View File

@ -29,8 +29,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag in AWS
module "TestUseast1" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,8 +29,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestUseast2" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,8 +29,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestUswest1" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -29,8 +29,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestUswest2" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -27,7 +27,8 @@ module "TestEgress" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -27,7 +27,8 @@ module "TestInternal" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -27,7 +27,8 @@ module "TestPublic" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -27,7 +27,8 @@ module "TestSpecific" {
depends_on = [
module.aws_access,
]
source = "../../../"
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -27,8 +27,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestLarge" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -27,8 +27,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestMedium" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -26,8 +26,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestSmall" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -26,8 +26,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestXl" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name

View File

@ -26,8 +26,9 @@ module "aws_access" {
# aws_access returns a security group object from the aws api, but the name attribute isn't the same as the Name tag
# this is an rare example of when the name attribute is different than the Name tag
module "TestXxl" {
depends_on = [module.aws_access]
source = "../../../"
depends_on = [module.aws_access]
source = "../../../" # change this to "rancher/server/aws" per https://registry.terraform.io/modules/rancher/server/aws/latest
# version = "v0.0.15" # when using this example you will need to set the version
image = local.image
owner = local.email
name = local.name