Skip to content

core(runner) - Add S3 remote state backend for Terraform and technique state#834

Merged
christophetd merged 1 commit intomainfrom
simon.marechal/s3-remote-state
Apr 13, 2026
Merged

core(runner) - Add S3 remote state backend for Terraform and technique state#834
christophetd merged 1 commit intomainfrom
simon.marechal/s3-remote-state

Conversation

@Minosity-VR
Copy link
Copy Markdown
Collaborator

What does this PR do?

Enhancement: Allow the runner to be instantiated with a remote state in an AWS S3 bucket.

Note

Remote state only supports AWS S3 for now

Motivation
Soon™️ we are going to open source a wrapper for stratus to run it as a service. It requires some modifications in the core:

  • control over the runner internals
  • remote state for terraform
  • context propagation to handle cancellation
  • logger control

Having a remote state allows to share the stratus state between teammates (or services), and even host the state bucket in a different account than the detonation one:

Example when detonating an attack in account 1550********, but storing the state in account 0693********:
bucket:
image

cloudtrail before attack:
image

@Minosity-VR Minosity-VR requested review from a team as code owners April 7, 2026 15:26
@Minosity-VR Minosity-VR changed the title core() - Add S3 remote state backend for Terraform and technique state core(runner) - Add S3 remote state backend for Terraform and technique state Apr 8, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Minosity-VR Minosity-VR force-pushed the simon.marechal/s3-remote-state branch from 575ac8e to fd9d02b Compare April 13, 2026 14:31
@christophetd christophetd merged commit e26e2c6 into main Apr 13, 2026
5 checks passed
@christophetd christophetd deleted the simon.marechal/s3-remote-state branch April 13, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants