Skip to content

Commit

Permalink
Simplify the managed id instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeDupuis committed Sep 9, 2024
1 parent 9cea737 commit 06cbed3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,15 @@ create_vm = true
```
and re-apply terraform: `terraform apply -var-file=var.tfvars`.

This will create the VPS and required roles.
This will create the VPS and required managed identities.

Use `proxy-vps` to proxy all network requests through the vps with sshuttle. sshuttle will likely ask for a sudo password.
`bin/rake test_azure_vm` and `bin/rake test_app_service` will establish a VPN connection to the VM or App service container and run the test suite. You might be prompted for a sudo password.

Then use `bin/rake test_entra_id` to run the tests with Entra ID.

After you are done, running terraform again without the var file (`terraform apply`) it should destroy the VPS.
After you are done, run terraform again without the var file (`terraform apply`) to destroy the VPS and App service application when the VPN starts (sshuttle).

#### Cleanup

Some test copied over from Rails codebase don't clean after themselves. A rake task is provided to empty your containers and keep cost low: `bin/rake flush_test_container`
Some tests copied over from Rails don't clean after themselves. A rake task is provided to empty your containers and keep cost low: `bin/rake flush_test_container`

#### Run without devenv/nix

Expand Down

0 comments on commit 06cbed3

Please sign in to comment.