porter-access-manager role you originally provisioned with CloudFormation.
Cloud account deletion is currently supported for AWS only. To stop using a GCP or Azure account with Porter, see the revoking access sections in Connecting a cloud account.
Before You Delete
Porter will refuse to delete a cloud account that is still in use. Before you start, remove every Porter resource that references the account:- Clusters provisioned in the account (Deleting a cluster)
- Object storage buckets Porter created in the account (such as build artifact buckets)
- Environment groups with secrets backed by the account
Delete the Cloud Account
1
Open the cloud account
In the Porter dashboard, navigate to Integrations → Cloud accounts and select the AWS account you want to remove.
2
Confirm there are no dependent resources
Scroll to the Delete cloud account section. If any clusters, object storage buckets, or environment groups still reference the account, they are listed here and the Delete cloud account button is disabled.Delete each listed resource, then return to this page.
3
Start the deletion
Click Delete cloud account and confirm in the dialog. Porter immediately:
- Marks the account as
deletion_pending. - Stops accepting new clusters or workloads against it.
- Begins tearing down the IAM roles and policies it created in your AWS account (
porter-manager,porter-infra-manager,porter-control-plane-manager,porter-node-manager,porter-karpenter, and related policies).
4
Remove porter-access-manager
Porter cannot delete the
porter-access-manager role itself — that role lives in your account and is what gives Porter permission to do the teardown. Once Porter shows IAM roles and IAM policies as deleted, finish removing the account by deleting the role yourself:- Open the AWS CloudFormation console.
- Find the stack you originally created when connecting Porter (typically named
PorterRole). - Click Delete.
porter-access-manager and the associated porter-permissions-boundary policy. As soon as Porter can no longer assume the role, it marks Access revoked as complete and removes the cloud account from your project.You can leave the Deletion in progress page at any time. Porter continues to retry the teardown in the background and finalizes the deletion automatically once
porter-access-manager is gone.Deletion States
While deletion is in progress, the cloud account moves through three stages:
If any teardown step fails (for example, because a Porter-managed role has been modified outside of Porter), the failure message is shown on the deletion screen and Porter keeps retrying. Contact support through the dashboard chat if a failure persists.
Deleting via the API
Cloud account deletion is also available through the Porter API. The endpoint returns202 Accepted immediately and the deletion proceeds asynchronously.
You can check for dependents before issuing the delete:
clusters, object_storage buckets, and environment_groups referencing the account. Empty arrays mean the account is safe to delete.
Poll the cloud account to watch deletion progress — the status.state field reports deletion_pending until the account is fully removed, and status.deletion contains the per-step teardown state shown in the dashboard.
Troubleshooting
Deletion is stuck on 'Access revoked'
Deletion is stuck on 'Access revoked'
Porter is waiting on you. Delete the
PorterRole CloudFormation stack in your AWS account to remove porter-access-manager. Once Porter can no longer assume that role, deletion finalizes within a minute.A teardown step is marked as failed
A teardown step is marked as failed
Porter reports the underlying AWS error on the deletion screen. The most common cause is that someone modified or deleted a Porter-managed IAM role or policy outside of Porter. Porter keeps retrying — if the failure persists, contact support through the dashboard chat with your project ID and the failure message.
I deleted porter-access-manager before tearing down the IAM roles
I deleted porter-access-manager before tearing down the IAM roles
Porter can no longer assume into your account to clean up the roles it created. Delete the remaining Porter-managed roles and policies manually from the IAM console, then contact support to remove the cloud account record from your project.

