Skip to content

Commit

Permalink
Remove "computed" annotation for "aws_attributes"
Browse files Browse the repository at this point in the history
This annotation means the field shows up in plans for Azure and GCP, where it doesn't make sense.
  • Loading branch information
pietern committed Jan 17, 2023
1 parent fd1f11a commit 68edfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pools/resource_instance_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type InstancePool struct {
MinIdleInstances int32 `json:"min_idle_instances,omitempty"`
MaxCapacity int32 `json:"max_capacity,omitempty" tf:"suppress_diff"`
IdleInstanceAutoTerminationMinutes int32 `json:"idle_instance_autotermination_minutes"`
AwsAttributes *InstancePoolAwsAttributes `json:"aws_attributes,omitempty" tf:"force_new,suppress_diff,computed"`
AwsAttributes *InstancePoolAwsAttributes `json:"aws_attributes,omitempty" tf:"force_new,suppress_diff"`
AwsInstancePoolFleetAttributes *AwsInstancePoolFleetAttributes `json:"instance_pool_fleet_attributes,omitempty" tf:"force_new,suppress_diff,conflicts:node_type_id"`
AzureAttributes *InstancePoolAzureAttributes `json:"azure_attributes,omitempty" tf:"force_new,suppress_diff"`
GcpAttributes *InstancePoolGcpAttributes `json:"gcp_attributes,omitempty" tf:"force_new,suppress_diff"`
Expand Down

0 comments on commit 68edfa1

Please sign in to comment.