Skip to content

Commit dda4205

Browse files
authored
fix: Use correct name for DeploymentStrategies table (#12428)
#### Summary Fixes #12423. Not marking as breaking as it never worked I remember we had something in the SDK to check for duplicate tables. Maybe it got lost in the v4 migration <!--
1 parent 00444ff commit dda4205

File tree

5 files changed

+36
-10
lines changed

5 files changed

+36
-10
lines changed

plugins/source/aws/docs/tables/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
- [aws_appconfig_configuration_profiles](../../../../../website/tables/aws/aws_appconfig_configuration_profiles.md)
5151
- [aws_appconfig_hosted_configuration_versions](../../../../../website/tables/aws/aws_appconfig_hosted_configuration_versions.md)
5252
- [aws_appconfig_environments](../../../../../website/tables/aws/aws_appconfig_environments.md)
53-
- [aws_appconfig_applications](../../../../../website/tables/aws/aws_appconfig_applications.md)
53+
- [aws_appconfig_deployment_strategies](../../../../../website/tables/aws/aws_appconfig_deployment_strategies.md)
5454
- [aws_applicationautoscaling_policies](../../../../../website/tables/aws/aws_applicationautoscaling_policies.md)
5555
- [aws_applicationautoscaling_scalable_targets](../../../../../website/tables/aws/aws_applicationautoscaling_scalable_targets.md)
5656
- [aws_applicationautoscaling_scaling_activities](../../../../../website/tables/aws/aws_applicationautoscaling_scaling_activities.md)

plugins/source/aws/resources/services/appconfig/deployment_strategies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
)
1616

1717
func DeploymentStrategies() *schema.Table {
18-
tableName := "aws_appconfig_applications"
18+
tableName := "aws_appconfig_deployment_strategies"
1919
return &schema.Table{
2020
Name: tableName,
2121
Description: `https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_DeploymentStrategy.html`,

website/pages/docs/plugins/sources/aws/tables.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/tables/aws/aws_appconfig_applications.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
This table shows data for AWS AppConfig Applications.
44

5-
https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_DeploymentStrategy.html
5+
https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_Application.html
66

77
The primary key for this table is **arn**.
88

9+
## Relations
10+
11+
The following tables depend on aws_appconfig_applications:
12+
- [aws_appconfig_configuration_profiles](aws_appconfig_configuration_profiles)
13+
- [aws_appconfig_environments](aws_appconfig_environments)
14+
915
## Columns
1016

1117
| Name | Type |
@@ -15,11 +21,6 @@ The primary key for this table is **arn**.
1521
|account_id|`utf8`|
1622
|region|`utf8`|
1723
|arn (PK)|`utf8`|
18-
|deployment_duration_in_minutes|`int64`|
1924
|description|`utf8`|
20-
|final_bake_time_in_minutes|`int64`|
21-
|growth_factor|`float64`|
22-
|growth_type|`utf8`|
2325
|id|`utf8`|
24-
|name|`utf8`|
25-
|replicate_to|`utf8`|
26+
|name|`utf8`|
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Table: aws_appconfig_deployment_strategies
2+
3+
This table shows data for AWS AppConfig Deployment Strategies.
4+
5+
https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_DeploymentStrategy.html
6+
7+
The primary key for this table is **arn**.
8+
9+
## Columns
10+
11+
| Name | Type |
12+
| ------------- | ------------- |
13+
|_cq_id|`uuid`|
14+
|_cq_parent_id|`uuid`|
15+
|account_id|`utf8`|
16+
|region|`utf8`|
17+
|arn (PK)|`utf8`|
18+
|deployment_duration_in_minutes|`int64`|
19+
|description|`utf8`|
20+
|final_bake_time_in_minutes|`int64`|
21+
|growth_factor|`float64`|
22+
|growth_type|`utf8`|
23+
|id|`utf8`|
24+
|name|`utf8`|
25+
|replicate_to|`utf8`|

0 commit comments

Comments
 (0)