Skip to content

Commit

Permalink
r/hdinsight: documenting why this pattern is different
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Apr 9, 2019
1 parent 2740d05 commit ac37aa2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_hadoop_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightHadoopClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_hbase_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightHBaseClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_interactive_query_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightInteractiveQueryClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_kafka_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightKafkaClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_ml_services_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightMLServicesClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_rserver_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightRServerClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_spark_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightSparkClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 2,
Expand Down
2 changes: 2 additions & 0 deletions azurerm/resource_arm_hdinsight_storm_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
)

// NOTE: this isn't a recommended way of building resources in Terraform
// this pattern is used to work around a generic but pedantic API endpoint
var hdInsightStormClusterHeadNodeDefinition = azure.HDInsightNodeDefinition{
CanSpecifyInstanceCount: false,
MinInstanceCount: 4,
Expand Down

0 comments on commit ac37aa2

Please sign in to comment.