Skip to content

Discovery with pre-existing environment #46

Description

@JeroenSoeters

What problem does this solve?

From the documentation, it is not clear what the effect of --mode reconcile is on applying a Forma that only has targets.

Proposed solution

We need to explain that reconciling only pertains to stacks and resources, not to targets. We should explain that targets (for now) cannot be destroyed as well.

Discussed in #41

Originally posted by Arajap October 31, 2025
Hello, I was going through the documentation in relation to discovery and have a question about this process.

To begin with discovery a target needs to be created using formae apply --mode reconcile target.pkl when i check the documentation for reconcile mode it tells me the following formae apply --mode reconcile compares your forma against actual infrastructure and brings reality in line with your code. Resources in your forma are created or updated. Resources that exist in AWS but not in your forma are destroyed.

I suppose my question is if this runs against a target with no Forma will this destroy the existing resources? or will this allow discovery without fear of destroying current resources?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions