Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@architect/destroy
Advanced tools
Changelog
[4.0.3 - 4.0.4] 2024-03-25
Readme
@architect/destroy
Architect serverless framework module for destroying projects created with Architect
Architect Destroy destroys Architect-generated projects. More specifically, it destroys your projects' CloudFormation Stacks, CloudWatch Log Groups, S3 bucket used during deployment, SSM Parameters added by arc env
, and if called with --force
(or the force
param via API), destroys your DynamoDB (@tables
) databases and S3 bucket housing your static assets (@static
).
destroy({ appname, stackname, env, force, now, retries }, callback)
Destroys all infrastructure associated to your Architect app.
appname
: the name of the Architect app in question as defined in your app.arc
file.stackname
: the custom stack name (if specified during deployment, e.g. arc deploy --name foo
)env
: the stage or environment name to destroy, typical values are staging
or production
force
proceeds to destroy your app even if it contains DynamoDB tables and / or an S3 bucket containing @static
assets.now
: (boolean) immeditely destroy the app (instead of waiting the requisite 5 seconds)retries
: while waiting for a CloudFormation Stack to be destroyed, how many
times do we ping the CloudFormation API checking if the Stack has been
removed? This API is pinged every 10 seconds. If retries
is exhausted,
callback
will be invoked with an error.FAQs
Destroy projects created with Architect
The npm package @architect/destroy receives a total of 2,149 weekly downloads. As such, @architect/destroy popularity was classified as popular.
We found that @architect/destroy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.