You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform AWS Provider v4.66 deprecates the use of cpu_core_count and cpu_threads_per_core attributes at the aws_instance level which displays deprecation warnings when running the examples delivered with this module.
If your request is for a new feature, please use the Feature request template.
✋ I have searched the open/closed issues and my issue is not listed.
Versions
Module version [Required]: v5.0.0
Terraform version: v1.4.6
Provider version(s): v4.66.1
Reproduction Code [Required]
Run the complete example as per this TF module.
Steps to reproduce the behavior:
Expected behavior
Terraform plan and apply execute without deprecation warnings.
Actual behavior
│ Warning: Argument is deprecated
│
│ with module.ec2_complete.aws_instance.this[0],
│ on ../../main.tf line 24, in resource "aws_instance" "this":
│ 24: cpu_core_count = var.cpu_core_count
│
│ use 'cpu_options' argument instead
│
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered:
schniber
changed the title
cpu_core_count and cpu_threads_per_core attributes deprecation in favor of the cpu_options attribute
cpu_core_count and cpu_threads_per_core attributes deprecation in favor of the cpu_options block
May 6, 2023
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Terraform AWS Provider v4.66 deprecates the use of cpu_core_count and cpu_threads_per_core attributes at the aws_instance level which displays deprecation warnings when running the examples delivered with this module.
If your request is for a new feature, please use the
Feature request
template.Versions
Module version [Required]: v5.0.0
Terraform version: v1.4.6
Reproduction Code [Required]
Run the complete example as per this TF module.
Steps to reproduce the behavior:
Expected behavior
Terraform plan and apply execute without deprecation warnings.
Actual behavior
│ Warning: Argument is deprecated
│
│ with module.ec2_complete.aws_instance.this[0],
│ on ../../main.tf line 24, in resource "aws_instance" "this":
│ 24: cpu_core_count = var.cpu_core_count
│
│ use 'cpu_options' argument instead
│
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: