
- Mark as managed assigns the selected resources to another tool.
- Generate delete commands builds the commands to delete them.
Mark resources as managed by another tool
Use this for resources that a tool other than env zero already manages, such as Crossplane, Pulumi or a team’s own scripts. They stop counting as unmanaged and show as Externally managed, and EZ Control Center stops suggesting to codify or delete them.1
Select the resources
Select one or more unmanaged resources and click Mark as managed.
2
Name the tool
In Managed by, pick a suggested tool or type your own. The name becomes the rule’s name and shows on every matching resource. In Where (optional), add where they are managed, such as a repository URL or a console name.

3
Choose what the rule covers
Under Apply to, pick one:
- Only the selected resources: the rule covers these resources and no others. New resources are not included.
- Every resource that matches these conditions: the rule covers every resource that matches, including resources found later. Conditions can use Tag, Resource Type, Account Name, Region, Name ends with, Unmanaged resource collection and Owner.
4
Save
Click Mark as managed. The confirmation offers Undo and View rule.
Manage rules
All rules are listed in Organization Settings > IaC Management.
- Add rule creates a rule from conditions, without selecting resources first.
- The Built in CloudFormation rule marks every AWS resource tagged
aws:cloudformation:stack-nameas managed by CloudFormation. You can turn it off, but not edit or delete it.
A resource in a CloudFormation stack cannot be selected for either action. Change or delete it through its stack.
Delete unmanaged resources
EZ Control Center builds the CLI commands that delete the selected resources. You review the commands and run them yourself. env zero never runs them.1
Select the resources
Select one or more unmanaged resources and click Generate delete commands. For one resource, you can also click Generate delete command in its details.
2
Review the commands

- Before showing any command, EZ Control Center checks again which resources are managed, by env zero or by a rule. Managed resources are left out, and the dialog says how many.
- One command per resource, using the
aws,gcloudorazCLI. A resource type with no delete command gets a# No delete command exists forcomment instead. - Copy commands copies them all.
3
Run them
Run the commands in a shell signed in to the right cloud account. Commands for resources whose names are only unique inside an account, such as IAM roles, run only when your AWS CLI is signed in to that account.