Breaking Changes
BREAKING CHANGE: Migrated set of data sources and resources to Terraform Framework.
BREAKING CHANGE: The id
attribute on resources is now read-only. The plan phase will fail validation if a value is set on the resource id
. This applies to any resources that have been migrated to Framework.
BREAKING CHANGE: Project and runbook resources may show a difference in the plan when upgrading from 0.22.1
or earlier to 0.30.0
versions. This will be for some attributes (such as connectivity_policy
or release_creation_strategy
) where the attribute has additional nested attributes and no value has been provided. This can be resolved by running either terrafrom apply
or terraform refresh
Any bugs or unexpected behaviour with this release, please log an issue or contact support@octopus.com and pin your version number back to the last release 0.22.1
Changelog
New Features and Updates
Bug Fixes
- 2261c2a: fix: Fix datasource feeds search not respecting name (#736) (@IsaacCalligeros95)
- 1ba92e1: fix: Add aws oidc account type (#733) (@IsaacCalligeros95)
Other Work
- 03ebf36: Tidy schema helper and add tests (#759) (@benPearce1)
- 572b7e3: chore: refactored tenant project (#764) (@domenicsim1)
- a6264b1: framework migration guide (#753) (@benPearce1)
- 4d9acca: resource id should be readonly. space name on datasource should be optional (#770) (@benPearce1)
- 1e408d1: chore: migrate environment data source to tf framework (#678) (@hnrkndrssn)
- e4f0093: Add environment variable for setting tag on MSSQL containers (#691) (@IsaacCalligeros95)
- e0d45c7: Aws Elastic Container Registry migration (#679) (@IsaacCalligeros95)
- f399119: Breaking Change - Extract tenant project relationship to its own resource (#676) (@zentron)
- 76499f1: Chore!: Migrate Library Variable Set (#686) (@IsaacCalligeros95)
- 4427886: Fixing mssql test issue (#692) (@IsaacCalligeros95)
- 7841310: Isaac/plugin framework testing (#665) (@IsaacCalligeros95)
- a578b59: Migrate Nuget Feed (#680) (@IsaacCalligeros95)
- ef41914: Migrate git credential datasource and resource - WIP (#683) (@HuyPhanNguyen)
- fef1d7f: Migrate github repository feed (#677) (@IsaacCalligeros95)
- df31fdd: Migrate lifecycle data source (#668) (@HuyPhanNguyen)
- 871b550: Migrate lifecycle resource (#669) (@HuyPhanNguyen)
- 1ad0917: Tenant project variable resource (#685) (@HuyPhanNguyen)
- b6082eb: chore!: Migrate Artifactory Generic Feeds (#675) (@IsaacCalligeros95)
- 3ab7c67: chore!: Migrate feeds datasource (#682) (@IsaacCalligeros95)
- 41a0901: chore!: Migrate helm feed resource to tf framework (#674) (@IsaacCalligeros95)
- 95314ba: chore!: Migrate maven feed resource from sdk to plugin framework (@IsaacCalligeros95)
- a861ac5: chore!: align config in both providers (#694) (@benPearce1)
- 874b249: chore!: migrate environment resource to tf framework (#681) (@hnrkndrssn)
- 3c83c2c: chore!: migrated project tenant mapping resource (#700) (@benPearce1)
- 042152e: chore: added mux server for sxs framework migration (#664) (@benPearce1)
- 3e1347e: chore: fixed assertion in migration test (#684) (@benPearce1)
- e9d7280: chore: migrate data source for space and spaces (#667) (@benPearce1)
- b7e1d1c: chore: migrate project group resource and datasource to framework (#660) (@benPearce1)
- 8e7d645: chore: migrate space resource to framework (#672) (@benPearce1)
- 30c6a55: updated from main integrationtest.go (@benPearce1)
- 7fade05: Update schema and doc GitCredential, Lifecycles and TenantProjectVariable (#717) (@HuyPhanNguyen)
- fdcf66c: Chore!: Migrate docker container registry (#702) (@IsaacCalligeros95)
- 44acc60: Chore!: Migrate script module resource (#712) (@IsaacCalligeros95)
- 7ac25f7: Chore!: Migrate tenant datasource (#699) (@IsaacCalligeros95)
- 5aec963: Chore!: Migrate tentacle certificate (#716) (@IsaacCalligeros95)
- 04b1917: Chore!: Require updated docs (#697) (@IsaacCalligeros95)
- be6e0ec: Chore!: migrate tenant resource and datasource (#707) (@IsaacCalligeros95)
- 7c81ce9: Fix bug datasource spaces (#710) (@HuyPhanNguyen)
- 7fca508: Fix schema for resource and datasource so it matches the current docs (#704) (@hnrkndrssn)
- 3a8a027: chore: schema fixes (#715) (@IsaacCalligeros95)
- e4c08d3: Migrate tag set resource and datasource (#725) (@HuyPhanNguyen)
- 0eb550e: Up go client to v2.49.1 (#703) (@HuyPhanNguyen)
- d10c467: chore!: Migrate username_password_account resource (#721) (@HuyPhanNguyen)
- cb9c421: chore!: migrate project resource & datasource (#689) (@HuyPhanNguyen)
- c595415: chore!: migrate runbook resource to tf framework (#709) (@hnrkndrssn)
- 77de86c: chore!: migrate variable datasource to tf framework (#690) (@hnrkndrssn)
- 4e1d198: chore!: migrate variable resource to tf framework (#688) (@hnrkndrssn)
- b1a1cd2: chore: ensure resources deleted from Octopus are removed from state (#720) (@hnrkndrssn)
- e5533e0: chore: update environment resource and datasource docs (#708) (@hnrkndrssn)
- 131a565: Add import state to migrated resources (#731) (@IsaacCalligeros95)
- c16f12a: Migrate tag resource (#719) (@IsaacCalligeros95)
- f11f6f9: chore: Fix some unwanted change in project (#732) (@HuyPhanNguyen)
- 3b1285c: chore: add ability to import an environment (#729) (@hnrkndrssn)
- 8ef9e5f: chore: fix template ids for project (#734) (@benPearce1)
- 3fecf49: chore: return error if we can't find a space matching the name provided (#728) (@hnrkndrssn)
- 4d50ff0: chore: when specifying name in datasource we should only return exact match (#726) (@hnrkndrssn)
- c32f73f: fix git credential null description issue (#735) (@HuyPhanNguyen)
- d7fc15c: Chore!: fix lvs datasource unexpected changes and resource Known After Apply differences. (#739) (@IsaacCalligeros95)
- 1b96a12: Remove project group retention policy (#749) (@IsaacCalligeros95)
- 920383c: Update docs validation (#746) (@IsaacCalligeros95)
- a10daef: Update environment resource testing (#750) (@IsaacCalligeros95)
- c24b186: Update git credential datasource (#747) (@IsaacCalligeros95)
- 154a51f: Update spaces datasource (#748) (@IsaacCalligeros95)
- e3dccfb: chore: fix space teams mapping (#751) (@benPearce1)
- 6a770fa: chore: remove plan modifiers from retention period (#738) (@hnrkndrssn)
- 0678c06: chore: should pass in space_id from config as it'll grab the space id from the client if nil (#737) (@hnrkndrssn)
- 3994936: datasource octopusdeploy_tenant_projects (#744) (@domenicsim1)
- ff70090: Fix migrating tag across sets (#755) (@IsaacCalligeros95)
- 1d79576: Retention policy plan validation (#752) (@HuyPhanNguyen)
- 51a1f5d: Update AGF example (#754) (@IsaacCalligeros95)
- 5720f91: chore: Fix MapFromSelectOptions: Use correct object type and proper slice initialisation (#756) (@HuyPhanNguyen)
- 13881dc: Chore!: Fix data source lists should be read only (#758) (@IsaacCalligeros95)
- 76e118c: chore: fix issue with git CredentialType empty when flatten (#757) (@HuyPhanNguyen)
- 638a650: added debug logging to datasources (@benPearce1)
- 7217313: fix: fix datasource result blocks (#763) (@benPearce1)
- 1e4bcd7: fix: fix issue default_value and help_text unexpected new value (#760) (@HuyPhanNguyen)
- 6b47b61: fix: fix the tenants datasource blocks (#762) (@mcasperson)
Summary of resources migrated to Framework:
- Artifactory Generic Feed
- AWS Elastic Container Feed
- Docker Container Feed
- Environment
- Git Credentials
- GitHub Repository Feed
- Helm Feed
- Library Variable Set
- Lifecycle
- Maven Feed
- Nuget Feed
- Project
- Project Group
- Runbook
- Script Modules
- Space
- Tag
- Tag Set
- Tenant
- Tenant Common Variable
- Tenant Project
- Tentacle Certificate
- Username Password Account
- Variable
Summary of data sources migrated to Framework
- Environments
- Feeds
- Git Credentials
- Library Variable Sets
- Lifecycles
- Projects
- Project Groups
- Script Modules
- Space
- Spaces
- Tag Sets
- Tenant Projects
- Tenants
- Variables