Sceptre

Latest version: v4.5.2

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 26

4.2.1

- [Resolve 1344] Addressing issue with Generate hook and its deprecation (1346)
Here is what this includes:
* The `dump_template` action ALSO triggers `before_generate` and
`after_generate`
* The `generate` action ALSO triggers `before_dump_template` and
`after_dump_template`
* The StackDiffer invokes `dump_template` rather than `generate`, preventing
our own code from triggering deprecation warnings.
* The documentation for hook points is updated to include all current hooks,
including notes about the aliasing.
* Deprecation of `generate` is removed after discussion in Slack. This
deprecation would be too disruptive to many users, and we agreed instead
to support a permanent alias of `generate` => `dump_template`.

4.2.0

- [Resolves 894] Switch to using poetry (1323)
- Remove Moto dependency (1330)
- Write rendered template to a temp file (1321)
- [Resolve 1319] Add colouring for missing state DELETE_SKIPPED
- [Resolve 1291] Fix attribute error caused by a relative project path
- [Resolve 1318] Implement dump template and write output files
- [Resolve 1336] Add bugfix in Stack Differ (1337)

4.1.0

Added
- [Resolve 1304] Adding StackLoggerAdapter to hooks, resolvers, and template handler
- [Resolve 1263] Stack output caching
- [Resolve 1252] Supporting resolvers in Hook and Resolver arguments, with new
!substitute, !join, !split, and !select resolvers!

Nonfunctional
- add a pre-commit linter to validate circleci configs

4.0.2

Fixed
- [Resolve 1307] Fixing Connection Manager bug (1308)

4.0.1

Changed
- Supporting `!rcmd` resolver up to v2

4.0.0

Added
- [Resolve 1283] Introducing `sceptre_role`, `cloudformation_service_role` (1295)
- These are just iam_role and role_arn renamed to be a lot clearer. See "Deprecations" below.


Changed
- [Resolve 1299] Making the ConnectionManager a more "friendly" interface for hooks, resolvers,
and template handlers (1287, 1300)
- This creates adds the public `get_session()` and
`create_session_environment_variables()` methods to make AWS interactions
easier and more consistent with individual stack configurations for
iam_role, profile, and region configurations.
- The `call()` method now properly distinguishes between default stack
configurations for profile, region, and `sceptre_role` and setting those to
`None` to nullify them.
- Preventing Duplicate Deprecation Warnings from being emitted (1297)

_Potentially_ Breaking Changes
- The !cmd hook now invokes the passed command using the AWS environment
variables that correspond with the stack's IAM configurations (i.e. iam_role,
profile, region). This means that the hook will operate the same as every
other part of Sceptre and regard how the stack is configured. This should make
it easier to invoke other tools like AWS CLI with your hooks. However, if
your project is setting environment variables with the intent to change how
the command authenticates with AWS (such as a different token, profile, or
region), these environment variables will be overridden. To maintain the same
functionality, you should prefix your command with
`export AWS_SESSION_TOKEN={{environment_variable.AWS_SESSION_TOKEN}} &&` (or
whatever other environment variable(s) you need to explicitly set).

Deprecations
- [Resolve 1283] Deprecating `iam_role`, `role_arn`, and `template_path` (1295)
- `iam_role` and `role_arn` have been aliased to `sceptre_role` and
`cloudformation_service_role`. Using these fields will result in a
DeprecationWarning.
- `template_path` has actually been slated for removal since v2.7. `template`
should be used instead. Using `template_path` will result in a
DeprecationWarning.
- All three deprecated StackConfig fields will be removed in v5.0.0.

Page 2 of 26

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.