Skip to content

Commit

Permalink
Fix an error in the maintenance workflow (#531)
Browse files Browse the repository at this point in the history
* Remove aws_budgets_budget.name mapping

* Update dependencies and re-generate rules
  • Loading branch information
wata727 authored Aug 13, 2023
1 parent d9f0da7 commit 5946b36
Show file tree
Hide file tree
Showing 25 changed files with 313 additions and 186 deletions.
50 changes: 50 additions & 0 deletions aws/mock/elasticache.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 100 additions & 0 deletions aws/mock/rds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ These rules enforce best practices and naming conventions:
|aws_batch_job_queue_invalid_state||
|aws_budgets_budget_invalid_account_id||
|aws_budgets_budget_invalid_budget_type||
|aws_budgets_budget_invalid_name||
|aws_budgets_budget_invalid_time_unit||
|aws_chime_voice_connector_group_invalid_name||
|aws_chime_voice_connector_invalid_aws_region||
Expand Down Expand Up @@ -408,6 +407,7 @@ These rules enforce best practices and naming conventions:
|aws_cognito_user_pool_invalid_sms_authentication_message||
|aws_cognito_user_pool_invalid_sms_verification_message||
|aws_cognito_user_pool_ui_customization_invalid_client_id||
|aws_cognito_user_pool_ui_customization_invalid_css||
|aws_cognito_user_pool_ui_customization_invalid_user_pool_id||
|aws_config_aggregate_authorization_invalid_account_id||
|aws_config_aggregate_authorization_invalid_region||
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/agext/levenshtein v1.2.2 // indirect
github.com/aws/aws-sdk-go v1.44.312
github.com/aws/aws-sdk-go v1.44.322
github.com/dave/dst v0.27.2
github.com/fatih/color v1.13.0 // indirect
github.com/golang/mock v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki
github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.44.312 h1:llrElfzeqG/YOLFFKjg1xNpZCFJ2xraIi3PqSuP+95k=
github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aws/aws-sdk-go v1.44.322 h1:7JfwifGRGQMHd99PvfXqxBaZsjuRaOF6e3X9zRx2uYo=
github.com/aws/aws-sdk-go v1.44.322/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/dave/dst v0.27.2 h1:4Y5VFTkhGLC1oddtNwuxxe36pnyLxMFXT51FOzH8Ekc=
github.com/dave/dst v0.27.2/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc=
Expand Down
2 changes: 1 addition & 1 deletion rules/models/aws-sdk-go
Submodule aws-sdk-go updated 215 files
105 changes: 0 additions & 105 deletions rules/models/aws_budgets_budget_invalid_name.go

This file was deleted.

52 changes: 0 additions & 52 deletions rules/models/aws_budgets_budget_invalid_name_test.go

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func NewAwsCodestarconnectionsConnectionInvalidProviderTypeRule() *AwsCodestarco
"Bitbucket",
"GitHub",
"GitHubEnterpriseServer",
"GitLab",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func NewAwsCodestarconnectionsHostInvalidProviderTypeRule() *AwsCodestarconnecti
"Bitbucket",
"GitHub",
"GitHubEnterpriseServer",
"GitLab",
},
}
}
Expand Down
Loading

0 comments on commit 5946b36

Please sign in to comment.