Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
svscheg committed Nov 21, 2022
1 parent 3fb921f commit 7391d21
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 28 deletions.
25 changes: 12 additions & 13 deletions config/externalname.go
Original file line number Diff line number Diff line change
Expand Up @@ -1143,26 +1143,25 @@ var ExternalNameConfigs = map[string]config.ExternalName{
"aws_config_remediation_configuration": config.ParameterAsIdentifier("config_rule_name"),

// accessanalyzer
//
// Access Analyzer Analyzers can be imported using the analyzer_name
"aws_accessanalyzer_analyzer": config.ParameterAsIdentifier("analyzer_name"),
//
// Access Analyzer Analyzers can be imported using the analyzer_name
"aws_accessanalyzer_analyzer": config.ParameterAsIdentifier("analyzer_name"),

// account
//
// The Alternate Contact for the current account can be imported using the alternate_contact_type
"aws_account_alternate_contact": config.TemplatedStringAsIdentifier("", "{{ .parameters.alternate_contact_type }}"),
// account
//
// The Alternate Contact for the current account can be imported using the alternate_contact_type
"aws_account_alternate_contact": config.TemplatedStringAsIdentifier("", "{{ .parameters.alternate_contact_type }}"),

// amplify
// amplify
//
// Amplify App can be imported using Amplify App ID (appId)
"aws_amplify_app": config.IdentifierFromProvider,
// Amplify branch can be imported using app_id and branch_name: d2ypk4k47z8u6/master
"aws_amplify_branch": config.TemplatedStringAsIdentifier("branch_name", "{{ .parameters.app_id }}/{{ .external_name }}"),
// Amplify backend environment can be imported using app_id and environment_name: d2ypk4k47z8u6/example
"aws_amplify_backend_environment": config.TemplatedStringAsIdentifier("environment_name", "{{ .parameters.app_id }}/{{ .external_name }}"),
// Amplify webhook can be imported using a webhook ID
"aws_amplify_branch": config.TemplatedStringAsIdentifier("branch_name", "{{ .parameters.app_id }}/{{ .external_name }}"),
// Amplify backend environment can be imported using app_id and environment_name: d2ypk4k47z8u6/example
"aws_amplify_backend_environment": config.TemplatedStringAsIdentifier("environment_name", "{{ .parameters.app_id }}/{{ .external_name }}"),
// Amplify webhook can be imported using a webhook ID
"aws_amplify_webhook": config.IdentifierFromProvider,

}

func lambdaFunctionURL() config.ExternalName {
Expand Down
2 changes: 1 addition & 1 deletion config/externalnamenottested.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// provider.
var ExternalNameNotTestedConfigs = map[string]config.ExternalName{

// amp
// amp
//
// The prometheus alert manager definition can be imported using the workspace identifier
"aws_prometheus_alert_manager_definition": config.ParameterAsIdentifier("workspace_id"),
Expand Down
3 changes: 0 additions & 3 deletions creds.conf

This file was deleted.

11 changes: 0 additions & 11 deletions upb.yaml

This file was deleted.

0 comments on commit 7391d21

Please sign in to comment.