Skip to content

Commit 3d37521

Browse files
feat: make the kong_consumer_key_auth resource importable
1 parent 3b5bdba commit 3d37521

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kong/resource_kong_consumer_basic_auth.go

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ func resourceKongConsumerBasicAuth() *schema.Resource {
1414
ReadContext: resourceKongConsumerBasicAuthRead,
1515
DeleteContext: resourceKongConsumerBasicAuthDelete,
1616
UpdateContext: resourceKongConsumerBasicAuthUpdate,
17+
Importer: &schema.ResourceImporter{
18+
State: schema.ImportStatePassthrough,
19+
},
1720
Schema: map[string]*schema.Schema{
1821
"consumer_id": {
1922
Type: schema.TypeString,

0 commit comments

Comments
 (0)