diff options
| author | Nicholas M. Iodice <niiodice@microsoft.com> | 2019-10-01 16:44:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-01 16:44:41 -0500 |
| commit | a36c4c71b989a71b90df3bf3e0a965036f881dbe (patch) | |
| tree | 42407fd48a6965361f371cc1fefae6b72d86af36 /README.md | |
| parent | 13a8e5ed36b33b497abce625544e58c708caef28 (diff) | |
Refactor project resource to follow expand/flatten pattern (#50)
In addition to following the expand/flatten pattern described here:
https://terraform.io/docs/extend/writing-custom-providers.html#implementing-a-more-complex-read
This change does the following:
- Refactor common code into shared package
- Remove `project_id` property in favor of using the computed `id`
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ resource "azuredevops_project" "project" { } resource "azuredevops_pipeline" "pipeline" { - project_id = azuredevops_project.project.project_id + project_id = azuredevops_project.project.id pipeline_name = "Test Pipeline" repository { |
