NOTE:
- Updated the API wrapper (go-api) dependency with newer version (1.6.0).
- Introducing managed VPC resource to decouple VPC from instance. #148
- To avoid breaking changes
- It's still possible to create VPC from instance with vpc_subnet, but is discouraged.
- Default behaviour for instance is still to delete associated VPC.
- To keep managed VPC, set attribute keep_associated_vpc = true on each instance resource. This will override the default behaviour when deleting an instance.
FEATURES:
- Added support for managed VPC resource.
- Added list on all available standalone VPC for an account.
- Added multiple attribute (vpc_id and instance_id) to fetch VPC information.
- Added multiple attribute (vpc_id and instance_id) to handle VPC peering.
- Added documentations and guide for managed VPC resource.
IMPROVEMENTS:
- Added keep_associated_vpc attribute for instance resource.
DEPRECATED:
- data_source/vpc_gcp_info, intance_id use vpc_id instead
- data_source/vpc_info, instance_id use vpc_id instead
- resource/instance, vpc_subnet create managed VPC instead
- resource/vpc_gcp_peering, intance_id use vpc_id instead
- resource/vpc_peering, intance_id use vpc_id instead
Full Changelog: v1.15.3...v1.16.0