Deprecation notice
- As of v0.3.0, the
group_ids
argument is now deprecated in thetwingate_resource
resource. This functionality has been replaced by a newaccess
block argument in this release, which we will continue to enhance in the future. The deprecatedgroup_ids
argument continues to work for now, so existing Terraform configurations will not be impacted, but this argument will be removed in a future release. - We encourage you to move to the new
access
block configuration as soon as possible. The example below demonstrates how to migrate to the newaccess
block for existing Terraform configurations.
resource “twingate_resource” “resource” {
name = “network”
address = “internal.int”
remote_network_id = twingate_remote_network.aws_network.id
# This argument is now deprecated outside of the new access block
# group_ids = [twingate_group.aws.id]
access {
group_ids = [twingate_group.aws.id]
}
}
What’s Changed
Enhancements
- Improved resource
is_authoritative
argument behavior when upgrading from a provider version prior to v0.3.0 to v0.3.1 or later by @vmanilo in #277
Full Changelog: v0.3.0...v0.3.1