Skip to content
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

Provide APIs to mange GCP to Azure VPN tunnel and test environment #32

Merged
merged 5 commits into from
Mar 22, 2024
Merged

Provide APIs to mange GCP to Azure VPN tunnel and test environment #32

merged 5 commits into from
Mar 22, 2024

Conversation

yunkon-kim
Copy link
Member

@yunkon-kim yunkon-kim commented Mar 21, 2024

APIs to manage GCP to Azure VPN tunnel
: It's necessary to inject existing resources (e.g., resource group, VPC, subnet, etc.).
: It's useful to create and delete GCP to Azure VPN tunnel.
image

APIs to manage test environment
: It's useful to make a test environment quickly.
: Currently, it can configure and delete basic cloud network resources (e.g., VPC, subnet, etc.).
image

Related issues: #23, #25, #29

@yunkon-kim yunkon-kim added the hold Need to hold merge label Mar 21, 2024
@yunkon-kim
Copy link
Member Author

google_compute_instance.vm_instance_1: Creating...
azurerm_network_interface.nic_1: Creating...
╷
│ Error: creating Network Interface (Subscription: "a20fed83-96bd-4480-92a9-140b8e3b7c3a"
│ Resource Group Name: "tofu-rg-01"
│ Network Interface Name: "nic_1_name"): performing CreateOrUpdate: unexpected status 400 with error: GatewaySubnet: Subnet with name 'GatewaySubnet' can be used only for the Gateway resource.
│
│   with azurerm_network_interface.nic_1,
│   on azure-virtual-machine.tf line 1, in resource "azurerm_network_interface" "nic_1":
│    1: resource "azurerm_network_interface" "nic_1" {
│
╵
╷
│ Error: Error creating instance: googleapi: Error 400: Invalid value for field 'resource.name': 'vm_instance_1-name'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)', invalid
│
│   with google_compute_instance.vm_instance_1,
│   on gcp-instance.tf line 9, in resource "google_compute_instance" "vm_instance_1":
│    9: resource "google_compute_instance" "vm_instance_1" {
│
╵

* Fix the error by GCP naming convention
* Fix the error by Azure SubnetGateway
@yunkon-kim
Copy link
Member Author

yunkon-kim commented Mar 22, 2024

This PR will be merged as is. Separate troubleshooting will be performed. (see #34)

@yunkon-kim yunkon-kim removed the hold Need to hold merge label Mar 22, 2024
@yunkon-kim yunkon-kim merged commit 76cc6e0 into cloud-barista:main Mar 22, 2024
@yunkon-kim yunkon-kim deleted the yunkon-kim-240314-1 branch March 22, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant