Pulumi component that handles Pequod-related stack settings.
- ttlMinutes (Optional): Number of minutes to wait before destroying the stack. Defaults to 8 hours.
- driftManagement (Optional): Set to
Correctto correct drift if detected. Set to anything else to just detect drift. Defaults toCorrect. - deleteStack (Optional): Whether stack should be purged. Set to
Trueto have stack cleaned up overnight. Set to anything else to keep the stack. Defaults toTrue. - teamAssignment (Optional): Pulumi Team the stack should be assigned to. Defaults to
DevTeam. - pulumiAccessToken (Optional): A Pulumi access token to use for the stack's Deployment settings. Defaults to a
DevTeamteam token.
None.
Add the following to your Pulumi.yaml file:
Note: If no version is specified, the latest version will be used.
packages:
stackmgmt: https://github.com/pulumi-pequod/component-stackmgmt[@vX.Y.Z]
from pulumi_pequod_stackmgmt import StackSettings, StackSettingsArgs
stackmgmt = StackSettings("my-stacksettings",
team_assignment=config.teamName,
drift_management=config.driftManagement)
import { StackSettings } from "@pulumi-pequod/stackmgmt";
const stackmgmt = new StackSettings(baseName, {driftManagement: config.get("driftManagement")})
using PulumiPequod.Stackmgmt;
var stackSettings = new StackSettings("stack-settings");
stacksettings:
type: stackmgmt:StackSettings
properties:
ttlMinutes: 600