Skip to content

Commit

Permalink
Merge pull request #23544 from gungoren/main
Browse files Browse the repository at this point in the history
Add aws_mskconnect_connector resource
  • Loading branch information
ewbankkit authored Mar 25, 2022
2 parents a38f0ef + 56880a7 commit d92876f
Show file tree
Hide file tree
Showing 27 changed files with 2,865 additions and 300 deletions.
11 changes: 11 additions & 0 deletions .changelog/23544.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
```release-note:enhancement
resource/aws_mskconnect_custom_plugin: Implement resource Delete
```

```new-resource
aws_mskconnect_connector
```

```new-data-source
aws_mskconnect_connector
```
2 changes: 2 additions & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ func Provider() *schema.Provider {
"aws_msk_configuration": kafka.DataSourceConfiguration(),
"aws_msk_kafka_version": kafka.DataSourceVersion(),

"aws_mskconnect_connector": kafkaconnect.DataSourceConnector(),
"aws_mskconnect_custom_plugin": kafkaconnect.DataSourceCustomPlugin(),
"aws_mskconnect_worker_configuration": kafkaconnect.DataSourceWorkerConfiguration(),

Expand Down Expand Up @@ -1514,6 +1515,7 @@ func Provider() *schema.Provider {
"aws_msk_configuration": kafka.ResourceConfiguration(),
"aws_msk_scram_secret_association": kafka.ResourceScramSecretAssociation(),

"aws_mskconnect_connector": kafkaconnect.ResourceConnector(),
"aws_mskconnect_custom_plugin": kafkaconnect.ResourceCustomPlugin(),
"aws_mskconnect_worker_configuration": kafkaconnect.ResourceWorkerConfiguration(),

Expand Down
3 changes: 3 additions & 0 deletions internal/service/kafka/sweep.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ func init() {
resource.AddTestSweepers("aws_msk_cluster", &resource.Sweeper{
Name: "aws_msk_cluster",
F: sweepClusters,
Dependencies: []string{
"aws_mskconnect_connector",
},
})

resource.AddTestSweepers("aws_msk_configuration", &resource.Sweeper{
Expand Down
Loading

0 comments on commit d92876f

Please sign in to comment.