Skip to content

Commit

Permalink
testing images
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Pouliot committed May 21, 2024
1 parent 3cd4ffe commit 75819f1
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 24 deletions.
6 changes: 3 additions & 3 deletions examples/debian11/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2aa_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2aa_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/debian12/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2aa_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2aa_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/fedoracoreos/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2aa_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2aa_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/rockylinux8/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2aa_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2aa_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/rockylinux9/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2aa_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2aa_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/sles15/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2a_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2a_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/ubuntu2204/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2a_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2a_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
6 changes: 3 additions & 3 deletions examples/ubuntu2404/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
cloud_init_template_path = "${path.cwd}/cloud-init.yaml.tpl"
}

module "gcp-ampere-tau-t2a" {
module "ampere-t2a" {
source = "github.com/amperecomputing/terraform-gcp-ampere-tau-t2a"
project_id = var.project_id
# Optional
Expand All @@ -22,9 +22,9 @@ module "gcp-ampere-tau-t2a" {
cloud_init_template_file = local.cloud_init_template_path
}

output "gcp_ampere_tau_t2a_private_ips" {
output "ampere_t2a_private_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_private_ips
}
output "gcp_ampere_tau_t2a_public_ips" {
output "ampere_t2a_public_ips" {
value = module.gcp-ampere-tau-t2a.ampere_taut2a_public_ips
}
13 changes: 13 additions & 0 deletions images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,16 @@ locals {
}
}
}

data "google_compute_image" fedora_coreos_stable {
family = "fedora-coreos-stable-arm64"
project = "fedora-coreos-cloud"
}
data "google_compute_image" fedora_coreos_testing {
family = "fedora-coreos-testing-arm64"
project = "fedora-coreos-cloud"
}
data "google_compute_image" fedora_coreos_next {
family = "fedora-coreos-next-arm64"
project = "fedora-coreos-cloud"
}

0 comments on commit 75819f1

Please sign in to comment.