Skip to content

Commit

Permalink
Reconcile aws_appconfig_environment using the TF SDK-based external c…
Browse files Browse the repository at this point in the history
…lient

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Dec 21, 2023
1 parent 32fbf9a commit 4d53954
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config/externalname.go
Original file line number Diff line number Diff line change
Expand Up @@ -1767,6 +1767,9 @@ var NoForkExternalNameConfigs = map[string]config.ExternalName{
// AppConfig Extension Associations can be imported using their extension association ID
// ID is a provider-generated
"aws_appconfig_extension_association": config.IdentifierFromProvider,
// AppConfig Environments can be imported by using the environment ID and application ID separated by a colon (:)
// terraform-plugin-framework
"aws_appconfig_environment": config.IdentifierFromProvider,

// appintegrations
//
Expand Down Expand Up @@ -2654,9 +2657,6 @@ var CLIReconciledExternalNameConfigs = map[string]config.ExternalName{
"aws_vpc_security_group_egress_rule": vpcSecurityGroupRule(),
// Imported by using the id: sgr-02108b27edd666983
"aws_vpc_security_group_ingress_rule": vpcSecurityGroupRule(),
// AppConfig Environments can be imported by using the environment ID and application ID separated by a colon (:)
// terraform-plugin-framework
"aws_appconfig_environment": config.IdentifierFromProvider,
// us-west-2_abc123/3ho4ek12345678909nh3fmhpko
"aws_cognito_user_pool_client": FormattedIdentifierFromProvider("", "name"),
// simpledb
Expand Down
16 changes: 10 additions & 6 deletions internal/controller/appconfig/environment/zz_controller.go

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

0 comments on commit 4d53954

Please sign in to comment.