Skip to content

Commit

Permalink
Update the LICENSE SPDX to Apache-2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Jul 7, 2023
1 parent 977220d commit d0910bc
Show file tree
Hide file tree
Showing 25 changed files with 54 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you would like to see the detailed LICENSE click [here](LICENSE).
```text
#
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
#
```

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

provider "ibm" {
Expand Down
5 changes: 5 additions & 0 deletions modules/1_prepare/compare_region.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache-2.0
################################################################

# Parse Input values
eval "$(jq -r '@sh "export vpc_region=\(.vpc_region) pvs_region=\(.pvs_region)"')"

Expand Down
2 changes: 1 addition & 1 deletion modules/1_prepare/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

output "bastion_ip" {
Expand Down
2 changes: 1 addition & 1 deletion modules/1_prepare/prepare.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

provider "ibm" {
Expand Down
2 changes: 1 addition & 1 deletion modules/1_prepare/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

variable "cluster_domain" {}
Expand Down
2 changes: 1 addition & 1 deletion modules/1_prepare/versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/2_support/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

# No Output
2 changes: 1 addition & 1 deletion modules/2_support/support.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

locals {
Expand Down
2 changes: 1 addition & 1 deletion modules/2_support/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

variable "cluster_domain" {
Expand Down
2 changes: 1 addition & 1 deletion modules/2_support/versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/3_interconnect/support.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

locals {
Expand Down
2 changes: 1 addition & 1 deletion modules/3_interconnect/versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/4_worker/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

2 changes: 1 addition & 1 deletion modules/4_worker/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

variable "rhcos_image_name" {
Expand Down
2 changes: 1 addition & 1 deletion modules/4_worker/versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/4_worker/worker.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

data "ibm_pi_catalog_images" "catalog_images" {
Expand Down
2 changes: 1 addition & 1 deletion modules/5_post/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

# No Output
2 changes: 1 addition & 1 deletion modules/5_post/post.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

locals {
Expand Down
2 changes: 1 addition & 1 deletion modules/5_post/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

variable "bastion_public_ip" {
Expand Down
2 changes: 1 addition & 1 deletion modules/5_post/versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

terraform {
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

output "cluster_id" {
Expand Down
43 changes: 26 additions & 17 deletions var.tfvars
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

### IBM Cloud details
ibmcloud_api_key = "<key>"
ibmcloud_region = "<region>"
ibmcloud_zone = "<zone>"
service_instance_id = "<cloud_instance_ID>"
### IBM Cloud
ibmcloud_api_key = "<key>"

# Machine Details
worker = { memory = "16", processors = "0.5", "count" = 1 }
cluster_id_prefix = rdr-multi
ignition_file = "data/worker.ign"
# VPC
vpc_name = "<zone>"
vpc_region = "<region>"
vpc_zone = "<zone>"

# PowerVS
powervs_service_instance_id = "<cloud_instance_ID>"
powervs_region = "<region>"
powervs_zone = "<zone>"

rhcos_image_name = "rhcos-4.13"
# Power Instance Configuration
processor_type = "shared"
system_type = "e980"

# Machine Details
bastion_health_status = "WARNING"
bastion = { memory = "16", processors = "1", "count" = 1 }
worker = { memory = "16", processors = "1", "count" = 1 }

ignition_hostname = demo.ocp-power.xyz
# Images for Power Systems
rhel_image_name = "centos-03112022"
rhcos_image_name = "rhcos-414-92-202306140644-t1"

# PowerVS configuration
processor_type = "shared"
system_type = "s922"
network_name = "ocp-net"
public_key_name = "ex-key"
# Public and Private Key for Bastion Nodes
public_key_file = "data/compute_id_rsa.pub"
private_key_file = "data/compute_id_rsa"
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

variable "ibmcloud_api_key" {
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
# SPDX-License-Identifier: Apache-2.0
################################################################

terraform {
Expand Down

0 comments on commit d0910bc

Please sign in to comment.