Deprecation notice
- 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
- Added a new
access
block argument to thetwingate_resource
resource. This new block allows assigning both Service Accounts and Groups to Resources and will be extended in the future to match the evolution of the core product. Authored by @vmanilo in #249- Note: Using the
group_ids
argument outside of theaccess
block is now deprecated and will be fully removed in a future release. We encourage you to move to the newaccess
block syntax as soon as possible.
- Note: Using the
Full Changelog: v0.2.5...v0.3.0