diff --git a/.github/workflows/dsf_poc_cli.yml b/.github/workflows/dsf_poc_cli.yml index 197e8bbff..3737996bc 100644 --- a/.github/workflows/dsf_poc_cli.yml +++ b/.github/workflows/dsf_poc_cli.yml @@ -64,7 +64,7 @@ jobs: name: '${{ matrix.name }}' runs-on: ubuntu-latest env: - EXAMPLE_DIR: ./examples/poc/dsf_deployment + EXAMPLE_DIR: ./examples/aws/poc/dsf_deployment AWS_REGION: eu-west-2 TF_VAR_enable_sonar: ${{ matrix.enable_sonar }} TF_VAR_enable_dam: ${{ matrix.enable_dam }} diff --git a/.github/workflows/dsf_poc_cli_azure.yml b/.github/workflows/dsf_poc_cli_azure.yml index 50ae2b1b1..ee202c095 100644 --- a/.github/workflows/dsf_poc_cli_azure.yml +++ b/.github/workflows/dsf_poc_cli_azure.yml @@ -49,7 +49,7 @@ jobs: name: '${{ matrix.name }}' runs-on: ubuntu-latest env: - EXAMPLE_DIR: ./examples/azure/dsf_deployment + EXAMPLE_DIR: ./examples/azure/poc/dsf_deployment environment: test # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest diff --git a/.github/workflows/dsf_single_account_cli.yml b/.github/workflows/dsf_single_account_cli.yml index f092fa40c..5cc60bacf 100644 --- a/.github/workflows/dsf_single_account_cli.yml +++ b/.github/workflows/dsf_single_account_cli.yml @@ -35,7 +35,7 @@ env: TF_CLI_ARGS: "-no-color" TF_INPUT: 0 TF_VAR_gw_count: 1 - EXAMPLE_DIR: ./examples/installation/dsf_single_account_deployment + EXAMPLE_DIR: ./examples/aws/installation/dsf_single_account_deployment AWS_REGION: ap-southeast-1 AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/nightly_sonar_poc_basic_cli.yml b/.github/workflows/nightly_sonar_poc_basic_cli.yml index 67a1bb7ae..81cafee20 100644 --- a/.github/workflows/nightly_sonar_poc_basic_cli.yml +++ b/.github/workflows/nightly_sonar_poc_basic_cli.yml @@ -35,7 +35,7 @@ env: TF_CLI_ARGS: "-no-color" TF_INPUT: 0 TF_VAR_gw_count: 2 - EXAMPLE_DIR: ./examples/poc/sonar_basic_deployment + EXAMPLE_DIR: ./examples/aws/poc/sonar_basic_deployment AWS_REGION: eu-west-2 AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/plan_cli.yml b/.github/workflows/plan_cli.yml index 9e94ddeee..b1f14c7f3 100644 --- a/.github/workflows/plan_cli.yml +++ b/.github/workflows/plan_cli.yml @@ -37,7 +37,7 @@ on: paths-ignore: - '.github/**' - 'modules/aws/sonar-upgrader/**' - - 'examples/sonar_upgrade/*' + - 'examples/aws/sonar_upgrade/*' - 'installer_machine/*' - 'dsf_instances_permissions_samples/*' - 'permissions_samples/*' @@ -62,7 +62,7 @@ jobs: matrix: include: - name: Azure - POC - DSF - example: ./examples/azure/dsf_deployment + example: ./examples/azure/poc/dsf_deployment terraformvars: | resource_group_location = "East US" tarball_location = { @@ -72,19 +72,19 @@ jobs: az_blob = "dummy-blob" } - name: AWS - POC - DSF - example: ./examples/poc/dsf_deployment + example: ./examples/aws/poc/dsf_deployment terraformvars: | dam_license="license.mprv" - name: AWS - POC - Sonar Basic - example: ./examples/poc/sonar_basic_deployment + example: ./examples/aws/poc/sonar_basic_deployment - name: AWS - POC - Sonar HADR - example: ./examples/poc/sonar_hadr_deployment + example: ./examples/aws/poc/sonar_hadr_deployment - name: AWS - Installation - Sonar Single Account - example: ./examples/installation/sonar_single_account_deployment + example: ./examples/aws/installation/sonar_single_account_deployment - name: AWS - Installation - Sonar Multi Account - example: ./examples/installation/sonar_multi_account_deployment + example: ./examples/aws/installation/sonar_multi_account_deployment - name: AWS - Installation - DSF Single Account - example: ./examples/installation/dsf_single_account_deployment + example: ./examples/aws/installation/dsf_single_account_deployment name: '${{ matrix.name }}' env: diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index 0ca775a83..2cde9ea84 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -31,7 +31,7 @@ on: - 'dev' paths: - 'modules/aws/sonar-upgrader/*' - - 'examples/sonar_upgrade/*' + - 'examples/aws/sonar_upgrade/*' env: TF_CLI_ARGS: "-no-color" @@ -61,8 +61,8 @@ jobs: name: '${{ matrix.name }}' runs-on: ubuntu-latest env: - DEPLOYMENT_EXAMPLE_DIR: ./examples/poc/dsf_deployment - UPGRADE_EXAMPLE_DIR: ./examples/sonar_upgrade + DEPLOYMENT_EXAMPLE_DIR: ./examples/aws/poc/dsf_deployment + UPGRADE_EXAMPLE_DIR: ./examples/aws/sonar_upgrade AWS_REGION: eu-west-2 SONAR_TARGET_VERSION: 4.13.0.10.0 TF_VAR_enable_sonar: ${{ matrix.enable_sonar }} diff --git a/.github/workflows/sonar_multi_account_cli.yml b/.github/workflows/sonar_multi_account_cli.yml index 3126b8d10..a73478628 100644 --- a/.github/workflows/sonar_multi_account_cli.yml +++ b/.github/workflows/sonar_multi_account_cli.yml @@ -33,7 +33,7 @@ env: TF_CLI_ARGS: "-no-color" TF_INPUT: 0 TF_VAR_gw_count: 1 - EXAMPLE_DIR: ./examples/installation/sonar_multi_account_deployment + EXAMPLE_DIR: ./examples/aws/installation/sonar_multi_account_deployment AWS_REGION: ap-southeast-1 AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/sonar_poc_cli.yml b/.github/workflows/sonar_poc_cli.yml index dad830742..c342916e7 100644 --- a/.github/workflows/sonar_poc_cli.yml +++ b/.github/workflows/sonar_poc_cli.yml @@ -37,8 +37,8 @@ on: - 'modules/aws/rds-mysql-db/*' - 'modules/null/federation/*' - 'modules/null/hadr/*' - - 'examples/poc/sonar_basic_deployment/*' - - 'examples/poc/sonar_hadr_deployment/*' + - 'examples/aws/poc/sonar_basic_deployment/*' + - 'examples/aws/poc/sonar_hadr_deployment/*' pull_request: types: @@ -57,8 +57,8 @@ on: - 'modules/aws/rds-mysql-db/*' - 'modules/null/federation/*' - 'modules/null/hadr/*' - - 'examples/poc/sonar_basic_deployment/*' - - 'examples/poc/sonar_hadr_deployment/*' + - 'examples/aws/poc/sonar_basic_deployment/*' + - 'examples/aws/poc/sonar_hadr_deployment/*' env: TF_CLI_ARGS: "-no-color" @@ -77,12 +77,12 @@ jobs: matrix: include: - workspace: basic_cli-${{ github.run_number }}-${{ github.run_attempt }} - example_dir: ./examples/poc/sonar_basic_deployment + example_dir: ./examples/aws/poc/sonar_basic_deployment aws_region: eu-west-2 hub_output: '.dsf_hub.value.public_dns' gw_output: '.dsf_agentless_gw.value."agentless-gw-0".private_ip' - workspace: hadr_cli-${{ github.run_number }}-${{ github.run_attempt }} - example_dir: ./examples/poc/sonar_hadr_deployment + example_dir: ./examples/aws/poc/sonar_hadr_deployment aws_region: eu-west-1 hub_output: '.dsf_hubs.value.main.public_dns' gw_output: '.dsf_agentless_gw.value."agentless-gw-0".main.private_ip' diff --git a/.github/workflows/sonar_single_account_cli.yml b/.github/workflows/sonar_single_account_cli.yml index 1cfb18ba7..5a2527514 100644 --- a/.github/workflows/sonar_single_account_cli.yml +++ b/.github/workflows/sonar_single_account_cli.yml @@ -46,7 +46,7 @@ jobs: matrix: include: - name: single account - example_dir: examples/installation/sonar_single_account_deployment + example_dir: examples/aws/installation/sonar_single_account_deployment target_dir: single_account name: '${{ matrix.name }} ${{ inputs.branch }}' diff --git a/.github/workflows/sonar_upgrade.yml b/.github/workflows/sonar_upgrade.yml index 677197010..a8fbd1196 100644 --- a/.github/workflows/sonar_upgrade.yml +++ b/.github/workflows/sonar_upgrade.yml @@ -53,8 +53,8 @@ jobs: name: '${{ matrix.name }}' runs-on: ubuntu-latest env: - DEPLOYMENT_EXAMPLE_DIR: ./examples/poc/dsf_deployment - UPGRADE_EXAMPLE_DIR: ./examples/sonar_upgrade + DEPLOYMENT_EXAMPLE_DIR: ./examples/aws/poc/dsf_deployment + UPGRADE_EXAMPLE_DIR: ./examples/aws/sonar_upgrade AWS_REGION: eu-west-2 SONAR_TARGET_VERSION: 4.13.0.10.0 TF_VAR_enable_sonar: ${{ matrix.enable_sonar }} diff --git a/.github/workflows/sonar_upgrade_flow.yml b/.github/workflows/sonar_upgrade_flow.yml index c39022336..4b1c7e737 100644 --- a/.github/workflows/sonar_upgrade_flow.yml +++ b/.github/workflows/sonar_upgrade_flow.yml @@ -19,7 +19,7 @@ on: - 'dev' paths: - 'modules/aws/sonar-upgrader/**' - - 'examples/sonar_upgrade/*' + - 'examples/aws/sonar_upgrade/*' pull_request: types: @@ -30,7 +30,7 @@ on: - 'dev' paths: - 'modules/aws/sonar-upgrader/**' - - 'examples/sonar_upgrade/*' + - 'examples/aws/sonar_upgrade/*' permissions: contents: read diff --git a/README.md b/README.md index 03a999293..b6975715c 100644 --- a/README.md +++ b/README.md @@ -484,73 +484,73 @@ For more details about each example, click on the example name.