teamcity_artifact_dependency - No change detected when adding "dependency_revision"
MattHodge opened this issue · comments
Take the following terraform:
resource "teamcity_artifact_dependency" "upload_dep_on_build" {
build_config_id = "${teamcity_build_config.upload_artifact.id}"
source_build_config_id = "${teamcity_build_config.build_artifact.id}"
path_rules = ["*.zip=>."]
}
Run a Terraform apply.
Make this change:
resource "teamcity_artifact_dependency" "upload_dep_on_build" {
build_config_id = "${teamcity_build_config.upload_artifact.id}"
source_build_config_id = "${teamcity_build_config.build_artifact.id}"
path_rules = ["*.zip=>."]
dependency_revision = "lastSuccessful" # Add this
}
Running a Terraform Plan doesn't notice any changes.
Hi Matt,
As per #42 you are not getting any changes on plans because the default value for this attrbiute is already lastSuccessful
. Adding that to the configuration has no effect, thus Terraform doesn't detect any changes.