Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor away from aws blueprints + add custom vpc_cni #96

Merged
merged 48 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
9a8be77
add junk dir
zack-is-cool Mar 3, 2023
60f8e42
cleanup and add a bunch of logic..
zack-is-cool Mar 3, 2023
bc09c71
Change variable name
zack-is-cool Mar 7, 2023
33074d4
ALL WIP
zack-is-cool Mar 8, 2023
191ed97
make comments more better
zack-is-cool Mar 14, 2023
e01bc80
add source
zack-is-cool Mar 14, 2023
f07bf6e
refactoring from blueprints logic
zack-is-cool Mar 15, 2023
4cd2b97
working cluster deployment
zack-is-cool Mar 16, 2023
8f26dc3
fix outputs that are conditional
zack-is-cool Mar 16, 2023
9326926
depends_on needed for something that isn't known until after apply
zack-is-cool Mar 16, 2023
5dddac2
cleanup vpc-cni custom config
zack-is-cool Mar 16, 2023
9734959
cleanup comments
zack-is-cool Mar 17, 2023
ad606c8
make input cleaner
zack-is-cool Mar 17, 2023
f24ee3e
cleanup junk
zack-is-cool Mar 17, 2023
996861b
Merge branch 'main' into refactor_from_blueprints
zack-is-cool Mar 17, 2023
eb3f5e7
update for new vars
zack-is-cool Mar 17, 2023
3bdd89a
fix stuff
zack-is-cool Mar 17, 2023
451c314
fix var
zack-is-cool Mar 17, 2023
09d9297
why not both?
zack-is-cool Mar 17, 2023
2e79dd7
fix input vars
zack-is-cool Mar 17, 2023
66e73b9
fix var
zack-is-cool Mar 17, 2023
6afecc4
MORE fixes
zack-is-cool Mar 17, 2023
72901bd
fix input var
zack-is-cool Mar 17, 2023
4c1a0c9
kinda weird fix
zack-is-cool Mar 17, 2023
b74e05a
more var more fix
zack-is-cool Mar 17, 2023
d36513f
buggy
zack-is-cool Mar 18, 2023
9a204e4
1 more
zack-is-cool Mar 18, 2023
a65e390
make list
zack-is-cool Mar 18, 2023
4c40878
simplify
zack-is-cool Mar 21, 2023
5112a73
safety checks
zack-is-cool Mar 21, 2023
b4089fc
update
zack-is-cool Mar 21, 2023
c93c55e
Merge branch 'main' into calico_cni
zack-is-cool Mar 21, 2023
f11cf76
just ensure that the code deploys
zack-is-cool Mar 21, 2023
6a950d2
update comment
zack-is-cool Mar 21, 2023
1aa2d67
determine if aws-auth configmap should be created
zack-is-cool Mar 22, 2023
e9688b7
remove unnecessary inputs
zack-is-cool Mar 22, 2023
15a500a
cleanup updates
zack-is-cool Mar 22, 2023
3b87fac
remove try
zack-is-cool Mar 22, 2023
4d6eba1
update tag to 0.0.2
zack-is-cool Mar 22, 2023
bec6cb5
update validation
zack-is-cool Mar 22, 2023
542473a
remove vpc.instance_tenanacy and create validation
zack-is-cool Mar 22, 2023
22b177a
make version the same
zack-is-cool Mar 22, 2023
f8b7708
cleanup
zack-is-cool Mar 22, 2023
052fb28
removed
zack-is-cool Mar 22, 2023
5650f3d
removed because not used
zack-is-cool Mar 22, 2023
67b76bd
cleanup
zack-is-cool Mar 22, 2023
190a715
ignore lockfile for pre-commit things
zack-is-cool Mar 22, 2023
e19373f
Remove Blank line from .gitiignore
zack-is-cool Mar 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
*.tfstate
*.tfstate.*

*.terraform.lock.hcl

# Crash log files
crash.log
crash.*.log
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ repos:
hooks:
- id: terraform_fmt
- id: terraform_docs
args:
- --args=--lockfile=false
- id: terraform_checkov
verbose: true
args:
Expand Down
22 changes: 21 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,27 @@ _test-all:
mkdir -p .cache/go-build
mkdir -p .cache/tmp
echo "Running automated tests. This will take several minutes. At times it does not log anything to the console. If you interrupt the test run you will need to log into AWS console and manually delete any orphaned infrastructure."
docker run $(TTY_ARG) --rm -v "${PWD}:/app" -v "${PWD}/.cache/tmp:/tmp" -v "${PWD}/.cache/go:/root/go" -v "${PWD}/.cache/go-build:/root/.cache/go-build" --workdir "/app/test/e2e" -e GOPATH=/root/go -e GOCACHE=/root/.cache/go-build -e REPO_URL -e GIT_BRANCH -e AWS_REGION -e AWS_DEFAULT_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -e AWS_SECURITY_TOKEN -e AWS_SESSION_EXPIRATION -e SKIP_SETUP -e SKIP_TEST -e SKIP_TEARDOWN $(BUILD_HARNESS_REPO):$(BUILD_HARNESS_VERSION) bash -c 'asdf install && go test -v $(EXTRA_TEST_ARGS) ./...'
docker run $(TTY_ARG) --rm \
-v "${PWD}:/app" \
-v "${PWD}/.cache/tmp:/tmp" \
-v "${PWD}/.cache/go:/root/go" \
-v "${PWD}/.cache/go-build:/root/.cache/go-build" \
--workdir "/app/test/e2e" \
-e GOPATH=/root/go \
-e GOCACHE=/root/.cache/go-build \
-e REPO_URL \
-e GIT_BRANCH \
-e AWS_REGION \
-e AWS_DEFAULT_REGION \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
-e AWS_SESSION_TOKEN \
-e AWS_SECURITY_TOKEN \
-e AWS_SESSION_EXPIRATION \
-e SKIP_SETUP \
-e SKIP_TEST \
-e SKIP_TEARDOWN \
$(BUILD_HARNESS_REPO):$(BUILD_HARNESS_VERSION) bash -c 'asdf install && go test -v $(EXTRA_TEST_ARGS) ./...'

.PHONY: test
test: ## Run all automated tests. Requires access to an AWS account. Costs real money.
Expand Down
233 changes: 0 additions & 233 deletions examples/complete-self-managed-nodegroup/.terraform.lock.hcl

This file was deleted.

Loading