Skip to content

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

Open
Minosity-VR wants to merge 1 commit intomainfrom
simon.marechal/s3-remote-state
Open

core(runner) - Add S3 remote state backend for Terraform and technique state#834
Minosity-VR wants to merge 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

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@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
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.

1 participant