Skip to content

Commit

Permalink
Sonar upgrade POC - Deleted example's variables and outputs files
Browse files Browse the repository at this point in the history
  • Loading branch information
lindanasredin committed Aug 15, 2023
1 parent f50f014 commit 0ae8719
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 208 deletions.
41 changes: 34 additions & 7 deletions examples/upgrade/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,48 @@ module "sonar_upgrader"{
source = "./modules/sonar_upgrader_python"
agentless_gws = [
{
"ip" = "10.0.1.1"
"ip" = "10.0.1.231"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/home/ssh_key1.pem"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
"proxy" = {
"ip" = "200.1.1.1"
"ip" = "52.8.79.39"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/home/ssh_key2.pem"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
}
},
{
"ip" = "10.0.1.223"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
"proxy" = {
"ip" = "52.8.79.39"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
}
},
{
"ip" = "10.0.1.109"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
"proxy" = {
"ip" = "52.8.79.39"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
}
}
]
dsf_hubs = [
{
"ip" = "52.8.79.39"
"ssh_user" = "ec2-user"
"ssh_private_key_file_path" = "/Users/linda.nasredin/cnc_workspace/dsfkit/examples/poc/sonar_basic_deployment/ssh_keys/dsf_ssh_key-default"
}
]

target_version = "4.12.0.10.0"
target_version = "4.13.0.10.0-rc5"
# options
run_preflight_validations = true
run_postflight_validations = true
custom_validations_scripts = ["validation1", "validation2"]
run_upgrade = false
custom_validations_scripts = ["validation1"]
run_upgrade = true
}
72 changes: 0 additions & 72 deletions examples/upgrade/outputs.tf

This file was deleted.

129 changes: 0 additions & 129 deletions examples/upgrade/variables.tf

This file was deleted.

0 comments on commit 0ae8719

Please sign in to comment.