diff --git a/Makefile b/Makefile index 480d8ce15e..cbe5dc61ed 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ PROJECT_REPO := github.com/upbound/$(PROJECT_NAME) export TERRAFORM_VERSION := 1.5.5 export TERRAFORM_PROVIDER_VERSION := 5.31.0 -export TERRAFORM_PROVIDER_RELEASE := v$(TERRAFORM_PROVIDER_VERSION)-upjet.1 +export TERRAFORM_PROVIDER_RELEASE := v$(TERRAFORM_PROVIDER_VERSION)-upjet.2 export TERRAFORM_PROVIDER_SOURCE := hashicorp/aws export TERRAFORM_PROVIDER_REPO ?= https://github.com/hashicorp/terraform-provider-aws export TERRAFORM_DOCS_PATH ?= website/docs/r @@ -183,6 +183,7 @@ $(TERRAFORM_PROVIDER): $(TERRAFORM_PROVIDER_SCHEMA): $(TERRAFORM) $(TERRAFORM_PROVIDER) @$(INFO) generating provider schema for $(TERRAFORM_PROVIDER_SOURCE) $(TERRAFORM_PROVIDER_VERSION) + @rm -fr $(TERRAFORM_WORKDIR) @mkdir -p $(TERRAFORM_WORKDIR) @echo '{"terraform":[{"required_providers":[{"provider":{"source":"'"$(TERRAFORM_PROVIDER_SOURCE)"'","version":"'"$(TERRAFORM_PROVIDER_VERSION)"'"}}],"required_version":"'"$(TERRAFORM_VERSION)"'"}]}' > $(TERRAFORM_WORKDIR)/main.tf.json @echo 'provider_installation { filesystem_mirror { path = "'"$(TERRAFORM_FILESYSTEM_MIRROR)"'", include = ["hashicorp/aws"] }, direct { exclude = ["hashicorp/aws"] } }' > $(TERRAFORM_CLI_CONFIG_FILE) diff --git a/go.mod b/go.mod index d2299563c2..d2366b6e83 100644 --- a/go.mod +++ b/go.mod @@ -280,9 +280,7 @@ require ( replace golang.org/x/exp => golang.org/x/exp v0.0.0-20231006140011-7918f672742d -// replace github.com/hashicorp/terraform-provider-aws => github.com/upbound/terraform-provider-aws v0.0.0-20240328111213-f2f0fdd63866 - -replace github.com/hashicorp/terraform-provider-aws => github.com/mergenci/upbound-terraform-provider-aws v0.0.0-20240514084246-ff919c11b08e +replace github.com/hashicorp/terraform-provider-aws => github.com/upbound/terraform-provider-aws v0.0.0-20240523115959-6c8577b037ce replace github.com/hashicorp/terraform-plugin-log => github.com/gdavison/terraform-plugin-log v0.0.0-20230928191232-6c653d8ef8fb diff --git a/go.sum b/go.sum index 8976a9a96f..7450150618 100644 --- a/go.sum +++ b/go.sum @@ -472,8 +472,6 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= -github.com/mergenci/upbound-terraform-provider-aws v0.0.0-20240514084246-ff919c11b08e h1:c6ITCgnJrBmSln+eSdpvZMClNptPo8o4SkhbUhDlTio= -github.com/mergenci/upbound-terraform-provider-aws v0.0.0-20240514084246-ff919c11b08e/go.mod h1:3Wg6PEZCkiheBr2AS3uizrIXG8hbDh4DxhctoktbV84= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= @@ -560,6 +558,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ= github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w= +github.com/upbound/terraform-provider-aws v0.0.0-20240523115959-6c8577b037ce h1:HT6CrrgZnE+qfTExVyA78taIxnl4tvCmkiM3II1adMY= +github.com/upbound/terraform-provider-aws v0.0.0-20240523115959-6c8577b037ce/go.mod h1:3Wg6PEZCkiheBr2AS3uizrIXG8hbDh4DxhctoktbV84= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=