tflocal generates iotanalytics and iotevents endpoints removed in AWS Provider v6.x
#25
ksemele-public
started this conversation in
Bugs
Replies: 1 comment
-
|
I used a workaround that worked for me, but I think someone should fix it on the LocalStack side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When running
tflocal planwith AWS Provider v6.x, the auto-generatedlocalstack_providers_override.tffile includesiotanalyticsandioteventsendpointarguments that were removed from the provider schema in v6.x, causing a hard error.
Error
Environment
Root Cause
tflocaldynamically generateslocalstack_providers_override.tfbased on the internallist of LocalStack services (via
config.get_service_ports()), without checking whetherthe generated endpoint names are valid for the currently installed AWS Provider version.
The
endpoints.iotanalyticsandendpoints.ioteventsconfiguration arguments wereexplicitly removed from the AWS Terraform Provider in v6.x as part of the major
version cleanup (PR hashicorp/terraform-provider-aws#42703,
tracked in the v6.0.0 milestone):
See the CHANGELOG
for the full list of removed endpoints in v6.
This is the same class of issue as:
scheduleris not expected hereSteps to Reproduce
~> 6.40.0in yourversions.tfTF_CMD=tofu tflocal planlocalstack_providers_override.tfYou can inspect the generated file without running a full plan:
Expected Behavior
Plan and apply should work without any errors
Beta Was this translation helpful? Give feedback.
All reactions