GoogleCloudPlatform/terraformer

Conflicting configuration arguments - aws_instance resource

Closed this issue · 2 comments

Hi Team,

I've build reverse terraform module of my running AWS EC2 instance, and have copied that file into new workspace. While trying to run "terraform plan" am getting error as "Error: Conflicting configuration arguments"

`Error: Conflicting configuration arguments

on instance.tf line 7650, in resource "aws_instance" "tfer--":
7650: cpu_threads_per_core = "2"

"cpu_threads_per_core": conflicts with cpu_options.0.threads_per_core

^C
Error: Conflicting configuration arguments

on instance.tf line 7953, in resource "aws_instance" "tfer01":
7953: cpu_core_count = "4"

"cpu_core_count": conflicts with cpu_options.0.core_count

^C
Error: Conflicting configuration arguments

on instance.tf line 7956, in resource "aws_instance" "tfer-":
7956: core_count = "4"

"cpu_options.0.core_count": conflicts with cpu_core_count

^C^C
Error: Conflicting configuration arguments

on instance.tf line 7957, in resource "aws_instance" "tfe":
7957: threads_per_core = "2"`

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been stalled for 7 days with no activity.