@@ -13,6 +13,18 @@ func dataSourceAwsMqBroker() *schema.Resource {
1313 Read : dataSourceAwsmQBrokerRead ,
1414
1515 Schema : map [string ]* schema.Schema {
16+ "arn" : {
17+ Type : schema .TypeString ,
18+ Computed : true ,
19+ },
20+ "authentication_strategy" : {
21+ Type : schema .TypeString ,
22+ Computed : true ,
23+ },
24+ "auto_minor_version_upgrade" : {
25+ Type : schema .TypeBool ,
26+ Computed : true ,
27+ },
1628 "broker_id" : {
1729 Type : schema .TypeString ,
1830 Optional : true ,
@@ -25,14 +37,6 @@ func dataSourceAwsMqBroker() *schema.Resource {
2537 Computed : true ,
2638 ConflictsWith : []string {"broker_id" },
2739 },
28- "auto_minor_version_upgrade" : {
29- Type : schema .TypeBool ,
30- Computed : true ,
31- },
32- "arn" : {
33- Type : schema .TypeString ,
34- Computed : true ,
35- },
3640 "configuration" : {
3741 Type : schema .TypeList ,
3842 Computed : true ,
@@ -90,15 +94,68 @@ func dataSourceAwsMqBroker() *schema.Resource {
9094 Type : schema .TypeString ,
9195 Computed : true ,
9296 },
97+ "endpoints" : {
98+ Type : schema .TypeList ,
99+ Computed : true ,
100+ Elem : & schema.Schema {Type : schema .TypeString },
101+ },
93102 "ip_address" : {
94103 Type : schema .TypeString ,
95104 Computed : true ,
96105 },
97- "endpoints" : {
106+ },
107+ },
108+ },
109+ "ldap_server_metadata" : {
110+ Type : schema .TypeList ,
111+ Computed : true ,
112+ Elem : & schema.Resource {
113+ Schema : map [string ]* schema.Schema {
114+ "hosts" : {
98115 Type : schema .TypeList ,
99116 Computed : true ,
100117 Elem : & schema.Schema {Type : schema .TypeString },
101118 },
119+ "role_base" : {
120+ Type : schema .TypeString ,
121+ Computed : true ,
122+ },
123+ "role_name" : {
124+ Type : schema .TypeString ,
125+ Computed : true ,
126+ },
127+ "role_search_matching" : {
128+ Type : schema .TypeString ,
129+ Computed : true ,
130+ },
131+ "role_search_subtree" : {
132+ Type : schema .TypeBool ,
133+ Computed : true ,
134+ },
135+ "service_account_password" : {
136+ Type : schema .TypeString ,
137+ Computed : true ,
138+ },
139+ "service_account_username" : {
140+ Type : schema .TypeString ,
141+ Computed : true ,
142+ },
143+ "user_base" : {
144+ Type : schema .TypeString ,
145+ Computed : true ,
146+ },
147+ "user_role_name" : {
148+ Type : schema .TypeString ,
149+ Computed : true ,
150+ },
151+ "user_search_matching" : {
152+ Type : schema .TypeString ,
153+ Computed : true ,
154+ },
155+ "user_search_subtree" : {
156+ Type : schema .TypeBool ,
157+ Computed : true ,
158+ },
102159 },
103160 },
104161 },
@@ -155,6 +212,10 @@ func dataSourceAwsMqBroker() *schema.Resource {
155212 Elem : & schema.Schema {Type : schema .TypeString },
156213 Computed : true ,
157214 },
215+ "storage_type" : {
216+ Type : schema .TypeString ,
217+ Computed : true ,
218+ },
158219 "subnet_ids" : {
159220 Type : schema .TypeSet ,
160221 Elem : & schema.Schema {Type : schema .TypeString },
0 commit comments