fix: add random name to project (#65)

Signed-off-by: matttrach <matt.trachier@suse.com>
This commit is contained in:
Matt Trachier 2024-05-03 14:43:21 -05:00 committed by GitHub
parent 560f073362
commit 08163c2fc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
33 changed files with 35 additions and 33 deletions

View File

@ -8,6 +8,7 @@ on:
env: env:
AWS_REGION: us-west-1 AWS_REGION: us-west-1
AWS_ROLE: arn:aws:iam::270074865685:role/terraform-module-ci-test AWS_ROLE: arn:aws:iam::270074865685:role/terraform-module-ci-test
ZONE: ${{secrets.ZONE}}
permissions: write-all permissions: write-all
@ -66,7 +67,8 @@ jobs:
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_OWNER: rancher GITHUB_OWNER: rancher
IDENTIFIER: ${{github.job}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}} IDENTIFIER: ${{github.run_id}}
ZONE: ${{env.ZONE}}
- name: 'ImageCheck' - name: 'ImageCheck'
run: ./validate-image.sh run: ./validate-image.sh
if: steps.release-please.outputs.pr if: steps.release-please.outputs.pr

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "basic" example = "basic"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "directnetworkdomain" example = "directnetworkdomain"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "directnetworkonly" example = "directnetworkonly"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "directssheip" example = "directssheip"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "directsshsubnet" example = "directsshsubnet"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "indirectdomain" example = "indirectdomain"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "indirect" example = "indirect"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "basic" category = "basic"
example = "basic" example = "basic"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" # must be within the vpc cidr range, AWS reserves .225-.229 and .238 subnet_cidr = "10.0.255.224/28" # must be within the vpc cidr range, AWS reserves .225-.229 and .238

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "liberty7" example = "liberty7"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "liberty-7" image = "liberty-7"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "rhel8" example = "rhel8"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "rhel-8" image = "rhel-8"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "rhel8cis" example = "rhel8cis"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "rhel-8-cis" image = "rhel-8-cis"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "rhel9" example = "rhel9"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "rhel-9" image = "rhel-9"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "rocky8" example = "rocky8"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "rocky-8" image = "rocky-8"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "slemicro55byos" example = "slemicro55byos"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sle-micro-55-byos" # BYOS = Bring Your Own Subscription, only use this if you have a subscription with SUSE or plan to get one directly rather than going through AWS image = "sle-micro-55-byos" # BYOS = Bring Your Own Subscription, only use this if you have a subscription with SUSE or plan to get one directly rather than going through AWS
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "slemicro55llc" example = "slemicro55llc"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sle-micro-55-llc" # llc refers to SUSE subsidiary incorporation type, in general the LLC images are used in the US and Asia-Pacific image = "sle-micro-55-llc" # llc refers to SUSE subsidiary incorporation type, in general the LLC images are used in the US and Asia-Pacific
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "slemicro55ltd" example = "slemicro55ltd"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sle-micro-55-ltd" # ltd refers to SUSE subsidiary incorporation type, in general the LTD images are used in the Europe, the Middle East, and Africa (EMEA) image = "sle-micro-55-ltd" # ltd refers to SUSE subsidiary incorporation type, in general the LTD images are used in the Europe, the Middle East, and Africa (EMEA)
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "sles15" example = "sles15"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "sles15byos" example = "sles15byos"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sles-15-byos" # BYOS = Bring Your Own Subscription, only use this if you have a subscription with SUSE or plan to get one directly rather than going through AWS image = "sles-15-byos" # BYOS = Bring Your Own Subscription, only use this if you have a subscription with SUSE or plan to get one directly rather than going through AWS
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "sles15cis" example = "sles15cis"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "sles-15-cis" image = "sles-15-cis"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "ubuntu20" example = "ubuntu20"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "ubuntu-20" image = "ubuntu-20"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -12,7 +12,7 @@ locals {
category = "os" category = "os"
example = "ubuntu22" example = "ubuntu22"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
username = "tf-${local.identifier}" username = "tf-${local.identifier}"
image = "ubuntu-22" image = "ubuntu-22"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254

View File

@ -13,7 +13,7 @@ locals {
category = "region" category = "region"
example = "useast1" example = "useast1"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -13,7 +13,7 @@ locals {
category = "region" category = "region"
example = "useast2" example = "useast2"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -13,7 +13,7 @@ locals {
category = "region" category = "region"
example = "uswest1" example = "uswest1"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -13,7 +13,7 @@ locals {
category = "region" category = "region"
example = "uswest2" example = "uswest2"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "select" category = "select"
example = "server" example = "server"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"
} }

View File

@ -12,7 +12,7 @@ locals {
category = "select" category = "select"
example = "server" example = "server"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "size" category = "size"
example = "large" example = "large"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "size" category = "size"
example = "medium" example = "medium"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "size" category = "size"
example = "small" example = "small"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "size" category = "size"
example = "xl" example = "xl"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"

View File

@ -12,7 +12,7 @@ locals {
category = "size" category = "size"
example = "xxl" example = "xxl"
email = "terraform-ci@suse.com" email = "terraform-ci@suse.com"
project_name = "tf-${substr(md5(join("-", [local.category, local.example])), 0, 5)}-${local.identifier}" project_name = "tf-${substr(md5(join("-", [local.category, local.example, random_pet.server.id])), 0, 5)}-${local.identifier}"
image = "sles-15" image = "sles-15"
vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254 vpc_cidr = "10.0.255.0/24" # gives 256 usable addresses from .1 to .254, but AWS reserves .1 to .4 and .255, leaving .5 to .254
subnet_cidr = "10.0.255.224/28" subnet_cidr = "10.0.255.224/28"