feat: Upgrade AWS provider to v6 and remove deprecated arguments: elastic_gpu_specifications
and elastic_inference_accelerator
#3406
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We forked this repo to check what's needed for it to work with the AWS v6 provider. In our testing, we only ran into problems with the
elastic_gpu_specifications
andelastic_inference_accelerator
arguments:Once we removed these, our setup worked right away with v6 of the AWS provider.
Motivation and Context
Hopefully this helps in the path to AWS provider v6 support: #3386
Breaking Changes
This is a breaking change, because users of this module can no longer provide
elastic_gpu_specifications
andelastic_inference_accelerator
variables to the module.This addresses some breaking changes in v6 of the AWS provider:
elastic_gpu_specifications
attribute hashicorp/terraform-provider-aws#42312)How Has This Been Tested?
We are running these changes in our production environment with the AWS provider v6 and can confirm that everything's working as expected.
I'll file a separate PR to bump the
hashicorp/aws
version to>= 6.0.0
in the main module and the examples.examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request