-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: Remove deprecated variables #427
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
Conversation
Nice |
This PR has been automatically marked as stale because it has been open 30 days |
@antonbabenko please check |
we'll proceed once AWS provider v6 arrives - this was originally meant to arrive in April but seems to be taking a bit longer |
@bryantbiggs looks like the provider was just released today :D https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-6-upgrade I'd recommend either merging this PR and any other updates for v6 or temporarily updating I got the misfortune of following a tutorial a few hours after the publish and running into errors 😅 |
Any ETA on when this can be merged? Currently hitting this error when I try to do a plan against the module:
|
Pin your required_providers, we'll deal with breaking changes when we can |
ℹ️ ╷
│ Error: Unsupported argument
│
│ on .terraform/modules/ec2_module.ec2/main.tf line 418, in resource "aws_spot_instance_request" "this":
│ 418: block_duration_minutes = var.spot_block_duration_minutes
│
│ An argument named "block_duration_minutes" is not expected here.
╵ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove block_duration_minutes
and the variable spot_block_duration_minutes
as well becuase these are also removed from the latest AWS provider update.
https://github.com/hashicorp/terraform-provider-aws/releases/tag/v6.0.0
resource/aws_ec2_spot_instance_request: Remove block_duration_minutes attribute (hashicorp/terraform-provider-aws#42060)
Terraform provider version used -
|
Facing same errors; I would appreciate if this PR can be merged sooner: |
we aren't merging this PR as it stands - we are working on making changes that are necessary with a breaking change - hopefully that lands today or tomorrow |
thanks!!! |
This issue has been resolved in version 6.0.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Removed mentions of deprecated
cpu_core_count
,cpu_threads_per_core
andblock_duration_minutes
variablesMotivation and Context
Breaking Changes
NoHow Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request