Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Update Terraform provider to 3.x
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Jan 13, 2022
1 parent fc54126 commit 6e2d508
Show file tree
Hide file tree
Showing 72 changed files with 789 additions and 1,543 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
restore-keys: ${{ runner.os }}-pkg-

- name: Vendor Dependencies
run: make vendor vendor.check
run: make provider-jet-aws.vendor vendor.check

# Go version coming with golangci-lint-action may not be our desired
# go version. We deploy our desired go version and then skip go
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
restore-keys: ${{ runner.os }}-pkg-

- name: Vendor Dependencies
run: make vendor vendor.check
run: make provider-jet-aws.vendor vendor.check

- name: Check Diff
run: make check-diff
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
restore-keys: ${{ runner.os }}-pkg-

- name: Vendor Dependencies
run: make vendor vendor.check
run: make provider-jet-aws.vendor vendor.check

- name: Run Unit Tests
run: make -j2 test
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
${{ runner.os }}-pkg-
- name: Vendor Dependencies
run: make vendor vendor.check
run: make provider-jet-aws.vendor vendor.check

- name: Build Helm Chart
run: make -j2 build
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
restore-keys: ${{ runner.os }}-pkg-

- name: Vendor Dependencies
run: make vendor vendor.check
run: make provider-jet-aws.vendor vendor.check

- name: Build Artifacts
run: make -j2 build.all
Expand Down
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ run: go.build
@# To see other arguments that can be provided, run the command with --help instead
$(GO_OUT_DIR)/provider --debug

go.build: prepare.tfaws
reviewable: prepare.tfaws
test: prepare.tfaws
generate: prepare.tfaws
build: prepare.tfaws
provider-jet-aws.vendor: prepare.tfaws vendor

# must match Docker build file env. variable TERRAFORM_PROVIDER_VERSION in
# cluster/images/provider-jet-aws-controller/Dockerfile
TFAWS_REFSPEC ?= v3.71.0
prepare.tfaws:
@WORK_DIR=.work TFAWS_REFSPEC=$(TFAWS_REFSPEC) ./scripts/prepare_tfaws.sh

.PHONY: cobertura submodules fallthrough run crds.clean

# ====================================================================================
Expand Down
6 changes: 6 additions & 0 deletions apis/autoscaling/v1alpha2/zz_autoscalinggroup_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions apis/autoscaling/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

122 changes: 117 additions & 5 deletions apis/ec2/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions apis/ec2/v1alpha2/zz_instance_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apis/ec2/v1alpha2/zz_launchtemplate_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions apis/ec2/v1alpha2/zz_networkinterface_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e2d508

Please sign in to comment.