-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[diagnose] test service connectivity when no VPC endpoint exists (#12)
* [.gitpod] add devcontainer.json and automations.yaml * Fix * Only require private DNS for execute-api, as per our docs * [diagnose] test service connectivity when no VPC endpoint exists This helps for when central VPC endpoints are used, which exist in a separate VPC (not the one you are testing from) * Add execute-api service check for main subnet * Fix binding for api-endpoint and instance-ami * Do not provide a default
- Loading branch information
Showing
5 changed files
with
109 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "Enterprise Deployment Toolkit", | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", | ||
"features": { | ||
"ghcr.io/devcontainers/features/go": { | ||
"version": "1.22.0" | ||
} | ||
}, | ||
"remoteEnv": { | ||
"GIT_EDITOR": "code --wait" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"EditorConfig.EditorConfig", | ||
"golang.go", | ||
"zxh404.vscode-proto3" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
tasks: | ||
goBuild: | ||
name: Build project | ||
command: cd gitpod-network-check && go build ./... | ||
triggeredBy: | ||
- manual | ||
- postEnvironmentStart | ||
|
||
goTest: | ||
name: Run tests | ||
command: cd gitpod-network-check && go test -v ./... | ||
triggeredBy: | ||
- manual | ||
- postEnvironmentStart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
log-level: debug # Options: debug, info, warning, error | ||
region: eu-central-1 | ||
main-subnets: subnet-017c6a80f4879d851, subnet-0215744d52cd1c01f | ||
pod-subnets: subnet-00a118009d1d572a5, subnet-062288af00ba50d86 | ||
main-subnets: subnet-03ed4c7f3f10ee64a, subnet-03ae0d9e3ad063d83 | ||
pod-subnets: subnet-09704642a44a1ae9b, subnet-0fc43a731956656cd | ||
https-hosts: accounts.google.com, https://github.com | ||
# put your custom ami id here if you want to use it, otherwise it will using latest ubuntu AMI from aws | ||
instance-ami: | ||
instance-ami: | ||
api-endpoint: |