diff --git a/packages/amplify-provider-awscloudformation/src/aws-utils/user-agent.js b/packages/amplify-provider-awscloudformation/src/aws-utils/user-agent.js index c1cd1ad1fb9..753c1ef793d 100644 --- a/packages/amplify-provider-awscloudformation/src/aws-utils/user-agent.js +++ b/packages/amplify-provider-awscloudformation/src/aws-utils/user-agent.js @@ -1,6 +1,7 @@ // TODO: Put this in package.json and integrate with lerna to bump up version -const userAgent = 'aws-amplify-cli/0.1.0'; +// Track Amplify Admin generated stacks +const userAgent = !!process.env.CLI_DEV_INTERNAL_DISABLE_AMPLIFY_APP_DELETION ? 'aws-amplify-admin/0.1.0' : 'aws-amplify-cli/0.1.0'; function formUserAgentParam(context, userAgentAction) { const { amplify } = context;