Skip to content

The command cdev plan does not process datasources #290

@kinseii

Description

@kinseii

Problem:
I have a terraform module that retrieve a value from Azure Key Vault. Every time I run the cdev plan command in the plan outputs outputs want to recreate. As I understand it, cdev doesn't run the plan of the terraform code itself, it is its own plan and therefore it doesn't know if there are changes and forcefully marks datasource dependent resources for recreation.

Running cdev build and then terraform plan commands in the created module reveals no changes, as we would expect. I take it this is on design? If this is not a bug, then we need a function to run the plan command for terraform modules.

Cluster.dev Version:
v0.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions