This message was deleted.
# atlantis-community
s
This message was deleted.
j
I can't speak to terragrunt because we dont use it, but what are you referring to with "hack around" for state rm/import? that has been supported for a while now: https://www.runatlantis.io/docs/using-atlantis.html#atlantis-state-rm
a
That is terraform only. If you try it with terragrunt it wont work. To get imports and state_rms to work with terragrunt atm you have to create specific workflows for imports and state_rm's that access the COMMENT_ARGS
🤷 1
eg:
Copy code
state_rm:
              steps:
              - env:
                  name: TERRAGRUNT_TFPATH
                  command: 'echo "terraform${DEFAULT_TERRAFORM_VERSION}"'
              - env:
                  name: STATE_RM_ARGS
                  command: printf '%s' $COMMENT_ARGS | sed 's/,/ /' | tr -d '\\'
              - run: terragrunt state rm $STATE_RM_ARGS
d
Terragrunt isn't supported natively, only Terraform. Terragrunt is considered a custom workflow
a
I'll try and work my way around it then 🙂 Thanks!