diff --git a/examples/upgrade/README.md b/examples/upgrade/README.md index ef9d3aa23..dc409d5e5 100644 --- a/examples/upgrade/README.md +++ b/examples/upgrade/README.md @@ -9,12 +9,19 @@ This procedure consists of: 2. Upgrade 3. Postflight validations +## Prerequisites + +1. Install [git](https://git-scm.com) +2. Install [Terraform](https://developer.hashicorp.com/terraform). Latest Supported Terraform Version is 1.5.x. Using a higher version may result in unexpected behavior or errors. +3. Install [Python 3](https://www.python.org/) +4. Request access to Sonar installation software in S3 bucket [here](https://docs.google.com/forms/d/1xG_TNwAiu_WGCYoXs-YfV3Ds3nEMb60xlVBojoOXCJc) + ## Running the Example -Enter the list of DSF Hubs and Agentless Gateways in the [main.tf](./main.tf) file, then run the example as follows: +Enter the details of DSF Hubs and Agentless Gateways in the [main.tf](./main.tf) file, then run the example as follows: ```bash terraform apply ``` -If re-applying is necessary for some reason, from the second apply onward, run the example as follows: +To re-apply when there are no Terraform changes (the Terraform infrastructure matches the configuration), run the example as follows: ```bash terraform apply -replace="module.sonar_upgrader.null_resource.sonar_upgrader" ``` diff --git a/examples/upgrade/modules/sonar_upgrader_python/versions.tf b/examples/upgrade/modules/sonar_upgrader_python/versions.tf index 7dbf64380..de83c713b 100644 --- a/examples/upgrade/modules/sonar_upgrader_python/versions.tf +++ b/examples/upgrade/modules/sonar_upgrader_python/versions.tf @@ -1,10 +1,3 @@ terraform { required_version = ">= 1.3.1, < 1.6.0" - - # required_providers { - # aws = { - # source = "hashicorp/aws" - # version = ">= 4.23.0" - # } - # } }