Skip to content

Commit

Permalink
feat(networkfirewall): import scenario and bucket to Orphan
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Paul Haar <[email protected]>
  • Loading branch information
Christopher Paul Haar committed Apr 6, 2023
1 parent 46f076c commit dc05404
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/externalname.go
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ var ExternalNameConfigs = map[string]config.ExternalName{
"aws_networkfirewall_rule_group": config.TemplatedStringAsIdentifier("", "arn:aws:network-firewall:{{ .parameters.region }}:{{ .setup.client_metadata.account_id }}:stateful-rulegroup/{{ .external_name }}"),
// Network Firewall Logging Configurations can be imported using the firewall_arn
// Example: arn:aws:network-firewall:us-west-1:123456789012:firewall/example
"aws_networkfirewall_logging_configuration": config.TemplatedStringAsIdentifier("", "arn:aws:network-firewall:{{ .parameters.region }}:{{ .setup.client_metadata.account_id }}:firewall/{{ .external_name }}"),
"aws_networkfirewall_logging_configuration": config.IdentifierFromProvider,

// networkmanager
//
Expand Down
1 change: 1 addition & 0 deletions examples/networkfirewall/firewall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ metadata:
labels:
testing.upbound.io/example-name: s3-networkfirewall
spec:
deletionPolicy: Orphan
forProvider:
region: us-west-1
objectLockEnabled: true
Expand Down

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

0 comments on commit dc05404

Please sign in to comment.