Skip to content

Commit 308cbb7

Browse files
committed
updated readme and script for azure
1 parent f928bf1 commit 308cbb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

azure/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The storage account name should be in the output. Please use that to configure t
4949

5050
### WrongSecrets-ctf-party
5151

52-
1. Set either a new resource group or use an existing resource group in `main.tf` (it defaults to the existing `OWASP-Projects` resource group). Note that you'll need to find/replace references to "azurerm_resource_group.default" to "arurerm_resource_group.default" if you want to create a new one.
52+
1. Set either a new resource group or use an existing resource group in [`main.tf`](main.tf) (it defaults to the existing `OWASP-Projects` resource group). Note that you'll need to find/replace references to `azurerm_resource_group.default` to `data.arurerm_resource_group.default` if you want to create a new one.
5353
2. check whether you have the right project by doing `az account show` (after `az login`). Want to set the project as your default? Use `az account set --subscription <.id here>`.
5454
3. If not yet enabled, register the required services for the subscription, run:
5555
```shell

azure/build-and-deploy-azure.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ esac
3232

3333
echo "This is a script to bootstrap the configuration. You need to have installed: helm, kubectl, vault, grep, cat, sed, envsubst, and azure cli, and is only tested on mac, Debian and Ubuntu"
3434

35+
echo "obtaining the shared state locally, if you use shared state you will see an error below, there is no problem in that case"
3536
# The storage account to store the terraform state file
3637
export AZ_STORAGE_ACCOUNT="$(terraform -chdir=./shared-state output -raw storage_account_name)"
3738

0 commit comments

Comments
 (0)