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

feat: create ecs in shanghai #7

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

feat: create ecs in shanghai #7

wants to merge 1 commit into from

Conversation

msq177
Copy link
Owner

@msq177 msq177 commented Jan 9, 2025

No description provided.

Copy link

github-actions bot commented Jan 9, 2025

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan


Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # module.ecs.random_string.instance_name[0] will be created
  + resource "random_string" "instance_name" {
      + id          = (known after apply)
      + length      = 6
      + lower       = true
      + min_lower   = 0
      + min_numeric = 0
      + min_special = 0
      + min_upper   = 0
      + number      = true
      + numeric     = true
      + result      = (known after apply)
      + special     = false
      + upper       = true
    }

  # module.ecs.volcengine_ecs_instance.foo will be created
  + resource "volcengine_ecs_instance" "foo" {
      + cpus                          = (known after apply)
      + created_at                    = (known after apply)
      + deployment_set_id             = (known after apply)
      + description                   = "Managed by Terraform"
      + gpu_devices                   = (known after apply)
      + host_name                     = (known after apply)
      + id                            = (known after apply)
      + image_id                      = "image-ybqi99s7yq8rx7mnk44b"
      + instance_charge_type          = "PostPaid"
      + instance_id                   = (known after apply)
      + instance_name                 = (known after apply)
      + instance_type                 = "ecs.g3i.xlarge"
      + ipv6_address_count            = (known after apply)
      + ipv6_addresses                = (known after apply)
      + is_gpu                        = (known after apply)
      + key_pair_id                   = (known after apply)
      + memory_size                   = (known after apply)
      + network_interface_id          = (known after apply)
      + os_name                       = (known after apply)
      + os_type                       = (known after apply)
      + password                      = (sensitive value)
      + primary_ip_address            = (known after apply)
      + project_name                  = "default"
      + security_enhancement_strategy = "Active"
      + security_group_ids            = (known after apply)
      + spot_strategy                 = (known after apply)
      + status                        = (known after apply)
      + stopped_mode                  = (known after apply)
      + subnet_id                     = (known after apply)
      + system_volume_id              = (known after apply)
      + system_volume_size            = 40
      + system_volume_type            = "ESSD_PL0"
      + updated_at                    = (known after apply)
      + user_data                     = (known after apply)
      + vpc_id                        = (known after apply)
      + zone_id                       = (known after apply)

      + cpu_options (known after apply)

      + data_volumes (known after apply)

      + secondary_network_interfaces (known after apply)
    }

  # module.ecs.volcengine_eip_associate.foo[0] will be created
  + resource "volcengine_eip_associate" "foo" {
      + allocation_id      = (known after apply)
      + id                 = (known after apply)
      + instance_id        = (known after apply)
      + instance_type      = "EcsInstance"
      + private_ip_address = (known after apply)
    }

  # module.network.volcengine_eip_address.foo will be created
  + resource "volcengine_eip_address" "foo" {
      + bandwidth    = 2
      + billing_type = "PostPaidByBandwidth"
      + deleted_time = (known after apply)
      + eip_address  = (known after apply)
      + expired_time = (known after apply)
      + id           = (known after apply)
      + isp          = (known after apply)
      + name         = "tf-demo-eip"
      + overdue_time = (known after apply)
      + project_name = (known after apply)
      + status       = (known after apply)
    }

  # module.network.volcengine_security_group.foo will be created
  + resource "volcengine_security_group" "foo" {
      + creation_time       = (known after apply)
      + id                  = (known after apply)
      + project_name        = (known after apply)
      + security_group_name = "tf-demo-sg"
      + status              = (known after apply)
      + vpc_id              = (known after apply)
    }

  # module.network.volcengine_subnet.foo will be created
  + resource "volcengine_subnet" "foo" {
      + cidr_block      = "172.16.0.0/24"
      + creation_time   = (known after apply)
      + enable_ipv6     = (known after apply)
      + id              = (known after apply)
      + ipv6_cidr_block = (known after apply)
      + status          = (known after apply)
      + subnet_name     = "tf-test-subnet-demo"
      + vpc_id          = (known after apply)
      + zone_id         = "cn-beijing-a"
    }

  # module.network.volcengine_vpc.foo will be created
  + resource "volcengine_vpc" "foo" {
      + account_id            = (known after apply)
      + associate_cens        = (known after apply)
      + auxiliary_cidr_blocks = (known after apply)
      + cidr_block            = "172.16.0.0/16"
      + creation_time         = (known after apply)
      + enable_ipv6           = (known after apply)
      + id                    = (known after apply)
      + ipv6_cidr_block       = (known after apply)
      + nat_gateway_ids       = (known after apply)
      + project_name          = (known after apply)
      + route_table_ids       = (known after apply)
      + security_group_ids    = (known after apply)
      + status                = (known after apply)
      + subnet_ids            = (known after apply)
      + update_time           = (known after apply)
      + vpc_id                = (known after apply)
      + vpc_name              = "tf-test-vpc-demo"
    }

Plan: 7 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pushed by: @msq177, Action: pull_request

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