Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(data_source): new dictionaries data source #682

Merged
merged 4 commits into from
Apr 19, 2023

Conversation

Integralist
Copy link
Collaborator

@Integralist Integralist commented Apr 19, 2023

resource "fastly_service_vcl" "example" {
  name = "tf_example_service_for_dictionaries_data_source"
  domain {
    name = "%s.com"
  }
  dictionary {
    name       = "tf_example_1"
  }
  dictionary {
    name       = "tf_example_2"
  }
  dictionary {
    name       = "tf_example_3"
  }
  force_destroy = true
}

data "fastly_dictionaries" "example" {
  depends_on      = [fastly_service_vcl.example]
  service_id      = fastly_service_vcl.example.id
  service_version = fastly_service_vcl.example.active_version
}

@Integralist Integralist added the enhancement New feature or request label Apr 19, 2023
@Integralist Integralist requested a review from razaj92 April 19, 2023 13:47
Integralist and others added 3 commits April 19, 2023 15:49
Co-authored-by: Raza Jhaveri <razajhaveri@googlemail.com>
Co-authored-by: Raza Jhaveri <razajhaveri@googlemail.com>
@Integralist Integralist merged commit 393795e into main Apr 19, 2023
@Integralist Integralist deleted the integralist/dictionaries-data-source branch April 19, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants