Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

globart
Copy link

@globart globart commented Apr 23, 2025

Description

Removed mentions of deprecated cpu_core_count and cpu_threads_per_core variables

Motivation and Context

Breaking Changes

No

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@globart globart changed the title Remove deprecated variables fix: remove deprecated variables Apr 23, 2025
@globart globart changed the title fix: remove deprecated variables fix: Remove deprecated variables Apr 23, 2025
@eternityduck
Copy link

Nice

Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label May 25, 2025
@ait-artem-stankov
Copy link

@antonbabenko please check

@github-actions github-actions bot removed the stale label May 26, 2025
@bryantbiggs
Copy link
Member

we'll proceed once AWS provider v6 arrives - this was originally meant to arrive in April but seems to be taking a bit longer

@gurpreetatwal
Copy link

gurpreetatwal commented Jun 18, 2025

@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 versions.tf to cap the provider at < 6

I got the misfortune of following a tutorial a few hours after the publish and running into errors 😅

@andrealiz-saildrone
Copy link

Any ETA on when this can be merged? Currently hitting this error when I try to do a plan against the module:

An argument named "cpu_core_count" is not expected here.

@bryantbiggs
Copy link
Member

Pin your required_providers, we'll deal with breaking changes when we can

@aristosvo
Copy link

aristosvo commented Jun 19, 2025

ℹ️ block_duration_minutes on aws_spot_instance_request seems also not longer supported

╷
│ 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.
╵

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants