Skip to content

Commit

Permalink
r/msk_cluster: Adjust arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed May 26, 2021
1 parent 9437456 commit d3ee2b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aws/resource_aws_msk_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ func resourceAwsMskCluster() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"bootstrap_brokers_sasl_scram": {
"bootstrap_brokers_sasl_iam": {
Type: schema.TypeString,
Computed: true,
},
"bootstrap_brokers_sasl_iam": {
"bootstrap_brokers_sasl_scram": {
Type: schema.TypeString,
Computed: true,
},
Expand Down Expand Up @@ -471,8 +471,8 @@ func resourceAwsMskClusterRead(d *schema.ResourceData, meta interface{}) error {

d.Set("arn", cluster.ClusterArn)
d.Set("bootstrap_brokers", sortMskClusterEndpoints(aws.StringValue(brokerOut.BootstrapBrokerString)))
d.Set("bootstrap_brokers_sasl_scram", sortMskClusterEndpoints(aws.StringValue(brokerOut.BootstrapBrokerStringSaslScram)))
d.Set("bootstrap_brokers_sasl_iam", sortMskClusterEndpoints(aws.StringValue(brokerOut.BootstrapBrokerStringSaslIam)))
d.Set("bootstrap_brokers_sasl_scram", sortMskClusterEndpoints(aws.StringValue(brokerOut.BootstrapBrokerStringSaslScram)))
d.Set("bootstrap_brokers_tls", sortMskClusterEndpoints(aws.StringValue(brokerOut.BootstrapBrokerStringTls)))

if err := d.Set("broker_node_group_info", flattenMskBrokerNodeGroupInfo(cluster.BrokerNodeGroupInfo)); err != nil {
Expand Down

0 comments on commit d3ee2b4

Please sign in to comment.