Skip to content

Commit

Permalink
d/aws_dms_endpoint: Add postgres_settings attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Dec 13, 2023
1 parent b9ace53 commit af06aa6
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .changelog/34724.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
```release-note:enhancement
resource/aws_dms_endpoint: Add `postgres_settings` configuration block
```

```release-note:enhancement
data-source/aws_dms_endpoint: Add `postgres_settings` attribute
```
72 changes: 72 additions & 0 deletions internal/service/dms/endpoint_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,78 @@ func DataSourceEndpoint() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
},
"postgres_settings": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"after_connect_script": {
Type: schema.TypeString,
Computed: true,
},
"babelfish_database_name": {
Type: schema.TypeString,
Computed: true,
},
"capture_ddls": {
Type: schema.TypeBool,
Computed: true,
},
"database_mode": {
Type: schema.TypeString,
Computed: true,
},
"ddl_artifacts_schema": {
Type: schema.TypeString,
Computed: true,
},
"execute_timeout": {
Type: schema.TypeInt,
Computed: true,
},
"fail_tasks_on_lob_truncation": {
Type: schema.TypeBool,
Computed: true,
},
"heartbeat_enable": {
Type: schema.TypeBool,
Computed: true,
},
"heartbeat_frequency": {
Type: schema.TypeInt,
Computed: true,
},
"heartbeat_schema": {
Type: schema.TypeString,
Computed: true,
},
"map_boolean_as_boolean": {
Type: schema.TypeBool,
Computed: true,
},
"map_jsonb_as_clob": {
Type: schema.TypeBool,
Computed: true,
},
"map_long_varchar_as": {
Type: schema.TypeString,
Computed: true,
},
"max_file_size": {
Type: schema.TypeInt,
Computed: true,
},
"plugin_name": {
Type: schema.TypeString,
Computed: true,
},
"slot_name": {
Type: schema.TypeString,
Computed: true,
},
},
},
},
"redis_settings": {
Type: schema.TypeList,
Computed: true,
Expand Down

0 comments on commit af06aa6

Please sign in to comment.