Skip to content

Commit

Permalink
Enable Terraform external state access
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfontaine committed Apr 25, 2024
1 parent 09c0fb3 commit 215de4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spacemk/templates/base.tf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ resource "spacelift_stack" "{{ stack._relationships.space._migration_id }}_{{ st
{{ argument("repository", stack.vcs.repository, required=True) }}
{{ argument("slug", stack.slug, default=stack.name) }}
{{ argument("space_id", "spacelift_space." ~ stack._relationships.space._migration_id ~ ".id", serialize=False) }}
{{ argument("terraform_external_state_access", True, default=False) }}
{{ argument("terraform_workflow_tool", stack.terraform.workflow_tool, default="TERRAFORM_FOSS") }}
{{ argument("worker_pool_id", extra_vars.worker_pool_id) }}
{% block stack_arguments_extra scoped %}{% endblock %}
Expand Down

0 comments on commit 215de4f

Please sign in to comment.