terraform-provider-teamcity
terraform-provider-teamcity copied to clipboard
New Resource: `teamcity_project_feature_versioned_settings`
trafficstars
This introduces a new resource for managing the Versioned Settings Feature for a Project
Whilst implementing this I realised I missed support for configuring "credentialsStorageType" which allows using the Secure Tokens rather than scrambling values - which is tracked in https://github.com/cvbarros/go-teamcity/pull/76 - as such that'll need to be merged for this to work
Dependent on https://github.com/cvbarros/go-teamcity/pull/85
With the dependencies available the tests pass:
$ TEAMCITY_ADDR=http://localhost:8112 TEAMCITY_USER=admin TEAMCITY_PASSWORD=admin TF_ACC=1 go test -v ./teamcity/ -run=TestAccTeamcityProjectVersionedSe
=== RUN TestAccTeamcityProjectVersionedSettings_Basic
--- PASS: TestAccTeamcityProjectVersionedSettings_Basic (0.87s)
=== RUN TestAccTeamcityProjectVersionedSettings_Update
--- PASS: TestAccTeamcityProjectVersionedSettings_Update (3.40s)
=== RUN TestAccTeamcityProjectVersionedSettings_ContextParameters
--- PASS: TestAccTeamcityProjectVersionedSettings_ContextParameters (2.90s)
=== RUN TestAccTeamcityProjectVersionedSettings_CredentialsStorageTypeSettings
--- PASS: TestAccTeamcityProjectVersionedSettings_CredentialsStorageTypeSettings (2.93s)
PASS
ok github.com/cvbarros/terraform-provider-teamcity/teamcity 10.128s
👋 @tombuildsstuff mind rebasing on master for the client upgrade? Then this will be gtg, thanks!