Skip to content

Commit

Permalink
Sonar upgrade POC - Updated example README
Browse files Browse the repository at this point in the history
  • Loading branch information
lindanasredin committed Aug 16, 2023
1 parent b7b6fa5 commit 12800dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
11 changes: 9 additions & 2 deletions examples/upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
7 changes: 0 additions & 7 deletions examples/upgrade/modules/sonar_upgrader_python/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
terraform {
required_version = ">= 1.3.1, < 1.6.0"

# required_providers {
# aws = {
# source = "hashicorp/aws"
# version = ">= 4.23.0"
# }
# }
}

0 comments on commit 12800dd

Please sign in to comment.