Skip to content

Update Terraform openstack to v3 #747

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2024

This PR contains the following updates:

Package Type Update Change
openstack (source) required_provider major 1.54.1 -> 3.2.0

Release Notes

terraform-provider-openstack/terraform-provider-openstack (openstack)

v3.2.0

Compare Source

NOTES

  • Bumped Go version to 1.24 (#​1873)
  • Bumped Gophercloud library version (#​1876)
  • Bumped golangci-lint to v2 and enabled new linters (#​1883)

IMPROVEMENTS

  • Added openstack_lb_flavor_v2 resource (#​1791)
  • Added openstack_lb_flavorprofile_v2 data source (#​1792)
  • Added optional external_qos_policy_id argument in the openstack_networking_router_v2 resource (#​1875)
  • Added optional external_qos_policy_id argument in the openstack_networking_router_v2 data source (#​1875)
  • Added openstack_identity_limit_v3 resource (#​1573)
  • Added openstack_identity_registered_limit_v3 resource (#​1571)
  • Added openstack_dns_zone_share_v2 resource (#​1832)
  • Added openstack_dns_zone_share_v2 data source (#​1832)
  • Added support for binary/octet-stream Content-Type on image decompress in the openstack_images_image_v2 resource (#​1877)
  • Added openstack_compute_servergroup_v2 data source (#​1826)
  • Added openstack_networking_address_group_v2 resource (#​1878)
  • Added optional remote_address_group_id argument in the openstack_networking_secgroup_rule_v2 resource (#​1878)
  • Added optional segment_id argument in the openstack_networking_subnet_v2 resource (#​1882)
  • Added optional segment_id argument in the openstack_networking_subnet_v2 data source (#​1882)
  • Added optional segment_id argument in the openstack_networking_subnet_ids_v2 data source (#​1882)
  • Added optional volume_type argument in the openstack_db_instance_v1 resource (#​1647)

BREAKING CHANGES

  • Deprecated openstack_loadbalancer_flavor_v2 data source in favor of openstack_lb_flavor_v2 (#​1797)

BUG FIXES

  • Set missing region attributes across various resources and data sources (#​1880)
  • Removed IPv6 bracket notation from the access_ip_v6 attribute in the openstack_compute_instance_v2 resource (#​1879)
  • Skipped setting zero quotas for undefined quota values in the openstack_lb_quota_v2 resource (#​1881)
  • Skipped setting zero quotas for undefined quota values in the openstack_networking_quota_v2 resource (#​1881)
  • Fixed unmarshal string of type bool error in the openstack_identity_user_v3 resource and data source (#​1874)

v3.1.0

Compare Source

NOTES

  • Properly handle 404 OpenStack API response codes during resource deletion (#​1793)
  • Added support to override a service endpoint type with a new service type (#​1804)
  • Updated Golang to 1.23 (#​1845)
  • Updated the openstack_dns_zone_v2 resource to use a slash (/) separator for the import argument (#​1872)

IMPROVEMENTS

  • Added storage_class argument to the openstack_objectstorage_container_v1 resource (#​1810)
  • Added openstack_workflow_workflow_v2 data source (#​1813)
  • Made the hostname argument optional in the openstack_compute_hypervisor_v2 data source (#​1842)
  • Added hypervisor_hostname argument to the openstack_compute_instance_v2 resource (#​1837)
  • Included decompress flag in the cache key for image uploads in the openstack_images_image_v2 resource (#​1805)
  • Added support for in-place volume_type updates in openstack_blockstorage_volume_v3 resource, controlled by the new volume_retype_policy argument (#​1831)
  • Locked router_id during parallel creation of router interfaces in the openstack_networking_router_interface_v2 resource to prevent conflicting router modifications (#​1846)
  • Added support for additional ciphers (auth, encryption, pfs modes) in the openstack_vpnaas_ike_policy_v2 resource (#​1851)
  • Added support for additional ciphers (auth, encryption, pfs modes) in the openstack_vpnaas_ipsec_policy_v2 resource (#​1851)

BUG FIXES

  • Fixed flattening of subnet.HostRoutes into a slice of maps in the openstack_networking_subnet_v2 data source (#​1825)
  • Fixed an issue where unspecified quota values were being set to 0 in the openstack_blockstorage_quotaset_v3 resource (#​1838)
  • Fixed ignored changes to the admin_state_up argument in the openstack_lb_l7rule_v2 resource (#​1844)
  • Fixed incorrect unmarshalling of the http_version argument type in the openstack_lb_monitor_v2 resource (#​1858)
  • Properly handled the enabled boolean argument in the openstack_identity_user_v3 data source (#​1862)
  • Allowed image_id to be imported in the openstack_blockstorage_volume_v3 resource (#​1860)

v3.0.0

Compare Source

NOTES

  • This is a major release that removes deprecated resources and data sources. Please follow the upgrade guide to avoid issues.
  • Upgraded Gophercloud to v2 (#​1747)
  • Updated Golang to 1.22 (#​1747)

BREAKING CHANGES

  • Removed the deprecated openstack_blockstorage_snapshot_v2 data source (#​1751)
  • Removed the deprecated openstack_blockstorage_volume_v2 data source (#​1751)
  • Removed the deprecated openstack_fw_policy_v1 data source (#​1751)
  • Removed the deprecated openstack_blockstorage_quotaset_v2 resource (#​1751)
  • Removed the deprecated openstack_blockstorage_volume_v1 resource (#​1751)
  • Removed the deprecated openstack_blockstorage_volume_v2 resource (#​1751)
  • Removed the deprecated openstack_blockstorage_volume_attach_v2 resource (#​1751)
  • Removed the deprecated openstack_compute_secgroup_v2 resource (#​1751)
  • Removed the deprecated openstack_compute_floatingip_v2 resource (#​1751)
  • Removed the deprecated openstack_compute_floatingip_associate_v2 resource (#​1751)
  • Removed the deprecated openstack_fw_firewall_v1 resource (#​1751)
  • Removed the deprecated openstack_fw_policy_v1 resource (#​1751)
  • Removed the deprecated openstack_fw_rule_v1 resource (#​1751)
  • Removed the deprecated openstack_lb_member_v1 resource (#​1751)
  • Removed the deprecated openstack_lb_monitor_v1 resource (#​1751)
  • Removed the deprecated openstack_lb_pool_v1 resource (#​1751)
  • Removed the deprecated openstack_lb_vip_v1 resource (#​1751)
  • Removed support for the OS_NOVA_NETWORK environment variable from the openstack_compute_instance_v2 resource (#​1751)

IMPROVEMENTS

  • Added the ability to set any protocol in the openstack_networking_secgroup_rule_v2 resource (#​1765)
  • Added support for the pause power_state in the openstack_compute_instance_v2 resource (#​1667)
  • Added support for the pause power_state in the openstack_compute_instance_v2 data source (#​1667)
  • Added the ability to import the openstack_dns_recordset_v2 resource state from tenant projects (#​1778)
  • Added a new openstack_identity_project_ids_v3 data source (#​1779)
  • Added new key and digest arguments to the openstack_objectstorage_tempurl_v1 resource (#​1782)
  • Added a new master_lb_enabled argument to the openstack_containerinfra_cluster_v1 resource (#​1767)
  • Added a new master_lb_enabled argument to the openstack_containerinfra_cluster_v1 data source (#​1767)
  • Added new domain_name and http_version arguments to the openstack_lb_monitor_v2 resource (#​1786)
  • Added a new openstack_objectstorage_account_v1 resource (#​1781)
  • Added new TLS-related arguments to the openstack_lb_listener_v2 resource (#​1785)
  • Added new TLS-related arguments to the openstack_lb_pool_v2 resource (#​1785)
  • Added a new openstack_lb_flavorprofile_v2 resource (#​1716)

BUG FIXES

  • Fixed a bug where a domain could not be deleted until it was disabled in the openstack_identity_project_v3 resource (#​1770)
  • Fixed a bug where persistence could not be removed from the openstack_lb_pool_v2 resource (#​1785)

v2.1.0

Compare Source

NOTES

  • The next major release will be 3.0.0 and will include the removal of the deprecated resources and data sources (#​1751)
  • Removed deprecated terraform-plugin-sdk dependency elements (#​1759)
  • Introduced a parsePairedIDs helper function to parse paired IDs from a string and removed duplicated code (#​1756)

IMPROVEMENTS

  • Added vip_qos_policy_id on openstack_lb_loadbalancer_v2 (#​1721)
  • Added support for SCTP type on openstack_lb_monitor_v2 (#​1723)
  • Added support for redirect_prefix on openstack_lb_l7_policy_v2 (#​1717)
  • Added support for redirect_http_code on openstack_lb_l7_policy_v2 (#​1717)
  • Added support for tags on openstack_lb_member_v2 (#​1726)
  • Added support for tags on openstack_lb_pool_v2 (#​1725)
  • Added validations on openstack_lb_monitor_v2 (#​1724)
  • Added support for new SSL_CONN_HAS_CERT, SSL_VERIFY_RESULT and SSL_DN_FIELD types in the openstack_lb_l7_rule_v2 resource (#​1722)
  • Added support for a new "build" power_status in the openstack_compute_instance_v2 resource (#​1691)
  • Deleted URL validation in the openstack_identity_endpoint_v3 resource (#​1701)
  • Allow empty subnet_id in the fixed_ip block of the openstack_networking_port_v2 resource (#​962)
  • Added new image formats in the openstack_images_image_v2 resource (#​1752)
  • Added a new dns_publish_fixed_ip argument to the openstack_networking_subnet_v2 resource (#​1748)
  • Added a new dns_publish_fixed_ip argument to the openstack_networking_subnet_v2 and openstack_networking_subnet_ids_v2 data sources (#​1748)
  • Added a new compression format detection based on the filename extension from the Content-Disposition response header in the openstack_images_image_v2 resource(#​1746)
  • Enforce boolean type in JSON requests for "true" or "false" values in the value_specs map in networking resources (#​1743)
  • Added a new zstd compression format support in the openstack_images_image_v2 resource (#​1746)
  • Added a support for the description argument in the openstack_networking_portforwarding_v2 resource (#​1742)
  • Added new container_format and disk_format arguments in the openstack_images_image_v2 data source (#​1753)
  • Added new container_format, disk_format and hidden arguments in the openstack_images_image_ids_v2 data source (#​1753)
  • Added a new openstack_bgpvpn_v2 resource (#​1738)
  • Added a new openstack_bgpvpn_router_associate_v2 resource (#​1738)
  • Added a new openstack_bgpvpn_network_associate_v2 resource (#​1738)
  • Added a new openstack_bgpvpn_port_associate_v2 resource (#​1738)
  • Added a bgpvpn value support for the object_type in the openstack_networking_rbac_policy_v2 resource (#​1738)
  • Added OpenStack provider version in the User-Agent request header (#​1761)
  • Added a new stateful argument to the openstack_networking_secgroup_v2 resource (#​1757)
  • Added a new stateful argument to the openstack_networking_secgroup_v2 data source (#​1757)

BUG FIXES

  • Fixed a bug when updating node_count to 0 on openstack_containerinfra_cluster_v1 (#​1719)
  • Set load balancer resource ID before waiting for its status in the openstack_lb_loadbalancer_v2 resource (#​1733)
  • Update module name to v2 to match GitHub versioning (#​1729)
  • Deleted URL validation in the openstack_identity_endpoint_v3 resource (#​1701)
  • Fixed panic on empty subnet_id in the fixed_ip block of the openstack_networking_port_v2 resource (#​962)
  • Fixed panic on update action in the openstack_networking_portforwarding_v2 resource (#​1742)

v2.0.0

Compare Source

The upgrade guide to version 2 offers more detailed information on the changes and required steps before the upgrade.

BREAKING CHANGES

  • Remove support of neutron-lbaas from openstack_lb_l7_policy_v2 (#​1655)
  • Remove support of neutron-lbaas from openstack_lb_l7_rule_v2 (#​1674)
  • Remove support of neutron-lbaas from openstack_lb_quota_v2 (#​1658)
  • Remove support of neutron-lbaas from openstack_lb_member_v2 (#​1675)
  • Remove support of neutron-lbaas from openstack_lb_members_v2 (#​1659)
  • Remove support of neutron-lbaas from openstack_lb_monitor_v2 (#​1676)
  • Remove support of neutron-lbaas from openstack_lb_listener_v2 (#​1695)
  • Remove support of neutron-lbaas from openstack_lb_pool_v2 (#​1696)
  • Remove support of neutron-lbaas from openstack_lb_loadbalancer_v2 (#​1697)
  • Remove multiattach from openstack_blockstorage_volume_v3 (#​1654)
  • Remove dhcp_disabled from openstack_networking_subnet_v2 data source(#​1663)
  • Remove update_at from openstack_images_image_v2 (#​1662)
  • Remove instance_id from openstack_blockstorage_volume_attach_v2 (#​1682)
  • Remove member from openstack_lb_pool_v1 (#​1683)
  • Remove allocation_pools from networking_subnet_v2 (#​1684)
  • Remove external_gateway from networking_router_v2 (#​1685)
  • Remove floating_ip from compute_instance_v2 (#​1686)
  • Remove volume from compute_instance_v2 (#​1687)
  • Remove sort_key and sort_dir from glance data sources (#​1661)(https://github.com/terraform-provider-openstack/terraform-provider-openstack/pull/1661))

FEATURES

  • New Data Source: openstack_lb_flavor_v2 (#​1679)

IMPROVEMENTS

  • Added tag on openstack_compute_volume_attach_v2 (#​1713)

NOTES

  • Added Openstack Caracal jobs to CI (#​1705)
  • Removed Openstack Zed jobs from CI (#​1705)
  • Removed Openstack Yoga jobs from CI (#​1705)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@scs-zuul
Copy link

scs-zuul bot commented Sep 25, 2024

Unable to freeze job graph: Pre-review pipeline e2e-quick-test does not allow post-review job k8s-cluster-api-provider-e2e-quick

@renovate renovate bot force-pushed the renovate/openstack-3.x branch 3 times, most recently from 53b8ebd to b09111f Compare May 23, 2025 15:59
Signed-off-by: SCS Renovate Bot <renovatebot@scs.community>
@renovate renovate bot force-pushed the renovate/openstack-3.x branch from b09111f to 13c0261 Compare June 10, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants