diff --git a/.github/workflows/terrafmt.yml b/.github/workflows/terrafmt.yml new file mode 100644 index 0000000000..64d72975b1 --- /dev/null +++ b/.github/workflows/terrafmt.yml @@ -0,0 +1,17 @@ +name: Run terrafmt +on: + pull_request: + push: + merge_group: + +jobs: + terrafmt: + runs-on: ubuntu-latest + steps: + # Checkout should always be before setup-go to ensure caching is working + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: 1.24.0 + - name: Run terrafmt on documentation + run: go tool terrafmt fmt --verbose --check ./docs diff --git a/docs/data-sources/account_ssh_key.md b/docs/data-sources/account_ssh_key.md index e47703fa95..60fdd4f8a8 100644 --- a/docs/data-sources/account_ssh_key.md +++ b/docs/data-sources/account_ssh_key.md @@ -20,7 +20,7 @@ The following commands allow you to: ```hcl # Get info by SSH key name data "scaleway_account_ssh_key" "my_key" { - name = "my-key-name" + name = "my-key-name" } # Get info by SSH key id diff --git a/docs/data-sources/baremetal_easy_partitioning.md b/docs/data-sources/baremetal_easy_partitioning.md index 81e121c094..2b02fcb7e5 100644 --- a/docs/data-sources/baremetal_easy_partitioning.md +++ b/docs/data-sources/baremetal_easy_partitioning.md @@ -13,47 +13,47 @@ This data source simplifies the process of generating valid partitioning configu ```hcl data "scaleway_easy_partitioning" "default" { - offer_id = "11111111-1111-1111-1111-111111111111" - os_id = "22222222-2222-2222-2222-222222222222" - swap = true - extra_partition = true - ext_4_mountpoint = "/data" + offer_id = "11111111-1111-1111-1111-111111111111" + os_id = "22222222-2222-2222-2222-222222222222" + swap = true + extra_partition = true + ext_4_mountpoint = "/data" } ``` ```hcl data "scaleway_baremetal_offer" "my_offer" { - zone = "fr-par-1" - name = "EM-B220E-NVME" + zone = "fr-par-1" + name = "EM-B220E-NVME" } data "scaleway_baremetal_os" "my_os" { - zone = "fr-par-1" - name = "Ubuntu" - version = "22.04 LTS (Jammy Jellyfish)" + zone = "fr-par-1" + name = "Ubuntu" + version = "22.04 LTS (Jammy Jellyfish)" } resource "scaleway_iam_ssh_key" "main" { - name = "my-ssh-key" - public_key = "my-ssh-key-public" + name = "my-ssh-key" + public_key = "my-ssh-key-public" } data "scaleway_baremetal_easy_partitioning" "test" { - offer_id = data.scaleway_baremetal_offer.my_offer.offer_id - os_id = data.scaleway_baremetal_os.my_os.os_id - swap = false - ext_4_mountpoint = "/hello" + offer_id = data.scaleway_baremetal_offer.my_offer.offer_id + os_id = data.scaleway_baremetal_os.my_os.os_id + swap = false + ext_4_mountpoint = "/hello" } resource "scaleway_baremetal_server" "base" { - name = "my-baremetal-server" - zone = "fr-par-1" - description = "test a description" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - os = data.scaleway_baremetal_os.my_os.os_id - partitioning = data.scaleway_baremetal_easy_partitioning.test.json_partition - tags = ["terraform-test", "scaleway_baremetal_server", "minimal", "edited"] - ssh_key_ids = [scaleway_iam_ssh_key.main.id] + name = "my-baremetal-server" + zone = "fr-par-1" + description = "test a description" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + os = data.scaleway_baremetal_os.my_os.os_id + partitioning = data.scaleway_baremetal_easy_partitioning.test.json_partition + tags = ["terraform-test", "scaleway_baremetal_server", "minimal", "edited"] + ssh_key_ids = [scaleway_iam_ssh_key.main.id] } ``` @@ -75,4 +75,4 @@ In addition to all above arguments, the following attributes are exported: - `id` — A composite identifier derived from offer_id and os_id. -- `json_partition` — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment. \ No newline at end of file +- `json_partition` — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment. diff --git a/docs/data-sources/baremetal_os.md b/docs/data-sources/baremetal_os.md index ccba509107..9cffb3f7a5 100644 --- a/docs/data-sources/baremetal_os.md +++ b/docs/data-sources/baremetal_os.md @@ -15,7 +15,7 @@ You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) wi ```hcl # Get info by os name and version data "scaleway_baremetal_os" "by_name" { - name = "Ubuntu" + name = "Ubuntu" version = "20.04 LTS (Focal Fossa)" } diff --git a/docs/data-sources/billing_consumptions.md b/docs/data-sources/billing_consumptions.md index 10b718d0ab..a77bd124f7 100644 --- a/docs/data-sources/billing_consumptions.md +++ b/docs/data-sources/billing_consumptions.md @@ -33,4 +33,4 @@ In addition to all arguments above, the following attributes are exported: - `unit` - The unit of consumed quantity. - `billed_quantity` - The consumed quantity. - `project_id` - The project ID of the consumption. -- `updated_at` - The last consumption update date. \ No newline at end of file +- `updated_at` - The last consumption update date. diff --git a/docs/data-sources/block_snapshot.md b/docs/data-sources/block_snapshot.md index 2a35ed7509..de09e8fe83 100644 --- a/docs/data-sources/block_snapshot.md +++ b/docs/data-sources/block_snapshot.md @@ -25,7 +25,7 @@ data "scaleway_block_snapshot" "my_snapshot" { // Get info by snapshot name and volume id data "scaleway_block_snapshot" "my_snapshot" { - name = "my-name" + name = "my-name" volume_id = "11111111-1111-1111-1111-111111111111" } diff --git a/docs/data-sources/cockpit_source.md b/docs/data-sources/cockpit_source.md index dfeb58588a..7a9b76a159 100644 --- a/docs/data-sources/cockpit_source.md +++ b/docs/data-sources/cockpit_source.md @@ -17,7 +17,7 @@ The following example retrieves a Cockpit data source by its unique ID. ```terraform data "scaleway_cockpit_source" "example" { - id = "fr-par/11111111-1111-1111-1111-111111111111" + id = "fr-par/11111111-1111-1111-1111-111111111111" } ``` @@ -27,9 +27,9 @@ You can also retrieve a data source by specifying filtering criteria such as `na ```terraform data "scaleway_cockpit_source" "filtered" { - project_id = "11111111-1111-1111-1111-111111111111" - region = "fr-par" - name = "my-data-source" + project_id = "11111111-1111-1111-1111-111111111111" + region = "fr-par" + name = "my-data-source" } ``` diff --git a/docs/data-sources/container.md b/docs/data-sources/container.md index 45266561db..f9ceba3b3b 100644 --- a/docs/data-sources/container.md +++ b/docs/data-sources/container.md @@ -22,20 +22,20 @@ resource scaleway_container_namespace main { } resource scaleway_container main { - name = "test-container-data" - namespace_id = scaleway_container_namespace.main.id + name = "test-container-data" + namespace_id = scaleway_container_namespace.main.id } // Get info by container name data "scaleway_container" "by_name" { - namespace_id = scaleway_container_namespace.main.id - name = scaleway_container.main.name + namespace_id = scaleway_container_namespace.main.id + name = scaleway_container.main.name } // Get info by container ID data "scaleway_container" "by_id" { - namespace_id = scaleway_container_namespace.main.id - container_id = scaleway_container.main.id + namespace_id = scaleway_container_namespace.main.id + container_id = scaleway_container.main.id } ``` diff --git a/docs/data-sources/flexible_ips.md b/docs/data-sources/flexible_ips.md index a0f73dce6b..40ada4d4a6 100644 --- a/docs/data-sources/flexible_ips.md +++ b/docs/data-sources/flexible_ips.md @@ -12,7 +12,7 @@ Gets information about multiple Flexible IPs. ```hcl # Find ips that share the same tags data "scaleway_flexible_ips" "fips_by_tags" { - tags = [ "a tag" ] + tags = ["a tag"] } # Find ips that share the same Server ID @@ -21,19 +21,19 @@ data "scaleway_baremetal_offer" "my_offer" { } resource "scaleway_baremetal_server" "base" { - name = "MyServer" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - install_config_afterward = true + name = "MyServer" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + install_config_afterward = true } resource "scaleway_flexible_ip" "first" { server_id = scaleway_baremetal_server.base.id - tags = [ "foo", "first" ] + tags = ["foo", "first"] } resource "scaleway_flexible_ip" "second" { server_id = scaleway_baremetal_server.base.id - tags = [ "foo", "second" ] + tags = ["foo", "second"] } data "scaleway_flexible_ips" "fips_by_server_id" { diff --git a/docs/data-sources/function.md b/docs/data-sources/function.md index 08bd695d1f..2100bebcf3 100644 --- a/docs/data-sources/function.md +++ b/docs/data-sources/function.md @@ -21,13 +21,13 @@ The following commands allow you to: ```terraform // Get info by function name data "scaleway_function" "my_function" { - name = "my-namespace-name" + name = "my-namespace-name" namespace_id = "11111111-1111-1111-1111-111111111111" } // Get info by function ID data "scaleway_function" "my_function" { - function_id = "11111111-1111-1111-1111-111111111111" + function_id = "11111111-1111-1111-1111-111111111111" namespace_id = "11111111-1111-1111-1111-111111111111" } ``` diff --git a/docs/data-sources/iam_ssh_key.md b/docs/data-sources/iam_ssh_key.md index f66475bf45..983c723dc3 100644 --- a/docs/data-sources/iam_ssh_key.md +++ b/docs/data-sources/iam_ssh_key.md @@ -12,7 +12,7 @@ Use this data source to get SSH key information based on its ID or name. ```hcl # Get info by SSH key name data "scaleway_iam_ssh_key" "my_key" { - name = "my-key-name" + name = "my-key-name" } # Get info by SSH key id diff --git a/docs/data-sources/instance_image.md b/docs/data-sources/instance_image.md index 280e0dbfce..eec6aff1bc 100644 --- a/docs/data-sources/instance_image.md +++ b/docs/data-sources/instance_image.md @@ -12,7 +12,7 @@ Gets information about an instance image. ```hcl # Get info by image name data "scaleway_instance_image" "my_image" { - name = "my-image-name" + name = "my-image-name" } # Get info by image id diff --git a/docs/data-sources/instance_placement_group.md b/docs/data-sources/instance_placement_group.md index f24072fffe..575ef6e4e5 100644 --- a/docs/data-sources/instance_placement_group.md +++ b/docs/data-sources/instance_placement_group.md @@ -12,7 +12,7 @@ Gets information about a Security Group. ```hcl # Get info by placement group name data "scaleway_instance_placement_group" "my_key" { - name = "my-placement-group-name" + name = "my-placement-group-name" } # Get info by placement group id @@ -41,4 +41,4 @@ In addition to all above arguments, the following attributes are exported: - `policy_mode` -The [policy mode](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) of the placement group. - `tags` - A list of tags to apply to the placement group. - `policy_respected` - Is true when the policy is respected. -- `organization_id` - The organization ID the placement group is associated with. \ No newline at end of file +- `organization_id` - The organization ID the placement group is associated with. diff --git a/docs/data-sources/instance_private_nic.md b/docs/data-sources/instance_private_nic.md index 7a1d4de4d6..b7a7bcfabe 100644 --- a/docs/data-sources/instance_private_nic.md +++ b/docs/data-sources/instance_private_nic.md @@ -11,18 +11,18 @@ Gets information about an instance private NIC. ```hcl data "scaleway_instance_private_nic" "by_nic_id" { - server_id = "11111111-1111-1111-1111-111111111111" + server_id = "11111111-1111-1111-1111-111111111111" private_nic_id = "11111111-1111-1111-1111-111111111111" } data "scaleway_instance_private_nic" "by_pn_id" { - server_id = "11111111-1111-1111-1111-111111111111" + server_id = "11111111-1111-1111-1111-111111111111" private_network_id = "11111111-1111-1111-1111-111111111111" } data "scaleway_instance_private_nic" "by_tags" { server_id = "11111111-1111-1111-1111-111111111111" - tags = ["mytag"] + tags = ["mytag"] } ``` diff --git a/docs/data-sources/instance_security_group.md b/docs/data-sources/instance_security_group.md index 3650b33521..b2c3a15131 100644 --- a/docs/data-sources/instance_security_group.md +++ b/docs/data-sources/instance_security_group.md @@ -12,7 +12,7 @@ Gets information about a Security Group. ```hcl # Get info by security group name data "scaleway_instance_security_group" "my_key" { - name = "my-security-group-name" + name = "my-security-group-name" } # Get info by security group id diff --git a/docs/data-sources/instance_server.md b/docs/data-sources/instance_server.md index 1920dc15cd..4da026f99d 100644 --- a/docs/data-sources/instance_server.md +++ b/docs/data-sources/instance_server.md @@ -12,7 +12,7 @@ Gets information about an instance server. ```hcl # Get info by server name data "scaleway_instance_server" "my_key" { - name = "my-server-name" + name = "my-server-name" } # Get info by server id diff --git a/docs/data-sources/instance_servers.md b/docs/data-sources/instance_servers.md index c42311b751..62caf5271c 100644 --- a/docs/data-sources/instance_servers.md +++ b/docs/data-sources/instance_servers.md @@ -14,7 +14,7 @@ Gets information about multiple instance servers. ```hcl # Find servers by tag data "scaleway_instance_servers" "my_key" { - tags = ["tag"] + tags = ["tag"] } # Find servers by name and zone diff --git a/docs/data-sources/iot_device.md b/docs/data-sources/iot_device.md index 9ed7b7303a..c257d55887 100644 --- a/docs/data-sources/iot_device.md +++ b/docs/data-sources/iot_device.md @@ -17,7 +17,7 @@ data "scaleway_iot_device" "my_device" { # Get info by name and hub_id data "scaleway_iot_device" "my_device" { - name = "foobar" + name = "foobar" hub_id = "11111111-1111-1111-1111-111111111111" } diff --git a/docs/data-sources/ipam_ip.md b/docs/data-sources/ipam_ip.md index aa43649db0..43446c0680 100644 --- a/docs/data-sources/ipam_ip.md +++ b/docs/data-sources/ipam_ip.md @@ -27,20 +27,20 @@ Get an Instance's IP on a Private Network. ```terraform # Connect your instance to a private network using a private nic. resource "scaleway_instance_private_nic" "nic" { - server_id = scaleway_instance_server.server.id + server_id = scaleway_instance_server.server.id private_network_id = scaleway_vpc_private_network.pn.id } # Find server private IPv4 using private-nic mac address data "scaleway_ipam_ip" "by_mac" { mac_address = scaleway_instance_private_nic.nic.mac_address - type = "ipv4" + type = "ipv4" } # Find server private IPv4 using private-nic id data "scaleway_ipam_ip" "by_id" { resource { - id = scaleway_instance_private_nic.nic.id + id = scaleway_instance_private_nic.nic.id type = "instance_private_nic" } type = "ipv4" diff --git a/docs/data-sources/k8s_cluster.md b/docs/data-sources/k8s_cluster.md index ee51745f22..40934113e0 100644 --- a/docs/data-sources/k8s_cluster.md +++ b/docs/data-sources/k8s_cluster.md @@ -12,7 +12,7 @@ Gets information about a Kubernetes Cluster. ```hcl # Get info by cluster name data "scaleway_k8s_cluster" "my_key" { - name = "my-cluster-name" + name = "my-cluster-name" } # Get info by cluster id diff --git a/docs/data-sources/k8s_pool.md b/docs/data-sources/k8s_pool.md index 58494db0fb..6556cdfaeb 100644 --- a/docs/data-sources/k8s_pool.md +++ b/docs/data-sources/k8s_pool.md @@ -12,7 +12,7 @@ Gets information about a Kubernetes Cluster's Pool. ```hcl # Get info by pokl name (need cluster_id) data "scaleway_k8s_pool" "my_key" { - name = "my-pool-name" + name = "my-pool-name" cluster_id = "11111111-1111-1111-1111-111111111111" } diff --git a/docs/data-sources/lb.md b/docs/data-sources/lb.md index 2eae966769..5cdc87f903 100644 --- a/docs/data-sources/lb.md +++ b/docs/data-sources/lb.md @@ -45,4 +45,4 @@ In addition to all arguments above, the following attributes are exported: - `tags` - The tags associated with the Load Balancer. -- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the Load Balancer exists. \ No newline at end of file +- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the Load Balancer exists. diff --git a/docs/data-sources/lb_acls.md b/docs/data-sources/lb_acls.md index 35280e4902..e27a0dbad3 100644 --- a/docs/data-sources/lb_acls.md +++ b/docs/data-sources/lb_acls.md @@ -54,4 +54,4 @@ In addition to all arguments above, the following attributes are exported: - `http_filter` - The HTTP filter to match. - `http_filter_value` - The possible values to match for a given HTTP filter. - `http_filter_option` - A list of possible values for the HTTP filter based on the HTTP header. - - `invert` - The condition will be of type "unless" if invert is set to `true` \ No newline at end of file + - `invert` - The condition will be of type "unless" if invert is set to `true` diff --git a/docs/data-sources/lb_backend.md b/docs/data-sources/lb_backend.md index 3ecb7fd3b7..2123f11342 100644 --- a/docs/data-sources/lb_backend.md +++ b/docs/data-sources/lb_backend.md @@ -52,4 +52,4 @@ The following arguments are supported: ## Attributes Reference -See the [Load Balancer backend resource](../resources/lb_backend.md) for details on the returned attributes - they are identical. \ No newline at end of file +See the [Load Balancer backend resource](../resources/lb_backend.md) for details on the returned attributes - they are identical. diff --git a/docs/data-sources/lb_certificate.md b/docs/data-sources/lb_certificate.md index 0ce65571e8..7cb9d68981 100644 --- a/docs/data-sources/lb_certificate.md +++ b/docs/data-sources/lb_certificate.md @@ -20,26 +20,26 @@ resource scaleway_lb_ip main { } resource scaleway_lb main { - ip_id = scaleway_lb_ip.main.id - name = "data-test-lb-cert" - type = "LB-S" + ip_id = scaleway_lb_ip.main.id + name = "data-test-lb-cert" + type = "LB-S" } resource scaleway_lb_certificate main { - lb_id = scaleway_lb.main.id - name = "data-test-lb-cert" - letsencrypt { - common_name = "${replace(scaleway_lb.main.ip_address, ".", "-")}.lb.${scaleway_lb.main.region}.scw.cloud" - } + lb_id = scaleway_lb.main.id + name = "data-test-lb-cert" + letsencrypt { + common_name = "${replace(scaleway_lb.main.ip_address, ".", "-")}.lb.${scaleway_lb.main.region}.scw.cloud" + } } data "scaleway_lb_certificate" "byID" { - certificate_id = "${scaleway_lb_certificate.main.id}" + certificate_id = "${scaleway_lb_certificate.main.id}" } data "scaleway_lb_certificate" "byName" { - name = "${scaleway_lb_certificate.main.name}" - lb_id = "${scaleway_lb.main.id}" + name = "${scaleway_lb_certificate.main.name}" + lb_id = "${scaleway_lb.main.id}" } ``` @@ -57,4 +57,4 @@ The following arguments are supported: ## Attributes Reference -See the [Load Balancer certificate resource](../resources/lb_certificate.md) for details on the returned attributes - they are identical. \ No newline at end of file +See the [Load Balancer certificate resource](../resources/lb_certificate.md) for details on the returned attributes - they are identical. diff --git a/docs/data-sources/lb_frontend.md b/docs/data-sources/lb_frontend.md index 8e073c98bb..7f18bdb401 100644 --- a/docs/data-sources/lb_frontend.md +++ b/docs/data-sources/lb_frontend.md @@ -54,4 +54,4 @@ The following arguments are supported: ## Attributes Reference -See the [Load Balancer frontend resource](../resources/lb_frontend.md) for details on the returned attributes - they are identical. \ No newline at end of file +See the [Load Balancer frontend resource](../resources/lb_frontend.md) for details on the returned attributes - they are identical. diff --git a/docs/data-sources/lb_frontends.md b/docs/data-sources/lb_frontends.md index 6a4a68cc8a..85413e0b43 100644 --- a/docs/data-sources/lb_frontends.md +++ b/docs/data-sources/lb_frontends.md @@ -14,12 +14,12 @@ For more information, see the [main documentation](https://www.scaleway.com/en/d ```hcl # Find frontends that share the same LB ID data "scaleway_lb_frontends" "byLBID" { - lb_id = "${scaleway_lb.lb01.id}" + lb_id = "${scaleway_lb.lb01.id}" } # Find frontends by LB ID and name data "scaleway_lb_frontends" "byLBID_and_name" { - lb_id = "${scaleway_lb.lb01.id}" - name = "tf-frontend-datasource" + lb_id = "${scaleway_lb.lb01.id}" + name = "tf-frontend-datasource" } ``` diff --git a/docs/data-sources/lb_ips.md b/docs/data-sources/lb_ips.md index aae4f404ed..b1a2cea1f3 100644 --- a/docs/data-sources/lb_ips.md +++ b/docs/data-sources/lb_ips.md @@ -19,12 +19,12 @@ data "scaleway_lb_ips" "my_key" { # Find IPs by CIDR block and zone data "scaleway_lb_ips" "my_key" { ip_cidr_range = "0.0.0.0/0" - zone = "fr-par-2" + zone = "fr-par-2" } # Find IPs that share the same tags and type data "scaleway_lb_ips" "ips_by_tags_and_type" { - tags = [ "a tag" ] + tags = ["a tag"] ip_type = "ipv4" } ``` @@ -50,4 +50,4 @@ In addition to all arguments above, the following attributes are exported: - `zone` - The [zone](../guides/regions_and_zones.md#zones) of the Load Balancer. - `reverse` - The reverse domain associated with this IP. - `organization_id` - The ID of the Organization the Load Balancer is associated with. - - `project_id` - The ID of the Project the Load Balancer is associated with. \ No newline at end of file + - `project_id` - The ID of the Project the Load Balancer is associated with. diff --git a/docs/data-sources/lb_route.md b/docs/data-sources/lb_route.md index 8d872543f3..7136a0eec6 100644 --- a/docs/data-sources/lb_route.md +++ b/docs/data-sources/lb_route.md @@ -48,4 +48,4 @@ The following argument is supported: ## Attributes Reference -See the [Load Balancer route resource](../resources/lb_route.md) for details on the returned attributes - they are identical. \ No newline at end of file +See the [Load Balancer route resource](../resources/lb_route.md) for details on the returned attributes - they are identical. diff --git a/docs/data-sources/lbs.md b/docs/data-sources/lbs.md index feeb9c8835..0f3098d7da 100644 --- a/docs/data-sources/lbs.md +++ b/docs/data-sources/lbs.md @@ -25,7 +25,7 @@ data "scaleway_lbs" "my_key" { # Find LBs that share the same tags data "scaleway_lbs" "lbs_by_tags" { - tags = [ "a tag" ] + tags = ["a tag"] } ``` diff --git a/docs/data-sources/marketplace_image.md b/docs/data-sources/marketplace_image.md index 0835038d93..a1581fcfee 100644 --- a/docs/data-sources/marketplace_image.md +++ b/docs/data-sources/marketplace_image.md @@ -11,7 +11,7 @@ Gets local image ID of an image from its label name. ```hcl data "scaleway_marketplace_image" "my_image" { - label = "ubuntu_jammy" + label = "ubuntu_jammy" } ``` diff --git a/docs/data-sources/mongodb_instance.md b/docs/data-sources/mongodb_instance.md index f8302050d8..f37427cdc4 100644 --- a/docs/data-sources/mongodb_instance.md +++ b/docs/data-sources/mongodb_instance.md @@ -25,7 +25,7 @@ data "scaleway_mongodb_instance" "my_instance" { # Get other attributes output "mongodb_version" { description = "Version of the MongoDB instance" - value = data.scaleway_mongodb_instance.my_instance.version + value = data.scaleway_mongodb_instance.my_instance.version } ``` diff --git a/docs/data-sources/object_bucket.md b/docs/data-sources/object_bucket.md index c16ab75c0f..13657b0c93 100644 --- a/docs/data-sources/object_bucket.md +++ b/docs/data-sources/object_bucket.md @@ -18,10 +18,10 @@ The following commands allow you to: ```hcl resource "scaleway_object_bucket" "main" { - name = "bucket.test.com" - tags = { - foo = "bar" - } + name = "bucket.test.com" + tags = { + foo = "bar" + } } data "scaleway_object_bucket" "selected" { @@ -33,7 +33,7 @@ data "scaleway_object_bucket" "selected" { ```hcl data "scaleway_object_bucket" "selected" { - name = "bucket.test.com" + name = "bucket.test.com" project_id = "11111111-1111-1111-1111-111111111111" } ``` @@ -58,4 +58,4 @@ In addition to all above arguments, the following attribute is exported: ~> **Important:** Object buckets' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{name}`, e.g. `fr-par/bucket-name` -* `endpoint` - The endpoint URL of the bucket \ No newline at end of file +* `endpoint` - The endpoint URL of the bucket diff --git a/docs/data-sources/object_bucket_policy.md b/docs/data-sources/object_bucket_policy.md index df0b9faf3f..5c2bb063cc 100644 --- a/docs/data-sources/object_bucket_policy.md +++ b/docs/data-sources/object_bucket_policy.md @@ -15,7 +15,7 @@ The following command allows you to retrieve a bucket policy by its bucket. ```hcl data "scaleway_object_bucket_policy" "main" { - bucket = "bucket.test.com" + bucket = "bucket.test.com" } ``` diff --git a/docs/data-sources/rdb_database_backup.md b/docs/data-sources/rdb_database_backup.md index c7501792ac..c3d97d3a49 100644 --- a/docs/data-sources/rdb_database_backup.md +++ b/docs/data-sources/rdb_database_backup.md @@ -11,7 +11,7 @@ Gets information about an RDB backup. ```hcl data scaleway_rdb_database_backup find_by_name { - name = "mybackup" + name = "mybackup" } data scaleway_rdb_database_backup find_by_name_and_instance { diff --git a/docs/data-sources/rdb_instance.md b/docs/data-sources/rdb_instance.md index 874eb47ea8..f3b4dda47c 100644 --- a/docs/data-sources/rdb_instance.md +++ b/docs/data-sources/rdb_instance.md @@ -25,7 +25,7 @@ data "scaleway_rdb_instance" "my_instance" { # Get other attributes output "load_balancer_ip_addr" { description = "IP address of load balancer" - value = data.scaleway_rdb_instance.my_instance.load_balancer.0.ip + value = data.scaleway_rdb_instance.my_instance.load_balancer.0.ip } ``` diff --git a/docs/data-sources/registry_image.md b/docs/data-sources/registry_image.md index 7569fcc86f..6dac7112e1 100644 --- a/docs/data-sources/registry_image.md +++ b/docs/data-sources/registry_image.md @@ -17,7 +17,7 @@ data "scaleway_registry_image" "my_image" { # Get info by image ID data "scaleway_registry_image" "my_image" { - image_id = "11111111-1111-1111-1111-111111111111" + image_id = "11111111-1111-1111-1111-111111111111" namespace_id = "11111111-1111-1111-1111-111111111111" # Optional } ``` diff --git a/docs/data-sources/registry_image_tag.md b/docs/data-sources/registry_image_tag.md index bd6827498f..7611d055ae 100644 --- a/docs/data-sources/registry_image_tag.md +++ b/docs/data-sources/registry_image_tag.md @@ -12,13 +12,13 @@ Gets information about a specific tag of a Container Registry image. ```hcl # Get info by tag ID data "scaleway_registry_image_tag" "my_image_tag" { - tag_id = "11111111-1111-1111-1111-111111111111" + tag_id = "11111111-1111-1111-1111-111111111111" } # Get info by name and image_id data "scaleway_registry_image_tag" "my_image_tag" { -name = "my-tag-name" -image_id = "22222222-2222-2222-2222-222222222222" + name = "my-tag-name" + image_id = "22222222-2222-2222-2222-222222222222" } ``` @@ -55,4 +55,4 @@ In addition to all above arguments, the following attributes are exported: - `endpoint` - The endpoint where the registry image tag is accessible. -- `organization_id` - The organization ID the image tag is associated with. \ No newline at end of file +- `organization_id` - The organization ID the image tag is associated with. diff --git a/docs/data-sources/vpc_gateway_network.md b/docs/data-sources/vpc_gateway_network.md index 4796989476..51f7c9a111 100644 --- a/docs/data-sources/vpc_gateway_network.md +++ b/docs/data-sources/vpc_gateway_network.md @@ -11,20 +11,20 @@ Gets information about a GatewayNetwork (a connection between a Public Gateway a ```hcl resource "scaleway_vpc_gateway_network" "main" { - gateway_id = scaleway_vpc_public_gateway.pg01.id + gateway_id = scaleway_vpc_public_gateway.pg01.id private_network_id = scaleway_vpc_private_network.pn01.id - dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp01.id + dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp01.id cleanup_dhcp = true enable_masquerade = true } data scaleway_vpc_gateway_network by_id { - gateway_network_id = scaleway_vpc_gateway_network.main.id + gateway_network_id = scaleway_vpc_gateway_network.main.id } data scaleway_vpc_gateway_network by_gateway_and_pn { - gateway_id = scaleway_vpc_public_gateway.pg01.id - private_network_id = scaleway_vpc_private_network.pn01.id + gateway_id = scaleway_vpc_public_gateway.pg01.id + private_network_id = scaleway_vpc_private_network.pn01.id } ``` diff --git a/docs/data-sources/vpc_public_gateway_dhcp.md b/docs/data-sources/vpc_public_gateway_dhcp.md index 46989b1e9e..1ae9470367 100644 --- a/docs/data-sources/vpc_public_gateway_dhcp.md +++ b/docs/data-sources/vpc_public_gateway_dhcp.md @@ -19,7 +19,7 @@ resource "scaleway_vpc_public_gateway_dhcp" "main" { } data "scaleway_vpc_public_gateway_dhcp" "dhcp_by_id" { - dhcp_id = "${scaleway_vpc_public_gateway_dhcp.main.id}" + dhcp_id = "${scaleway_vpc_public_gateway_dhcp.main.id}" } ``` diff --git a/docs/data-sources/vpc_public_gateway_ip.md b/docs/data-sources/vpc_public_gateway_ip.md index c9b490fa56..99030325a8 100644 --- a/docs/data-sources/vpc_public_gateway_ip.md +++ b/docs/data-sources/vpc_public_gateway_ip.md @@ -16,7 +16,7 @@ resource "scaleway_vpc_public_gateway_ip" "main" { } data "scaleway_vpc_public_gateway_ip" "ip_by_id" { - ip_id = "${scaleway_vpc_public_gateway_ip.main.id}" + ip_id = "${scaleway_vpc_public_gateway_ip.main.id}" } ``` diff --git a/docs/data-sources/vpc_public_gateway_pat_rule.md b/docs/data-sources/vpc_public_gateway_pat_rule.md index 0ca0d87828..f702e19cee 100644 --- a/docs/data-sources/vpc_public_gateway_pat_rule.md +++ b/docs/data-sources/vpc_public_gateway_pat_rule.md @@ -12,7 +12,7 @@ Gets information about a Public Gateway PAT rule. For further information, pleas ```terraform resource "scaleway_instance_security_group" "sg01" { - inbound_default_policy = "drop" + inbound_default_policy = "drop" outbound_default_policy = "accept" inbound_rule { diff --git a/docs/data-sources/vpc_routes.md b/docs/data-sources/vpc_routes.md index 3e654ce02c..0a596edbc3 100644 --- a/docs/data-sources/vpc_routes.md +++ b/docs/data-sources/vpc_routes.md @@ -21,7 +21,7 @@ resource scaleway_vpc_private_network pn01 { } resource scaleway_vpc_private_network pn02 { - name = "tf-pn_route-2" + name = "tf-pn_route-2" vpc_id = scaleway_vpc.vpc01.id } @@ -76,4 +76,4 @@ In addition to all arguments above, the following attributes are exported: - `destination` - The destination IP or IP range of the route. - `description` - The description of the route. - `nexthop_ip` - The IP of the route's next hop. - - `nexthop_name` - The name of the route's next hop. \ No newline at end of file + - `nexthop_name` - The name of the route's next hop. diff --git a/docs/data-sources/vpcs.md b/docs/data-sources/vpcs.md index 2b4d47c621..fc13ce1542 100644 --- a/docs/data-sources/vpcs.md +++ b/docs/data-sources/vpcs.md @@ -41,4 +41,4 @@ In addition to all arguments above, the following attributes are exported: - `created_at` - Date and time of VPC's creation (RFC 3339 format). - `updated_at` - Date and time of VPC's last update (RFC 3339 format). - `organization_id` - The Organization ID the VPC is associated with. - - `project_id` - The ID of the Project the VPC is associated with. \ No newline at end of file + - `project_id` - The ID of the Project the VPC is associated with. diff --git a/docs/data-sources/webhosting_offer.md b/docs/data-sources/webhosting_offer.md index f8afff2dd4..da913c9268 100644 --- a/docs/data-sources/webhosting_offer.md +++ b/docs/data-sources/webhosting_offer.md @@ -11,8 +11,8 @@ Gets information about a webhosting offer. ```hcl # Get info by offer name -data "scaleway_webhosting_offer" "by_name" { - name = "performance" +data "scaleway_webhosting_offer" "by_name" { + name = "performance" control_panel = "Cpanel" } diff --git a/docs/guides/backend_guide.md b/docs/guides/backend_guide.md index 1533d91189..2e328ed5fc 100644 --- a/docs/guides/backend_guide.md +++ b/docs/guides/backend_guide.md @@ -23,7 +23,7 @@ If you have already one database running you can step over to [Configuring your terraform { required_providers { scaleway = { - source = "scaleway/scaleway" + source = "scaleway/scaleway" version = "~> 2.2.8" } } @@ -43,14 +43,14 @@ resource "scaleway_rdb_database" "database" { } resource scaleway_rdb_instance main { - name = "your-backend-db" - node_type = "db-dev-s" - engine = "PostgreSQL-11" - is_ha_cluster = false - disable_backup = true - user_name = "my_initial_user" - password = "thiZ_is_v&ry_s3cret" - tags = [ "terraform-backend1" ] + name = "your-backend-db" + node_type = "db-dev-s" + engine = "PostgreSQL-11" + is_ha_cluster = false + disable_backup = true + user_name = "my_initial_user" + password = "thiZ_is_v&ry_s3cret" + tags = ["terraform-backend1"] } ``` @@ -174,6 +174,6 @@ This is useful when working on the same infrastructure or the same team. ```hcl data "scaleway_rdb_instance" "mybackend" { - name = "your-database-name" + name = "your-database-name" } -``` \ No newline at end of file +``` diff --git a/docs/guides/migrate-instance-volume-to-sbs.md b/docs/guides/migrate-instance-volume-to-sbs.md index 7e673b004d..80acc25ee5 100644 --- a/docs/guides/migrate-instance-volume-to-sbs.md +++ b/docs/guides/migrate-instance-volume-to-sbs.md @@ -44,16 +44,16 @@ If your infrastructure includes servers and explicit volumes. ```terraform resource scaleway_instance_volume "root_volume" { size_in_gb = 20 - type = "b_ssd" + type = "b_ssd" } resource scaleway_instance_volume "volume" { size_in_gb = 20 - type = "b_ssd" + type = "b_ssd" } resource scaleway_instance_server "server" { - type = "PLAY2-PICO" + type = "PLAY2-PICO" root_volume { volume_id = scaleway_instance_volume.root_volume.id } @@ -69,32 +69,32 @@ In this snippet, the `migrate_to_sbs` field will prevent the old volume state fr ```terraform resource scaleway_instance_volume "root_volume" { - size_in_gb = 20 - type = "b_ssd" + size_in_gb = 20 + type = "b_ssd" migrate_to_sbs = true # Mark migration to avoid failure } resource scaleway_block_volume "root_volume" { - size_in_gb = 20 - iops = 5000 # b_ssd is a 5000 iops volume + size_in_gb = 20 + iops = 5000 # b_ssd is a 5000 iops volume instance_volume_id = scaleway_instance_volume.root_volume.id # block resource will handle migration } resource scaleway_instance_volume "volume" { - size_in_gb = 20 - type = "b_ssd" + size_in_gb = 20 + type = "b_ssd" migrate_to_sbs = true # Mark migration to avoid failure } resource scaleway_block_volume "volume" { - size_in_gb = 20 - iops = 5000 # b_ssd is a 5000 iops volume + size_in_gb = 20 + iops = 5000 # b_ssd is a 5000 iops volume instance_volume_id = scaleway_instance_volume.volume.id # block resource will handle migration } resource scaleway_instance_server "server" { - type = "PLAY2-PICO" + type = "PLAY2-PICO" root_volume { volume_id = scaleway_block_volume.root_volume.id # Start using your new resource } @@ -111,20 +111,20 @@ Terraform's scaleway_instance_volume resource cannot delete a volume that has be ```terraform resource scaleway_block_volume "root_volume" { size_in_gb = 20 - iops = 5000 + iops = 5000 } resource scaleway_block_volume "volume" { size_in_gb = 20 - iops = 5000 + iops = 5000 } resource scaleway_instance_server "server" { - type = "PLAY2-PICO" + type = "PLAY2-PICO" root_volume { volume_id = scaleway_block_volume.root_volume.id } additional_volume_ids = [scaleway_block_volume.volume.id] } -``` \ No newline at end of file +``` diff --git a/docs/guides/migration_guide_cockpit_plan.md b/docs/guides/migration_guide_cockpit_plan.md index 832a330ed8..031cf0cb32 100644 --- a/docs/guides/migration_guide_cockpit_plan.md +++ b/docs/guides/migration_guide_cockpit_plan.md @@ -168,7 +168,7 @@ resource "scaleway_cockpit_source" "traces" { } resource "scaleway_cockpit_alert_manager" "alert_manager" { - project_id = scaleway_account_project.project.id + project_id = scaleway_account_project.project.id enable_managed_alerts = true } @@ -180,11 +180,11 @@ resource "scaleway_cockpit_grafana_user" "main" { output "endpoints" { value = { - metrics = scaleway_cockpit_source.metrics.url - logs = scaleway_cockpit_source.logs.url - traces = scaleway_cockpit_source.traces.url - alert_manager = scaleway_cockpit_alert_manager.alert_manager.alert_manager_url - grafana = scaleway_cockpit_grafana_user.main.grafana_url + metrics = scaleway_cockpit_source.metrics.url + logs = scaleway_cockpit_source.logs.url + traces = scaleway_cockpit_source.traces.url + alert_manager = scaleway_cockpit_alert_manager.alert_manager.alert_manager_url + grafana = scaleway_cockpit_grafana_user.main.grafana_url } } ``` diff --git a/docs/guides/migration_guide_v2.md b/docs/guides/migration_guide_v2.md index cc138504a0..22d832ffa9 100644 --- a/docs/guides/migration_guide_v2.md +++ b/docs/guides/migration_guide_v2.md @@ -22,7 +22,7 @@ Update to latest `1.X` version: terraform { required_providers { scaleway = { - source = "scaleway/scaleway" + source = "scaleway/scaleway" version = "~> 1.17" } } @@ -39,7 +39,7 @@ Update to latest 2.X version: terraform { required_providers { scaleway = { - source = "scaleway/scaleway" + source = "scaleway/scaleway" version = "~> 2.0" } } @@ -109,7 +109,7 @@ For instance, let's suppose that you have resource in `fr-par-1` such as: ```hcl-terraform provider "scaleway" { - zone= "fr-par-1" + zone = "fr-par-1" } resource scaleway_server main { @@ -146,7 +146,7 @@ Once this is done, refactor your terraform code to: ```hcl-terraform provider "scaleway" { - zone= "fr-par-1" + zone = "fr-par-1" } resource scaleway_instance_server main { @@ -185,11 +185,11 @@ v1.X: ```hcl resource "scaleway_instance_server" "web" { - type = "DEV1-S" + type = "DEV1-S" image = "ubuntu_jammy" user_data { - key = "foo" + key = "foo" value = "bar" } @@ -201,11 +201,11 @@ v2.X: ```hcl resource "scaleway_instance_server" "web" { - type = "DEV1-S" + type = "DEV1-S" image = "ubuntu_jammy" user_data = { - foo = "bar" + foo = "bar" cloud-init = file("cloud-init.yml") } } @@ -231,16 +231,16 @@ resource "scaleway_instance_volume" "data" { } resource "scaleway_instance_server" "web" { - type = "DEV1-L" + type = "DEV1-L" image = "ubuntu_jammy" - tags = [ "hello", "public" ] + tags = ["hello", "public"] root_volume { delete_on_termination = false } - additional_volume_ids = [ scaleway_instance_volume.data.id ] + additional_volume_ids = [scaleway_instance_volume.data.id] } ``` @@ -329,4 +329,4 @@ resource scaleway_lb main { name = "release-ip" type = "LB-S" } -``` \ No newline at end of file +``` diff --git a/docs/guides/migration_guide_vpcgw_v2.md b/docs/guides/migration_guide_vpcgw_v2.md index 0fb5734746..4380f92e16 100644 --- a/docs/guides/migration_guide_vpcgw_v2.md +++ b/docs/guides/migration_guide_vpcgw_v2.md @@ -100,10 +100,10 @@ Before updating your configuration, you must trigger the move to IPAM-mode on th ```hcl resource "scaleway_vpc_public_gateway" "main" { - name = "foobar" - type = "VPC-GW-S" - ip_id = scaleway_vpc_public_gateway_ip.main.id - move_to_ipam = true + name = "foobar" + type = "VPC-GW-S" + ip_id = scaleway_vpc_public_gateway_ip.main.id + move_to_ipam = true } ``` diff --git a/docs/guides/mnq_with_nats_terraform_provider.md b/docs/guides/mnq_with_nats_terraform_provider.md index 0e9df34ce4..08c5f2a29a 100644 --- a/docs/guides/mnq_with_nats_terraform_provider.md +++ b/docs/guides/mnq_with_nats_terraform_provider.md @@ -13,7 +13,7 @@ provider. Il will allow you to provision and manage NATS Jetstream resources. terraform { required_providers { scaleway = { - source = "scaleway/scaleway" + source = "scaleway/scaleway" } jetstream = { source = "nats-io/jetstream" @@ -29,7 +29,7 @@ resource "scaleway_mnq_nats_credentials" "creds" { } provider "jetstream" { - servers = scaleway_mnq_nats_account.account.endpoint + servers = scaleway_mnq_nats_account.account.endpoint credential_data = scaleway_mnq_nats_credentials.creds.file } diff --git a/docs/guides/multicloud_cluster_with_baremetal_servers.md b/docs/guides/multicloud_cluster_with_baremetal_servers.md index ac6bd4976e..3f534da99a 100644 --- a/docs/guides/multicloud_cluster_with_baremetal_servers.md +++ b/docs/guides/multicloud_cluster_with_baremetal_servers.md @@ -24,20 +24,20 @@ as a node by the apiserver. This can be achieved manually ([method A](#method-a- ############################################### resource "scaleway_k8s_cluster" "multicloud" { - name = "multicloud-cluster" - type = "multicloud" - version = "1.29.1" - cni = "kilo" - region = "fr-par" + name = "multicloud-cluster" + type = "multicloud" + version = "1.29.1" + cni = "kilo" + region = "fr-par" delete_additional_resources = false } resource "scaleway_k8s_pool" "pool" { - cluster_id = scaleway_k8s_cluster.multicloud.id - name = "multicloud-pool" - node_type = "external" - size = 0 - region = "fr-par" + cluster_id = scaleway_k8s_cluster.multicloud.id + name = "multicloud-pool" + node_type = "external" + size = 0 + region = "fr-par" } ############################################### @@ -46,7 +46,7 @@ resource "scaleway_k8s_pool" "pool" { # Select at least one SSH key to connect to your server resource "scaleway_iam_ssh_key" "key" { - name = "ssh-key" + name = "ssh-key" public_key = file("~/.ssh/id_ed25519.pub") } # Select the type of offer for your server @@ -55,14 +55,14 @@ data "scaleway_baremetal_offer" "offer" { } # Select the OS you want installed on your server data "scaleway_baremetal_os" "os" { - name = "Ubuntu" + name = "Ubuntu" version = "20.04 LTS (Focal Fossa)" } resource "scaleway_baremetal_server" "server" { - offer = data.scaleway_baremetal_offer.offer.name # The name of the Elastic Metal offer - os = data.scaleway_baremetal_os.os.id # The ID of the OS - ssh_key_ids = [scaleway_iam_ssh_key.key.id] # The list of SSH key IDs allowed to connect to the server + offer = data.scaleway_baremetal_offer.offer.name # The name of the Elastic Metal offer + os = data.scaleway_baremetal_os.os.id # The ID of the OS + ssh_key_ids = [scaleway_iam_ssh_key.key.id] # The list of SSH key IDs allowed to connect to the server zone = "fr-par-2" } ``` @@ -121,30 +121,30 @@ configuration instructions in the bare metal server spec. ```hcl # Put your secret key in a file on your local machine data "local_sensitive_file" "secret_key" { - filename = pathexpand("~/path/to/secret/key") + filename = pathexpand("~/path/to/secret/key") } resource "scaleway_baremetal_server" "server" { - offer = data.scaleway_baremetal_offer.offer.name - os = data.scaleway_baremetal_os.os.id - ssh_key_ids = [scaleway_iam_ssh_key.key.id] - - # Configure the SSH connexion used by Terraform for the remote execution - connection { - type = "ssh" - user = "ubuntu" - host = one([for k in self.ips : k if k.version == "IPv4"]).address # We look for the IPv4 in the list of IPs - } - - # Download and execute the configuration script - provisioner "remote-exec" { - inline = [ - "wget https://scwcontainermulticloud.s3.fr-par.scw.cloud/node-agent_linux_amd64 > log && chmod +x node-agent_linux_amd64", - "echo \"\nPOOL_ID=${split("/", scaleway_k8s_pool.pool.id)[1]}\nPOOL_REGION=${scaleway_k8s_pool.pool.region}\nSCW_SECRET_KEY=${data.local_sensitive_file.secret_key.content}\" >> log", - "export POOL_ID=${split("/", scaleway_k8s_pool.pool.id)[1]} POOL_REGION=${scaleway_k8s_pool.pool.region} SCW_SECRET_KEY=${data.local_sensitive_file.secret_key.content}", - "sudo ./node-agent_linux_amd64 -loglevel 0 -no-controller >> log", - ] - } + offer = data.scaleway_baremetal_offer.offer.name + os = data.scaleway_baremetal_os.os.id + ssh_key_ids = [scaleway_iam_ssh_key.key.id] + + # Configure the SSH connexion used by Terraform for the remote execution + connection { + type = "ssh" + user = "ubuntu" + host = one([for k in self.ips : k if k.version == "IPv4"]).address # We look for the IPv4 in the list of IPs + } + + # Download and execute the configuration script + provisioner "remote-exec" { + inline = [ + "wget https://scwcontainermulticloud.s3.fr-par.scw.cloud/node-agent_linux_amd64 > log && chmod +x node-agent_linux_amd64", + "echo \"\nPOOL_ID=${split("/", scaleway_k8s_pool.pool.id)[1]}\nPOOL_REGION=${scaleway_k8s_pool.pool.region}\nSCW_SECRET_KEY=${data.local_sensitive_file.secret_key.content}\" >> log", + "export POOL_ID=${split("/", scaleway_k8s_pool.pool.id)[1]} POOL_REGION=${scaleway_k8s_pool.pool.region} SCW_SECRET_KEY=${data.local_sensitive_file.secret_key.content}", + "sudo ./node-agent_linux_amd64 -loglevel 0 -no-controller >> log", + ] + } } ``` diff --git a/docs/guides/using-vpc-bastion-ssh.md b/docs/guides/using-vpc-bastion-ssh.md index 02a943ba9d..56d43bec8c 100644 --- a/docs/guides/using-vpc-bastion-ssh.md +++ b/docs/guides/using-vpc-bastion-ssh.md @@ -23,14 +23,14 @@ When you connect to a VM, it doesn't need a public IP address, client software, ```hcl provider "scaleway" { - zone = "fr-par-1" + zone = "fr-par-1" } ``` ```hcl variable "machine_count" { description = "Number of virtual machines in private network" - default = 3 + default = 3 } # SCALEWAY VPC PRIVATE NETWORK @@ -41,8 +41,8 @@ resource scaleway_vpc_private_network "pn" { # SCALEWAY VPC VIRTUAL MACHINES resource scaleway_instance_server "servers" { - count = var.machine_count - name = "machine${count.index}" + count = var.machine_count + name = "machine${count.index}" image = "ubuntu_focal" type = "DEV1-S" } @@ -82,9 +82,9 @@ Example: ```hcl resource scaleway_vpc_public_gateway "pgw" { - type = "VPC-GW-S" + type = "VPC-GW-S" bastion_enabled = true - ip_id = scaleway_vpc_public_gateway_ip.pgw_ip.id + ip_id = scaleway_vpc_public_gateway_ip.pgw_ip.id } ``` @@ -102,7 +102,7 @@ Please check our API [documentation](https://www.scaleway.com/en/developers/api/ ```hcl resource scaleway_vpc_public_gateway_dhcp "dhcp" { - subnet = "192.168.1.0/24" + subnet = "192.168.1.0/24" dns_local_name = scaleway_vpc_private_network.pn.name } ``` @@ -114,10 +114,10 @@ Do not set the `address` attribute. ```hcl resource scaleway_vpc_gateway_network "gn" { - gateway_id = scaleway_vpc_public_gateway.pgw.id - private_network_id = scaleway_vpc_private_network.pn.id - dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp.id - enable_dhcp = true + gateway_id = scaleway_vpc_public_gateway.pgw.id + private_network_id = scaleway_vpc_private_network.pn.id + dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp.id + enable_dhcp = true } ``` @@ -136,4 +136,4 @@ Then try to connect to it: ssh root@.myprivatenetwork ``` -For further information using our console please check [our dedicated documentation](https://www.scaleway.com/en/docs/public-gateways/how-to/use-ssh-bastion/). \ No newline at end of file +For further information using our console please check [our dedicated documentation](https://www.scaleway.com/en/docs/public-gateways/how-to/use-ssh-bastion/). diff --git a/docs/index.md b/docs/index.md index b1be39230c..f543a02c92 100644 --- a/docs/index.md +++ b/docs/index.md @@ -68,13 +68,13 @@ resource "scaleway_instance_ip" "public_ip_backup" { resource "scaleway_block_volume" "data" { project_id = var.project_id size_in_gb = 30 - iops = 5000 + iops = 5000 } resource "scaleway_block_volume" "data_backup" { project_id = var.project_id size_in_gb = 10 - iops = 5000 + iops = 5000 } resource "scaleway_instance_security_group" "www" { diff --git a/docs/resources/account_project.md b/docs/resources/account_project.md index 8623c00fa0..da620fb7d7 100644 --- a/docs/resources/account_project.md +++ b/docs/resources/account_project.md @@ -33,7 +33,7 @@ provider "scaleway" { resource scaleway_account_project "project" { provider = scaleway.tmp - name = "my_project" + name = "my_project" } provider "scaleway" { diff --git a/docs/resources/account_ssh_key.md b/docs/resources/account_ssh_key.md index 160c530b51..8972d86927 100644 --- a/docs/resources/account_ssh_key.md +++ b/docs/resources/account_ssh_key.md @@ -15,8 +15,8 @@ Refer to the Organizations and Projects [documentation](https://www.scaleway.com ```terraform resource "scaleway_account_ssh_key" "main" { - name = "main" - public_key = "" + name = "main" + public_key = "" } ``` diff --git a/docs/resources/apple_silicon_server.md b/docs/resources/apple_silicon_server.md index 86f72baee6..4c7e3ab08b 100644 --- a/docs/resources/apple_silicon_server.md +++ b/docs/resources/apple_silicon_server.md @@ -14,8 +14,8 @@ see the [API documentation](https://www.scaleway.com/en/developers/api/apple-sil ```terraform resource scaleway_apple_silicon_server server { - name = "test-m1" - type = "M1-M" + name = "test-m1" + type = "M1-M" } ``` diff --git a/docs/resources/baremetal_server.md b/docs/resources/baremetal_server.md index 976457e481..c3b64a653f 100644 --- a/docs/resources/baremetal_server.md +++ b/docs/resources/baremetal_server.md @@ -13,7 +13,7 @@ Creates and manages Scaleway Compute Baremetal servers. For more information, se ```terraform data "scaleway_iam_ssh_key" "my_ssh_key" { - name = "main" + name = "main" public_key = "ssh XXXXXXXXXXX" } @@ -23,7 +23,7 @@ data "scaleway_baremetal_offer" "my_offer" { } resource "scaleway_baremetal_server" "my_server" { - zone = "fr-par-2" + zone = "fr-par-2" offer = data.scaleway_baremetal_offer.my_offer.offer_id os = "d17d6872-0412-45d9-a198-af82c34d3c5c" ssh_key_ids = [data.scaleway_iam_ssh_key.my_ssh_key.id] @@ -34,7 +34,7 @@ resource "scaleway_baremetal_server" "my_server" { ```terraform data "scaleway_iam_ssh_key" "my_ssh_key" { - name = "main" + name = "main" public_key = "ssh XXXXXXXXXXX" } @@ -79,7 +79,7 @@ resource "scaleway_baremetal_server" "base" { ```terraform data "scaleway_iam_ssh_key" "my_ssh_key" { - name = "main" + name = "main" public_key = "ssh XXXXXXXXXXX" } @@ -123,11 +123,11 @@ resource "scaleway_baremetal_server" "my_server" { ```terraform resource "scaleway_vpc" "vpc01" { - name = "vpc_baremetal" + name = "vpc_baremetal" } resource "scaleway_vpc_private_network" "pn01" { - name = "private_network_baremetal" + name = "private_network_baremetal" ipv4_subnet { subnet = "172.16.64.0/22" } @@ -142,13 +142,13 @@ resource "scaleway_ipam_ip" "ip01" { } data "scaleway_iam_ssh_key" "my_ssh_key" { - name = "main" + name = "main" public_key = "ssh XXXXXXXXXXX" } data "scaleway_baremetal_os" "my_os" { - zone = "fr-par-1" - name = "Ubuntu" + zone = "fr-par-1" + name = "Ubuntu" version = "22.04 LTS (Jammy Jellyfish)" } @@ -172,7 +172,7 @@ resource "scaleway_baremetal_server" "my_server" { id = data.scaleway_baremetal_option.private_network.option_id } private_network { - id = scaleway_vpc_private_network.pn01.id + id = scaleway_vpc_private_network.pn01.id ipam_ip_ids = [scaleway_ipam_ip.ip01.id] } } @@ -187,7 +187,7 @@ data "scaleway_baremetal_offer" "my_offer" { } resource "scaleway_baremetal_server" "my_server" { - zone = "fr-par-2" + zone = "fr-par-2" offer = data.scaleway_baremetal_offer.my_offer.offer_id install_config_afterward = true } @@ -197,7 +197,7 @@ resource "scaleway_baremetal_server" "my_server" { ```terraform variable "configCustomPartitioning" { - default ="{\"disks\":[{\"device\":\"/dev/nvme0n1\",\"partitions\":[{\"label\":\"uefi\",\"number\":1,\"size\":536870912,\"useAllAvailableSpace\":false},{\"label\":\"boot\",\"number\":2,\"size\":536870912,\"useAllAvailableSpace\":false},{\"label\":\"root\",\"number\":3,\"size\":1018839433216,\"useAllAvailableSpace\":false}]},{\"device\":\"/dev/nvme1n1\",\"partitions\":[{\"label\":\"boot\",\"number\":1,\"size\":536870912,\"useAllAvailableSpace\":false},{\"label\":\"data\",\"number\":2,\"size\":1018839433216,\"useAllAvailableSpace\":false}]}],\"filesystems\":[{\"device\":\"/dev/nvme0n1p1\",\"format\":\"fat32\",\"mountpoint\":\"/boot/efi\"},{\"device\":\"/dev/nvme0n1p2\",\"format\":\"ext4\",\"mountpoint\":\"/boot\"},{\"device\":\"/dev/nvme0n1p3\",\"format\":\"ext4\",\"mountpoint\":\"/\"},{\"device\":\"/dev/nvme1n1p2\",\"format\":\"ext4\",\"mountpoint\":\"/data\"}],\"raids\":[]}" + default = "{\"disks\":[{\"device\":\"/dev/nvme0n1\",\"partitions\":[{\"label\":\"uefi\",\"number\":1,\"size\":536870912,\"useAllAvailableSpace\":false},{\"label\":\"boot\",\"number\":2,\"size\":536870912,\"useAllAvailableSpace\":false},{\"label\":\"root\",\"number\":3,\"size\":1018839433216,\"useAllAvailableSpace\":false}]},{\"device\":\"/dev/nvme1n1\",\"partitions\":[{\"label\":\"boot\",\"number\":1,\"size\":536870912,\"useAllAvailableSpace\":false},{\"label\":\"data\",\"number\":2,\"size\":1018839433216,\"useAllAvailableSpace\":false}]}],\"filesystems\":[{\"device\":\"/dev/nvme0n1p1\",\"format\":\"fat32\",\"mountpoint\":\"/boot/efi\"},{\"device\":\"/dev/nvme0n1p2\",\"format\":\"ext4\",\"mountpoint\":\"/boot\"},{\"device\":\"/dev/nvme0n1p3\",\"format\":\"ext4\",\"mountpoint\":\"/\"},{\"device\":\"/dev/nvme1n1p2\",\"format\":\"ext4\",\"mountpoint\":\"/data\"}],\"raids\":[]}" } data "scaleway_baremetal_os" "my_os" { @@ -207,26 +207,26 @@ data "scaleway_baremetal_os" "my_os" { } resource "scaleway_iam_ssh_key" "my_ssh_key" { - name = "my_ssh_key" + name = "my_ssh_key" public_key = "ssh XXXXXXXXXXX" } data "scaleway_baremetal_offer" "my_offer" { - zone = "fr-par-1" - name = "EM-B220E-NVME" + zone = "fr-par-1" + name = "EM-B220E-NVME" subscription_period = "hourly" } resource "scaleway_baremetal_server" "my_server" { - name = "my_super_server" - zone = "fr-par-1" - description = "test a description" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - os = data.scaleway_baremetal_os.my_os.os_id + name = "my_super_server" + zone = "fr-par-1" + description = "test a description" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + os = data.scaleway_baremetal_os.my_os.os_id partitioning = var.configCustomPartitioning - tags = [ "terraform-test", "scaleway_baremetal_server", "minimal" ] - ssh_key_ids = [ scaleway_iam_ssh_key.my_ssh_key.id ] + tags = ["terraform-test", "scaleway_baremetal_server", "minimal"] + ssh_key_ids = [scaleway_iam_ssh_key.my_ssh_key.id] } ``` @@ -240,15 +240,15 @@ You cannot directly modify the subscription_period of an existing scaleway_barem ```terraform data "scaleway_baremetal_offer" "my_offer" { - zone = "fr-par-1" - name = "EM-B220E-NVME" + zone = "fr-par-1" + name = "EM-B220E-NVME" subscription_period = "hourly" } resource "scaleway_baremetal_server" "my_server" { - name = "UpdateSubscriptionPeriod" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - zone = "%s" + name = "UpdateSubscriptionPeriod" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + zone = "%s" install_config_afterward = true } ``` @@ -257,15 +257,15 @@ resource "scaleway_baremetal_server" "my_server" { ```terraform data "scaleway_baremetal_offer" "my_offer" { - zone = "fr-par-1" - name = "EM-B220E-NVME" + zone = "fr-par-1" + name = "EM-B220E-NVME" subscription_period = "monthly" } resource "scaleway_baremetal_server" "my_server" { - name = "UpdateSubscriptionPeriod" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - zone = "fr-par-1" + name = "UpdateSubscriptionPeriod" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + zone = "fr-par-1" install_config_afterward = true } ``` diff --git a/docs/resources/cockpit.md b/docs/resources/cockpit.md index 2f469b3591..55bfa4ff79 100644 --- a/docs/resources/cockpit.md +++ b/docs/resources/cockpit.md @@ -51,9 +51,9 @@ resource "scaleway_cockpit" "main" { // Use the Grafana Terraform provider to create a Grafana user and a Grafana folder in the default Project's Cockpit resource "scaleway_cockpit_grafana_user" "main" { - project_id = scaleway_cockpit.main.project_id - login = "example" - role = "editor" + project_id = scaleway_cockpit.main.project_id + login = "example" + role = "editor" } resource "scaleway_cockpit" "main" {} diff --git a/docs/resources/cockpit_alert_manager.md b/docs/resources/cockpit_alert_manager.md index 25ce20b08e..2320635371 100644 --- a/docs/resources/cockpit_alert_manager.md +++ b/docs/resources/cockpit_alert_manager.md @@ -27,16 +27,16 @@ resource "scaleway_account_project" "project" { } resource "scaleway_cockpit_alert_manager" "alert_manager" { - project_id = scaleway_account_project.project.id - enable_managed_alerts = true + project_id = scaleway_account_project.project.id + enable_managed_alerts = true contact_points { - email = "alert1@example.com" - } + email = "alert1@example.com" + } contact_points { - email = "alert2@example.com" - } + email = "alert2@example.com" + } } ``` diff --git a/docs/resources/cockpit_grafana_user.md b/docs/resources/cockpit_grafana_user.md index 62aa24a5d4..0484ba599b 100644 --- a/docs/resources/cockpit_grafana_user.md +++ b/docs/resources/cockpit_grafana_user.md @@ -22,8 +22,8 @@ resource "scaleway_account_project" "project" { resource "scaleway_cockpit_grafana_user" "main" { project_id = scaleway_account_project.project.id - login = "my-awesome-user" - role = "editor" + login = "my-awesome-user" + role = "editor" } ``` diff --git a/docs/resources/cockpit_source.md b/docs/resources/cockpit_source.md index 0a6946835f..5f90629ae5 100644 --- a/docs/resources/cockpit_source.md +++ b/docs/resources/cockpit_source.md @@ -17,14 +17,14 @@ The following command allows you to create a [metrics](https://www.scaleway.com/ ```terraform resource "scaleway_account_project" "project" { - name = "test project data source" + name = "test project data source" } resource "scaleway_cockpit_source" "main" { - project_id = scaleway_account_project.project.id - name = "my-data-source" - type = "metrics" - retention_days = 6 + project_id = scaleway_account_project.project.id + name = "my-data-source" + type = "metrics" + retention_days = 6 } ``` diff --git a/docs/resources/cockpit_token.md b/docs/resources/cockpit_token.md index b2241cd91d..6fa40da584 100644 --- a/docs/resources/cockpit_token.md +++ b/docs/resources/cockpit_token.md @@ -39,7 +39,7 @@ resource "scaleway_account_project" "project" { // Create a token that can read metrics and logs but not write resource "scaleway_cockpit_token" "main" { project_id = scaleway_account_project.project.id - + name = "my-awesome-token" scopes { query_metrics = true diff --git a/docs/resources/container.md b/docs/resources/container.md index 05cd4ead5b..af7ac7ac4c 100644 --- a/docs/resources/container.md +++ b/docs/resources/container.md @@ -15,32 +15,32 @@ For more information on the limitations of Serverless Containers, refer to the [ ```terraform resource scaleway_container_namespace main { - name = "my-ns-test" - description = "test container" + name = "my-ns-test" + description = "test container" } resource scaleway_container main { - name = "my-container-02" - description = "environment variables test" - namespace_id = scaleway_container_namespace.main.id - registry_image = "${scaleway_container_namespace.main.registry_endpoint}/alpine:test" - port = 9997 - cpu_limit = 140 - memory_limit = 256 - min_scale = 3 - max_scale = 5 - timeout = 600 - max_concurrency = 80 - privacy = "private" - protocol = "http1" - deploy = true - - environment_variables = { - "foo" = "var" - } - secret_environment_variables = { - "key" = "secret" - } + name = "my-container-02" + description = "environment variables test" + namespace_id = scaleway_container_namespace.main.id + registry_image = "${scaleway_container_namespace.main.registry_endpoint}/alpine:test" + port = 9997 + cpu_limit = 140 + memory_limit = 256 + min_scale = 3 + max_scale = 5 + timeout = 600 + max_concurrency = 80 + privacy = "private" + protocol = "http1" + deploy = true + + environment_variables = { + "foo" = "var" + } + secret_environment_variables = { + "key" = "secret" + } } ``` @@ -180,16 +180,16 @@ Example: ```terraform resource scaleway_container main { - name = "my-container-02" - namespace_id = scaleway_container_namespace.main.id - - health_check { - http { - path = "/ping" - } - failure_threshold = 40 - interval = "3s" + name = "my-container-02" + namespace_id = scaleway_container_namespace.main.id + + health_check { + http { + path = "/ping" } + failure_threshold = 40 + interval = "3s" + } } ``` @@ -207,12 +207,12 @@ Example: ```terraform resource scaleway_container main { - name = "my-container-02" - namespace_id = scaleway_container_namespace.main.id + name = "my-container-02" + namespace_id = scaleway_container_namespace.main.id - scaling_option { - concurrent_requests_threshold = 15 - } + scaling_option { + concurrent_requests_threshold = 15 + } } ``` diff --git a/docs/resources/container_cron.md b/docs/resources/container_cron.md index b498404671..73fe044c8f 100644 --- a/docs/resources/container_cron.md +++ b/docs/resources/container_cron.md @@ -18,31 +18,31 @@ resource scaleway_container_namespace main { } resource scaleway_container main { - name = "my-container-with-cron-tf" - namespace_id = scaleway_container_namespace.main.id + name = "my-container-with-cron-tf" + namespace_id = scaleway_container_namespace.main.id } resource scaleway_container_cron main { - container_id = scaleway_container.main.id - name = "my-cron-name" - schedule = "5 4 1 * *" #cron at 04:05 on day-of-month 1 - args = jsonencode( + container_id = scaleway_container.main.id + name = "my-cron-name" + schedule = "5 4 1 * *" #cron at 04:05 on day-of-month 1 + args = jsonencode( { - address = { - city = "Paris" - country = "FR" - } - age = 23 - firstName = "John" - isAlive = true - lastName = "Smith" - # minScale: 1 - # memoryLimit: 256 - # maxScale: 2 - # timeout: 20000 - # Local environment variables - used only in given function + address = { + city = "Paris" + country = "FR" + } + age = 23 + firstName = "John" + isAlive = true + lastName = "Smith" + # minScale: 1 + # memoryLimit: 256 + # maxScale: 2 + # timeout: 20000 + # Local environment variables - used only in given function } - ) + ) } ``` diff --git a/docs/resources/container_domain.md b/docs/resources/container_domain.md index aa3ebe9a87..3a3d0535e7 100644 --- a/docs/resources/container_domain.md +++ b/docs/resources/container_domain.md @@ -20,7 +20,7 @@ resource scaleway_container app {} resource scaleway_container_domain "app" { container_id = scaleway_container.app.id - hostname = "container.domain.tld" + hostname = "container.domain.tld" } ``` @@ -28,24 +28,24 @@ resource scaleway_container_domain "app" { ```terraform resource scaleway_container_namespace main { - name = "my-ns-test" - description = "test container" + name = "my-ns-test" + description = "test container" } resource scaleway_container app { - name = "app" - namespace_id = scaleway_container_namespace.main.id - registry_image = "${scaleway_container_namespace.main.registry_endpoint}/nginx:alpine" - port = 80 - cpu_limit = 140 - memory_limit = 256 - min_scale = 1 - max_scale = 1 - timeout = 600 - max_concurrency = 80 - privacy = "public" - protocol = "http1" - deploy = true + name = "app" + namespace_id = scaleway_container_namespace.main.id + registry_image = "${scaleway_container_namespace.main.registry_endpoint}/nginx:alpine" + port = 80 + cpu_limit = 140 + memory_limit = 256 + min_scale = 1 + max_scale = 1 + timeout = 600 + max_concurrency = 80 + privacy = "public" + protocol = "http1" + deploy = true } resource scaleway_domain_record "app" { @@ -58,7 +58,7 @@ resource scaleway_domain_record "app" { resource scaleway_container_domain "app" { container_id = scaleway_container.app.id - hostname = "${scaleway_domain_record.app.name}.${scaleway_domain_record.app.dns_zone}" + hostname = "${scaleway_domain_record.app.name}.${scaleway_domain_record.app.dns_zone}" } ``` diff --git a/docs/resources/container_token.md b/docs/resources/container_token.md index 4ebce0821b..cc3a3c7266 100644 --- a/docs/resources/container_token.md +++ b/docs/resources/container_token.md @@ -23,7 +23,7 @@ resource scaleway_container main { // Namespace Token resource scaleway_container_token namespace { namespace_id = scaleway_container_namespace.main.id - expires_at = "2022-10-18T11:35:15+02:00" + expires_at = "2022-10-18T11:35:15+02:00" } // Container Token diff --git a/docs/resources/container_trigger.md b/docs/resources/container_trigger.md index 957fb5bd4e..ee3e049b59 100644 --- a/docs/resources/container_trigger.md +++ b/docs/resources/container_trigger.md @@ -16,10 +16,10 @@ Refer to the Containers triggers [documentation](https://www.scaleway.com/en/doc ```terraform resource scaleway_container_trigger main { container_id = scaleway_container.main.id - name = "my-trigger" + name = "my-trigger" sqs { project_id = scaleway_mnq_sqs.main.project_id - queue = "MyQueue" + queue = "MyQueue" # If region is different region = scaleway_mnq_sqs.main.region } @@ -31,10 +31,10 @@ resource scaleway_container_trigger main { ```terraform resource scaleway_container_trigger main { container_id = scaleway_container.main.id - name = "my-trigger" + name = "my-trigger" nats { account_id = scaleway_mnq_nats_account.main.id - subject = "MySubject" + subject = "MySubject" # If region is different region = scaleway_mnq_nats_account.main.region } @@ -79,4 +79,4 @@ Container Triggers can be imported using `{region}/{id}`, as shown below: ```bash terraform import scaleway_container_trigger.main fr-par/11111111-1111-1111-1111-111111111111 -``` \ No newline at end of file +``` diff --git a/docs/resources/domain_record.md b/docs/resources/domain_record.md index 5d5ea78cc9..62cfb6b0a1 100644 --- a/docs/resources/domain_record.md +++ b/docs/resources/domain_record.md @@ -81,7 +81,7 @@ resource "scaleway_domain_record" "geo_ip" { countries = ["FR"] data = "1.2.3.5" } - + matches { continents = ["NA"] data = "4.3.2.1" diff --git a/docs/resources/edge_services_backend_stage.md b/docs/resources/edge_services_backend_stage.md index c001db5dca..209022bafc 100644 --- a/docs/resources/edge_services_backend_stage.md +++ b/docs/resources/edge_services_backend_stage.md @@ -13,10 +13,10 @@ Creates and manages Scaleway Edge Services Backend Stages. ```terraform resource "scaleway_object_bucket" "main" { - name = "my-bucket-name" - tags = { - foo = "bar" - } + name = "my-bucket-name" + tags = { + foo = "bar" + } } resource "scaleway_edge_services_pipeline" "main" { @@ -24,7 +24,7 @@ resource "scaleway_edge_services_pipeline" "main" { } resource "scaleway_edge_services_backend_stage" "main" { - pipeline_id = scaleway_edge_services_pipeline.main.id + pipeline_id = scaleway_edge_services_pipeline.main.id s3_backend_config { bucket_name = scaleway_object_bucket.main.name bucket_region = "fr-par" @@ -42,10 +42,10 @@ resource "scaleway_lb" "main" { } resource "scaleway_lb_frontend" "main" { - lb_id = scaleway_lb.main.id - backend_id = scaleway_lb_backend.main.id - name = "frontend01" - inbound_port = "443" + lb_id = scaleway_lb.main.id + backend_id = scaleway_lb_backend.main.id + name = "frontend01" + inbound_port = "443" certificate_ids = [ scaleway_lb_certificate.cert01.id, ] @@ -56,7 +56,7 @@ resource "scaleway_edge_services_pipeline" "main" { } resource "scaleway_edge_services_backend_stage" "main" { - pipeline_id = scaleway_edge_services_pipeline.main.id + pipeline_id = scaleway_edge_services_pipeline.main.id lb_backend_config { lb_config { id = scaleway_lb.main.id diff --git a/docs/resources/edge_services_cache_stage.md b/docs/resources/edge_services_cache_stage.md index a44a7cb356..6401855799 100644 --- a/docs/resources/edge_services_cache_stage.md +++ b/docs/resources/edge_services_cache_stage.md @@ -28,7 +28,7 @@ resource "scaleway_edge_services_cache_stage" "main" { purge { pipeline_id = scaleway_edge_services_pipeline.main.id all = true - } + } } ``` diff --git a/docs/resources/edge_services_pipeline.md b/docs/resources/edge_services_pipeline.md index 82b666fd6f..1dfdc7f6e1 100644 --- a/docs/resources/edge_services_pipeline.md +++ b/docs/resources/edge_services_pipeline.md @@ -39,13 +39,13 @@ resource "scaleway_edge_services_tls_stage" "main" { } resource "scaleway_edge_services_cache_stage" "main" { - pipeline_id = scaleway_edge_services_pipeline.main.id - route_stage_id = scaleway_edge_services_route_stage.main.id + pipeline_id = scaleway_edge_services_pipeline.main.id + route_stage_id = scaleway_edge_services_route_stage.main.id } resource "scaleway_edge_services_route_stage" "main" { - pipeline_id = scaleway_edge_services_pipeline.main.id - waf_stage_id = scaleway_edge_services_waf_stage.main.id + pipeline_id = scaleway_edge_services_pipeline.main.id + waf_stage_id = scaleway_edge_services_waf_stage.main.id rule { backend_stage_id = scaleway_edge_services_backend_stage.main.id diff --git a/docs/resources/edge_services_route_stage.md b/docs/resources/edge_services_route_stage.md index 5ec7ec1184..87e05a5014 100644 --- a/docs/resources/edge_services_route_stage.md +++ b/docs/resources/edge_services_route_stage.md @@ -13,8 +13,8 @@ Creates and manages Scaleway Edge Services Route Stages. ```terraform resource "scaleway_edge_services_route_stage" "main" { - pipeline_id = scaleway_edge_services_pipeline.main.id - waf_stage_id = scaleway_edge_services_waf_stage.waf.id + pipeline_id = scaleway_edge_services_pipeline.main.id + waf_stage_id = scaleway_edge_services_waf_stage.waf.id rule { backend_stage_id = scaleway_edge_services_backend_stage.backend.id @@ -22,7 +22,7 @@ resource "scaleway_edge_services_route_stage" "main" { method_filters = ["get", "post"] path_filter { path_filter_type = "regex" - value = ".*" + value = ".*" } } } diff --git a/docs/resources/edge_services_tls_stage.md b/docs/resources/edge_services_tls_stage.md index 3eddbb92de..74338444b9 100644 --- a/docs/resources/edge_services_tls_stage.md +++ b/docs/resources/edge_services_tls_stage.md @@ -22,7 +22,7 @@ resource "scaleway_edge_services_tls_stage" "main" { ```terraform resource "scaleway_edge_services_tls_stage" "main" { - pipeline_id = scaleway_edge_services_pipeline.main.id + pipeline_id = scaleway_edge_services_pipeline.main.id secrets { secret_id = "11111111-1111-1111-1111-111111111111" region = "fr-par" diff --git a/docs/resources/flexible_ip.md b/docs/resources/flexible_ip.md index 427fc66c30..cc76535972 100644 --- a/docs/resources/flexible_ip.md +++ b/docs/resources/flexible_ip.md @@ -17,7 +17,7 @@ Flexible IPs are exclusively available for Elastic Metal (bare metal) servers. T ```terraform resource "scaleway_flexible_ip" "main" { - reverse = "my-reverse.com" + reverse = "my-reverse.com" } ``` @@ -25,7 +25,7 @@ resource "scaleway_flexible_ip" "main" { ```terraform resource "scaleway_flexible_ip" "main" { - zone = "fr-par-2" + zone = "fr-par-2" } ``` @@ -33,7 +33,7 @@ resource "scaleway_flexible_ip" "main" { ```terraform resource "scaleway_flexible_ip" "main" { - is_ipv6 = "true" + is_ipv6 = "true" } ``` @@ -41,31 +41,31 @@ resource "scaleway_flexible_ip" "main" { ```terraform resource "scaleway_account_ssh_key" "main" { - name = "main" - public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com" + name = "main" + public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com" } data "scaleway_baremetal_os" "by_id" { - zone = "fr-par-2" - name = "Ubuntu" - version = "20.04 LTS (Focal Fossa)" + zone = "fr-par-2" + name = "Ubuntu" + version = "20.04 LTS (Focal Fossa)" } data "scaleway_baremetal_offer" "my_offer" { - zone = "fr-par-2" - name = "EM-A210R-HDD" + zone = "fr-par-2" + name = "EM-A210R-HDD" } resource "scaleway_baremetal_server" "base" { - zone = "fr-par-2" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - os = data.scaleway_baremetal_os.by_id.os_id - ssh_key_ids = scaleway_account_ssh_key.main.id + zone = "fr-par-2" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + os = data.scaleway_baremetal_os.by_id.os_id + ssh_key_ids = scaleway_account_ssh_key.main.id } resource "scaleway_flexible_ip" "main" { - server_id = scaleway_baremetal_server.base.id - zone = "fr-par-2" + server_id = scaleway_baremetal_server.base.id + zone = "fr-par-2" } ``` diff --git a/docs/resources/flexible_ip_mac_address.md b/docs/resources/flexible_ip_mac_address.md index 3ff70dfff9..46acb3ff4c 100644 --- a/docs/resources/flexible_ip_mac_address.md +++ b/docs/resources/flexible_ip_mac_address.md @@ -17,7 +17,7 @@ resource "scaleway_flexible_ip" "main" {} resource "scaleway_flexible_ip_mac_address" "main" { flexible_ip_id = scaleway_flexible_ip.main.id - type = "kvm" + type = "kvm" } ``` @@ -29,9 +29,9 @@ data "scaleway_baremetal_offer" "my_offer" { } resource "scaleway_baremetal_server" "base" { - name = "TestAccScalewayBaremetalServer_WithoutInstallConfig" - offer = data.scaleway_baremetal_offer.my_offer.offer_id - install_config_afterward = true + name = "TestAccScalewayBaremetalServer_WithoutInstallConfig" + offer = data.scaleway_baremetal_offer.my_offer.offer_id + install_config_afterward = true } resource "scaleway_flexible_ip" "ip01" { @@ -48,7 +48,7 @@ resource "scaleway_flexible_ip" "ip03" { resource "scaleway_flexible_ip_mac_address" "main" { flexible_ip_id = scaleway_flexible_ip.ip01.id - type = "kvm" + type = "kvm" flexible_ip_ids_to_duplicate = [ scaleway_flexible_ip.ip02.id, scaleway_flexible_ip.ip03.id diff --git a/docs/resources/function_cron.md b/docs/resources/function_cron.md index 592e36ddec..b6941071c9 100644 --- a/docs/resources/function_cron.md +++ b/docs/resources/function_cron.md @@ -15,28 +15,28 @@ The following command allows you to add a CRON trigger to a Serverless Function. ```terraform resource scaleway_function_namespace main { - name = "test-cron" + name = "test-cron" } resource scaleway_function main { - name = "test-cron" - namespace_id = scaleway_function_namespace.main.id - runtime = "node14" - privacy = "private" - handler = "handler.handle" + name = "test-cron" + namespace_id = scaleway_function_namespace.main.id + runtime = "node14" + privacy = "private" + handler = "handler.handle" } resource scaleway_function_cron main { - name = "test-cron" - function_id = scaleway_function.main.id - schedule = "0 0 * * *" - args = jsonencode({test = "scw"}) + name = "test-cron" + function_id = scaleway_function.main.id + schedule = "0 0 * * *" + args = jsonencode({ test = "scw" }) } resource scaleway_function_cron func { - function_id = scaleway_function.main.id - schedule = "0 1 * * *" - args = jsonencode({my_var = "terraform"}) + function_id = scaleway_function.main.id + schedule = "0 1 * * *" + args = jsonencode({ my_var = "terraform" }) } ``` diff --git a/docs/resources/function_domain.md b/docs/resources/function_domain.md index aac6d47962..053cf13a87 100644 --- a/docs/resources/function_domain.md +++ b/docs/resources/function_domain.md @@ -27,11 +27,11 @@ resource scaleway_function_namespace main {} resource scaleway_function main { namespace_id = scaleway_function_namespace.main.id - runtime = "go118" - privacy = "private" - handler = "Handle" - zip_file = "testfixture/gofunction.zip" - deploy = true + runtime = "go118" + privacy = "private" + handler = "Handle" + zip_file = "testfixture/gofunction.zip" + deploy = true } ``` diff --git a/docs/resources/function_token.md b/docs/resources/function_token.md index 13201e5a3d..dec109078e 100644 --- a/docs/resources/function_token.md +++ b/docs/resources/function_token.md @@ -26,7 +26,7 @@ resource scaleway_function main { // Namespace Token resource scaleway_function_token namespace { namespace_id = scaleway_function_namespace.main.id - expires_at = "2022-10-18T11:35:15+02:00" + expires_at = "2022-10-18T11:35:15+02:00" } // Function Token diff --git a/docs/resources/function_trigger.md b/docs/resources/function_trigger.md index fc57fe1ba6..6a6b1ad003 100644 --- a/docs/resources/function_trigger.md +++ b/docs/resources/function_trigger.md @@ -16,10 +16,10 @@ Refer to the Functions triggers [documentation](https://www.scaleway.com/en/docs ```terraform resource scaleway_function_trigger main { function_id = scaleway_function.main.id - name = "my-trigger" + name = "my-trigger" sqs { project_id = scaleway_mnq_sqs.main.project_id - queue = "MyQueue" + queue = "MyQueue" # If region is different region = scaleway_mnq_sqs.main.region } @@ -31,10 +31,10 @@ resource scaleway_function_trigger main { ```terraform resource scaleway_function_trigger main { function_id = scaleway_function.main.id - name = "my-trigger" + name = "my-trigger" nats { account_id = scaleway_mnq_nats_account.main.id - subject = "MySubject" + subject = "MySubject" # If region is different region = scaleway_mnq_nats_account.main.region } diff --git a/docs/resources/iam_api_key.md b/docs/resources/iam_api_key.md index 652dc3d069..ab60901be6 100644 --- a/docs/resources/iam_api_key.md +++ b/docs/resources/iam_api_key.md @@ -30,8 +30,8 @@ resource "scaleway_iam_user" "main" { } resource "scaleway_iam_api_key" "main" { - user_id = scaleway_iam_user.main.id - description = "a description" + user_id = scaleway_iam_user.main.id + description = "a description" } ``` diff --git a/docs/resources/iam_group_membership.md b/docs/resources/iam_group_membership.md index 9b28c9472d..2cded6dd4a 100644 --- a/docs/resources/iam_group_membership.md +++ b/docs/resources/iam_group_membership.md @@ -51,7 +51,7 @@ resource "scaleway_iam_group" "group" { resource "scaleway_iam_group_membership" "members" { for_each = data.scaleway_iam_user.users group_id = scaleway_iam_group.group.id - user_id = each.value.id + user_id = each.value.id } ``` diff --git a/docs/resources/iam_policy.md b/docs/resources/iam_policy.md index 0f3eacdd64..316ecd059f 100644 --- a/docs/resources/iam_policy.md +++ b/docs/resources/iam_policy.md @@ -27,11 +27,11 @@ resource scaleway_iam_application "app" { } resource scaleway_iam_policy "object_read_only" { - name = "my policy" - description = "gives app readonly access to object storage in project" + name = "my policy" + description = "gives app readonly access to object storage in project" application_id = scaleway_iam_application.app.id rule { - project_ids = [data.scaleway_account_project.default.id] + project_ids = [data.scaleway_account_project.default.id] permission_set_names = ["ObjectStorageReadOnly"] } } @@ -45,11 +45,11 @@ resource scaleway_iam_application "app" { } resource scaleway_iam_policy "object_read_only" { - name = "my policy" - description = "gives app readonly access to object storage in project" + name = "my policy" + description = "gives app readonly access to object storage in project" application_id = scaleway_iam_application.app.id rule { - organization_id = scaleway_iam_application.app.organization_id + organization_id = scaleway_iam_application.app.organization_id permission_set_names = ["ObjectStorageReadOnly"] } } @@ -106,7 +106,7 @@ resource "scaleway_iam_policy" "main" { rule { organization_id = "%s" permission_set_names = ["AllProductsFullAccess"] - condition = "request.user_agent == 'My User Agent'" + condition = "request.user_agent == 'My User Agent'" } } ``` diff --git a/docs/resources/iam_user.md b/docs/resources/iam_user.md index 50665388fb..347257ded3 100644 --- a/docs/resources/iam_user.md +++ b/docs/resources/iam_user.md @@ -30,7 +30,7 @@ locals { resource scaleway_iam_user user { for_each = local.users - email = each.key + email = each.key } ``` diff --git a/docs/resources/inference_deployment.md b/docs/resources/inference_deployment.md index 84b246701f..b462f1c366 100644 --- a/docs/resources/inference_deployment.md +++ b/docs/resources/inference_deployment.md @@ -14,8 +14,8 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_inference_deployment" "deployment" { - name = "tf-inference-deployment" - node_type = "L4" + name = "tf-inference-deployment" + node_type = "L4" model_name = "meta/llama-3.1-8b-instruct:fp8" public_endpoint { is_enabled = true diff --git a/docs/resources/instance_image.md b/docs/resources/instance_image.md index 0558b74292..91009a4e3c 100644 --- a/docs/resources/instance_image.md +++ b/docs/resources/instance_image.md @@ -14,17 +14,17 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_instance_volume" "volume" { - type = "b_ssd" - size_in_gb = 20 + type = "b_ssd" + size_in_gb = 20 } resource "scaleway_instance_snapshot" "volume_snapshot" { - volume_id = scaleway_instance_volume.volume.id + volume_id = scaleway_instance_volume.volume.id } resource "scaleway_instance_image" "volume_image" { - name = "image_from_volume" - root_volume_id = scaleway_instance_snapshot.volume_snapshot.id + name = "image_from_volume" + root_volume_id = scaleway_instance_snapshot.volume_snapshot.id } ``` @@ -33,16 +33,16 @@ resource "scaleway_instance_image" "volume_image" { ```terraform resource "scaleway_instance_server" "server" { image = "ubuntu_jammy" - type = "DEV1-S" + type = "DEV1-S" } resource "scaleway_instance_snapshot" "server_snapshot" { - volume_id = scaleway_instance_server.main.root_volume.0.volume_id + volume_id = scaleway_instance_server.main.root_volume.0.volume_id } resource "scaleway_instance_image" "server_image" { - name = "image_from_server" - root_volume_id = scaleway_instance_snapshot.server_snapshot.id + name = "image_from_server" + root_volume_id = scaleway_instance_snapshot.server_snapshot.id } ``` @@ -51,24 +51,24 @@ resource "scaleway_instance_image" "server_image" { ```terraform resource "scaleway_instance_server" "server" { image = "ubuntu_jammy" - type = "DEV1-S" + type = "DEV1-S" } resource "scaleway_instance_volume" "volume" { - type = "b_ssd" - size_in_gb = 20 + type = "b_ssd" + size_in_gb = 20 } resource "scaleway_instance_snapshot" "volume_snapshot" { - volume_id = scaleway_instance_volume.volume.id + volume_id = scaleway_instance_volume.volume.id } resource "scaleway_instance_snapshot" "server_snapshot" { - volume_id = scaleway_instance_server.main.root_volume.0.volume_id + volume_id = scaleway_instance_server.main.root_volume.0.volume_id } resource "scaleway_instance_image" "image" { - name = "image_with_extra_volumes" - root_volume_id = scaleway_instance_snapshot.server_snapshot.id + name = "image_with_extra_volumes" + root_volume_id = scaleway_instance_snapshot.server_snapshot.id additional_volumes = [ scaleway_instance_snapshot.volume_snapshot.id ] diff --git a/docs/resources/instance_private_nic.md b/docs/resources/instance_private_nic.md index 1743e6be9c..4c125855a5 100644 --- a/docs/resources/instance_private_nic.md +++ b/docs/resources/instance_private_nic.md @@ -44,11 +44,11 @@ resource "scaleway_instance_private_nic" "pnic01" { ```terraform resource "scaleway_vpc" "vpc01" { - name = "vpc_instance" + name = "vpc_instance" } resource "scaleway_vpc_private_network" "pn01" { - name = "private_network_instance" + name = "private_network_instance" ipv4_subnet { subnet = "172.16.64.0/22" } diff --git a/docs/resources/instance_security_group_rules.md b/docs/resources/instance_security_group_rules.md index 7cb1d96231..843168602d 100644 --- a/docs/resources/instance_security_group_rules.md +++ b/docs/resources/instance_security_group_rules.md @@ -38,8 +38,8 @@ Create a local containing your exceptions (`locals.trusted`) and use the `for_ea ```terraform resource "scaleway_instance_security_group" "main" { - description = "test" - name = "terraform test" + description = "test" + name = "terraform test" inbound_default_policy = "drop" outbound_default_policy = "accept" } @@ -53,7 +53,7 @@ locals { } resource "scaleway_instance_security_group_rules" "main" { - security_group_id = scaleway_instance_security_group.main.id + security_group_id = scaleway_instance_security_group.main.id dynamic "inbound_rule" { for_each = local.trusted diff --git a/docs/resources/instance_server.md b/docs/resources/instance_server.md index 1934d5722b..6333d9e0c7 100644 --- a/docs/resources/instance_server.md +++ b/docs/resources/instance_server.md @@ -17,7 +17,7 @@ Please check our [FAQ - Instances](https://www.scaleway.com/en/docs/faq/instance resource "scaleway_instance_ip" "public_ip" {} resource "scaleway_instance_server" "web" { - type = "DEV1-S" + type = "DEV1-S" image = "ubuntu_jammy" ip_id = scaleway_instance_ip.public_ip.id } @@ -28,20 +28,20 @@ resource "scaleway_instance_server" "web" { ```terraform resource "scaleway_block_volume" "data" { size_in_gb = 100 - iops = 5000 + iops = 5000 } resource "scaleway_instance_server" "web" { - type = "DEV1-S" + type = "DEV1-S" image = "ubuntu_jammy" - tags = [ "hello", "public" ] + tags = ["hello", "public"] root_volume { delete_on_termination = false } - additional_volume_ids = [ scaleway_block_volume.data.id ] + additional_volume_ids = [scaleway_block_volume.data.id] } ``` @@ -51,10 +51,10 @@ resource "scaleway_instance_server" "web" { resource "scaleway_instance_ip" "ip" {} resource "scaleway_instance_server" "web" { - type = "DEV1-S" + type = "DEV1-S" image = "f974feac-abae-4365-b988-8ec7d1cec10d" - tags = [ "hello", "public" ] + tags = ["hello", "public"] ip_id = scaleway_instance_ip.ip.id } @@ -64,36 +64,36 @@ resource "scaleway_instance_server" "web" { ```terraform resource "scaleway_instance_security_group" "www" { - inbound_default_policy = "drop" + inbound_default_policy = "drop" outbound_default_policy = "accept" inbound_rule { action = "accept" - port = "22" - ip = "212.47.225.64" + port = "22" + ip = "212.47.225.64" } inbound_rule { action = "accept" - port = "80" + port = "80" } inbound_rule { action = "accept" - port = "443" + port = "443" } outbound_rule { - action = "drop" + action = "drop" ip_range = "10.20.0.0/24" } } resource "scaleway_instance_server" "web" { - type = "DEV1-S" + type = "DEV1-S" image = "ubuntu_jammy" - security_group_id= scaleway_instance_security_group.www.id + security_group_id = scaleway_instance_security_group.www.id } ``` @@ -115,7 +115,7 @@ resource "scaleway_instance_server" "web" { ```terraform resource scaleway_vpc_private_network pn01 { - name = "private_network_instance" + name = "private_network_instance" } resource "scaleway_instance_server" "base" { @@ -134,7 +134,7 @@ resource "scaleway_instance_server" "base" { ```terraform resource "scaleway_instance_server" "image" { - type = "PRO2-XXS" + type = "PRO2-XXS" image = "ubuntu_jammy" root_volume { size_in_gb = 100 @@ -151,13 +151,13 @@ data "scaleway_block_snapshot" "snapshot" { resource "scaleway_block_volume" "from_snapshot" { snapshot_id = data.scaleway_block_snapshot.snapshot.id - iops = 5000 + iops = 5000 } resource "scaleway_instance_server" "from_snapshot" { type = "PRO2-XXS" root_volume { - volume_id = scaleway_block_volume.from_snapshot.id + volume_id = scaleway_block_volume.from_snapshot.id volume_type = "sbs_volume" } } @@ -167,12 +167,12 @@ resource "scaleway_instance_server" "from_snapshot" { ```terraform resource "scaleway_instance_server" "server" { - type = "PLAY2-MICRO" + type = "PLAY2-MICRO" image = "ubuntu_jammy" root_volume { volume_type = "sbs_volume" - sbs_iops = 15000 - size_in_gb = 50 + sbs_iops = 15000 + size_in_gb = 50 } } ``` diff --git a/docs/resources/instance_snapshot.md b/docs/resources/instance_snapshot.md index d13306bd12..9e46b5df79 100644 --- a/docs/resources/instance_snapshot.md +++ b/docs/resources/instance_snapshot.md @@ -13,8 +13,8 @@ see the [API documentation](https://www.scaleway.com/en/developers/api/instance/ ```terraform resource "scaleway_instance_snapshot" "main" { - name = "some-snapshot-name" - volume_id = "11111111-1111-1111-1111-111111111111" + name = "some-snapshot-name" + volume_id = "11111111-1111-1111-1111-111111111111" } ``` @@ -22,26 +22,26 @@ resource "scaleway_instance_snapshot" "main" { ```terraform resource "scaleway_instance_volume" "main" { - type = "l_ssd" - size_in_gb = 10 + type = "l_ssd" + size_in_gb = 10 } resource "scaleway_instance_server" "main" { - image = "ubuntu_jammy" - type = "DEV1-S" - root_volume { - size_in_gb = 10 - volume_type = "l_ssd" - } - additional_volume_ids = [ - scaleway_instance_volume.main.id - ] + image = "ubuntu_jammy" + type = "DEV1-S" + root_volume { + size_in_gb = 10 + volume_type = "l_ssd" + } + additional_volume_ids = [ + scaleway_instance_volume.main.id + ] } resource "scaleway_instance_snapshot" "main" { - volume_id = scaleway_instance_volume.main.id - type = "unified" - depends_on = [scaleway_instance_server.main] + volume_id = scaleway_instance_volume.main.id + type = "unified" + depends_on = [scaleway_instance_server.main] } ``` @@ -54,15 +54,15 @@ resource "scaleway_object_bucket" "bucket" { resource "scaleway_object" "qcow" { bucket = scaleway_object_bucket.bucket.name - key = "server.qcow2" - file = "myqcow.qcow2" + key = "server.qcow2" + file = "myqcow.qcow2" } resource "scaleway_instance_snapshot" "snapshot" { type = "unified" import { bucket = scaleway_object.qcow.bucket - key = scaleway_object.qcow.key + key = scaleway_object.qcow.key } } ``` diff --git a/docs/resources/instance_user_data.md b/docs/resources/instance_user_data.md index 350f9be4ef..343f61a9dd 100644 --- a/docs/resources/instance_user_data.md +++ b/docs/resources/instance_user_data.md @@ -28,23 +28,23 @@ variable user_data { apt-update: true apt-upgrade: true EOF - "foo" = "bar" + "foo" = "bar" } } # User data with a single value resource "scaleway_instance_user_data" "main" { server_id = scaleway_instance_server.main.id - key = "foo" - value = "bar" + key = "foo" + value = "bar" } # User Data with many keys. resource scaleway_instance_user_data data { server_id = scaleway_instance_server.main.id - for_each = var.user_data - key = each.key - value = each.value + for_each = var.user_data + key = each.key + value = each.value } resource "scaleway_instance_server" "main" { diff --git a/docs/resources/instance_volume.md b/docs/resources/instance_volume.md index d6391af2e5..f29a78a255 100644 --- a/docs/resources/instance_volume.md +++ b/docs/resources/instance_volume.md @@ -12,9 +12,9 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_instance_volume" "server_volume" { - type = "l_ssd" - name = "some-volume-name" - size_in_gb = 20 + type = "l_ssd" + name = "some-volume-name" + size_in_gb = 20 } ``` diff --git a/docs/resources/iot_device.md b/docs/resources/iot_device.md index 3965a7ec9f..7812649b29 100644 --- a/docs/resources/iot_device.md +++ b/docs/resources/iot_device.md @@ -15,13 +15,13 @@ Creates and manages Scaleway IoT Hub Instances. For more information, see the [A ```terraform resource "scaleway_iot_hub" "main" { - name = "test-iot" - product_plan = "plan_shared" + name = "test-iot" + product_plan = "plan_shared" } resource "scaleway_iot_device" "main" { - hub_id = scaleway_iot_hub.main.id - name = "test-iot" + hub_id = scaleway_iot_hub.main.id + name = "test-iot" } ``` @@ -29,20 +29,20 @@ resource "scaleway_iot_device" "main" { ```terraform resource "scaleway_iot_hub" "main" { - name = "test-iot" - product_plan = "plan_shared" + name = "test-iot" + product_plan = "plan_shared" } data "local_file" "device_cert" { - filename = "device-certificate.pem" + filename = "device-certificate.pem" } resource "scaleway_iot_device" "main" { - hub_id = scaleway_iot_hub.main.id - name = "test-iot" - certificate { - crt = data.local_file.device_cert.content - } + hub_id = scaleway_iot_hub.main.id + name = "test-iot" + certificate { + crt = data.local_file.device_cert.content + } } ``` diff --git a/docs/resources/iot_hub.md b/docs/resources/iot_hub.md index 9ba014cc44..a507e4751c 100644 --- a/docs/resources/iot_hub.md +++ b/docs/resources/iot_hub.md @@ -15,8 +15,8 @@ Creates and manages Scaleway IoT Hub Instances. For more information, see the [A ```terraform resource "scaleway_iot_hub" "main" { - name = "test-iot" - product_plan = "plan_shared" + name = "test-iot" + product_plan = "plan_shared" } ``` diff --git a/docs/resources/iot_network.md b/docs/resources/iot_network.md index 0382c8dd08..7fb4b3e790 100644 --- a/docs/resources/iot_network.md +++ b/docs/resources/iot_network.md @@ -21,13 +21,13 @@ For more step-by-step instructions on how to setup the networks on the external ```terraform resource "scaleway_iot_network" "main" { - name = "main" - hub_id = scaleway_iot_hub.main.id - type = "sigfox" + name = "main" + hub_id = scaleway_iot_hub.main.id + type = "sigfox" } resource "scaleway_iot_hub" "main" { - name = "main" - product_plan = "plan_shared" + name = "main" + product_plan = "plan_shared" } ``` diff --git a/docs/resources/iot_route.md b/docs/resources/iot_route.md index 69d6a779c9..d34df3e9e3 100644 --- a/docs/resources/iot_route.md +++ b/docs/resources/iot_route.md @@ -18,11 +18,11 @@ Creates and manages Scaleway IoT Routes. For more information, see the following ```terraform resource "scaleway_iot_route" "main" { - name = "default" - hub_id = scaleway_iot_hub.main.id - topic = "#" - database { - query = <<-EOT + name = "default" + hub_id = scaleway_iot_hub.main.id + topic = "#" + database { + query = <<-EOT INSERT INTO measurements( push_time, report_time, @@ -37,25 +37,25 @@ resource "scaleway_iot_route" "main" { ($PAYLOAD::jsonb->'humidity'):decimal: ); EOT - host = scaleway_rdb_instance.iot.endpoint_ip - port = scaleway_rdb_instance.iot.endpoint_port - dbname = "rdb" - username = scaleway_rdb_instance.iot.user_name - password = scaleway_rdb_instance.iot.password - } + host = scaleway_rdb_instance.iot.endpoint_ip + port = scaleway_rdb_instance.iot.endpoint_port + dbname = "rdb" + username = scaleway_rdb_instance.iot.user_name + password = scaleway_rdb_instance.iot.password + } } resource "scaleway_iot_hub" "main" { - name = "main" - product_plan = "plan_shared" + name = "main" + product_plan = "plan_shared" } resource "scaleway_rdb_instance" "iot" { - name = "iot" - node_type = "db-dev-s" - engine = "PostgreSQL-12" - user_name = "root" - password = "T3stP4ssw0rdD0N0tUs3!" + name = "iot" + node_type = "db-dev-s" + engine = "PostgreSQL-12" + user_name = "root" + password = "T3stP4ssw0rdD0N0tUs3!" } ``` @@ -63,25 +63,25 @@ resource "scaleway_rdb_instance" "iot" { ```terraform resource "scaleway_iot_route" "main" { - name = "main" - hub_id = scaleway_iot_hub.main.id - topic = "#" - s3 { - bucket_region = scaleway_object_bucket.main.region - bucket_name = scaleway_object_bucket.main.name - object_prefix = "foo" - strategy = "per_topic" - } + name = "main" + hub_id = scaleway_iot_hub.main.id + topic = "#" + s3 { + bucket_region = scaleway_object_bucket.main.region + bucket_name = scaleway_object_bucket.main.name + object_prefix = "foo" + strategy = "per_topic" + } } resource "scaleway_iot_hub" "main" { - name = "main" - product_plan = "plan_shared" + name = "main" + product_plan = "plan_shared" } resource "scaleway_object_bucket" "main" { - region = "fr-par" - name = "my_awesome-bucket" + region = "fr-par" + name = "my_awesome-bucket" } ``` @@ -89,21 +89,21 @@ resource "scaleway_object_bucket" "main" { ```terraform resource "scaleway_iot_route" "main" { - name = "main" - hub_id = scaleway_iot_hub.main.id - topic = "#" - rest { - verb = "get" - uri = "http://scaleway.com" - headers = { - X-awesome-header = "my-awesome-value" - } - } + name = "main" + hub_id = scaleway_iot_hub.main.id + topic = "#" + rest { + verb = "get" + uri = "http://scaleway.com" + headers = { + X-awesome-header = "my-awesome-value" + } + } } resource "scaleway_iot_hub" "main" { - name = "main" - product_plan = "plan_shared" + name = "main" + product_plan = "plan_shared" } ``` diff --git a/docs/resources/ipam_ip_reverse_dns.md b/docs/resources/ipam_ip_reverse_dns.md index ae1d9c3a46..fb78c509d3 100644 --- a/docs/resources/ipam_ip_reverse_dns.md +++ b/docs/resources/ipam_ip_reverse_dns.md @@ -44,8 +44,8 @@ resource "scaleway_domain_record" "tf_AAAA" { resource "scaleway_ipam_ip_reverse_dns" "base" { ipam_ip_id = data.scaleway_ipam_ip.ipam01.id - hostname = "example.com" - address = cidrhost(data.scaleway_ipam_ip.ipam01.address_cidr, 42) + hostname = "example.com" + address = cidrhost(data.scaleway_ipam_ip.ipam01.address_cidr, 42) } ``` diff --git a/docs/resources/job_definition.md b/docs/resources/job_definition.md index 77eb92c1c5..5cbdf2b72e 100644 --- a/docs/resources/job_definition.md +++ b/docs/resources/job_definition.md @@ -13,15 +13,15 @@ Creates and manages a Scaleway Serverless Job Definition. For more information, ```terraform resource scaleway_job_definition main { - name = "testjob" - cpu_limit = 140 + name = "testjob" + cpu_limit = 140 memory_limit = 256 - image_uri = "docker.io/alpine:latest" - command = "ls" - timeout = "10m" + image_uri = "docker.io/alpine:latest" + command = "ls" + timeout = "10m" env = { - foo: "bar" + foo : "bar" } cron { @@ -35,12 +35,12 @@ resource scaleway_job_definition main { ```terraform resource scaleway_job_definition main { - name = "testjob" - cpu_limit = 140 + name = "testjob" + cpu_limit = 140 memory_limit = 256 - image_uri = "docker.io/alpine:latest" - command = "ls" - timeout = "10m" + image_uri = "docker.io/alpine:latest" + command = "ls" + timeout = "10m" cron { schedule = "5 4 1 * *" # cron at 04:05 on day-of-month 1 @@ -49,13 +49,13 @@ resource scaleway_job_definition main { secret_reference { secret_id = "11111111-1111-1111-1111-111111111111" - file = "/home/dev/secret_file" + file = "/home/dev/secret_file" } secret_reference { - secret_id = scaleway_secret.job_secret.id + secret_id = scaleway_secret.job_secret.id secret_version = "1" - environment = "FOO" + environment = "FOO" } } ``` diff --git a/docs/resources/k8s_acl.md b/docs/resources/k8s_acl.md index 225940c24a..01d971a1b1 100644 --- a/docs/resources/k8s_acl.md +++ b/docs/resources/k8s_acl.md @@ -19,23 +19,23 @@ Defining custom ACLs with Terraform will overwrite this rule, but it will be rec resource "scaleway_vpc_private_network" "acl_basic" {} resource "scaleway_k8s_cluster" "acl_basic" { - name = "acl-basic" - version = "1.32.2" - cni = "cilium" - delete_additional_resources = true - private_network_id = scaleway_vpc_private_network.acl_basic.id + name = "acl-basic" + version = "1.32.2" + cni = "cilium" + delete_additional_resources = true + private_network_id = scaleway_vpc_private_network.acl_basic.id } resource "scaleway_k8s_acl" "acl_basic" { - cluster_id = scaleway_k8s_cluster.acl_basic.id - acl_rules { - ip = "1.2.3.4/32" - description = "Allow 1.2.3.4" - } - acl_rules { - scaleway_ranges = true - description = "Allow all Scaleway ranges" - } + cluster_id = scaleway_k8s_cluster.acl_basic.id + acl_rules { + ip = "1.2.3.4/32" + description = "Allow 1.2.3.4" + } + acl_rules { + scaleway_ranges = true + description = "Allow all Scaleway ranges" + } } ``` @@ -45,16 +45,16 @@ resource "scaleway_k8s_acl" "acl_basic" { resource "scaleway_vpc_private_network" "acl_basic" {} resource "scaleway_k8s_cluster" "acl_basic" { - name = "acl-basic" - version = "1.32.2" - cni = "cilium" - delete_additional_resources = true - private_network_id = scaleway_vpc_private_network.acl_basic.id + name = "acl-basic" + version = "1.32.2" + cni = "cilium" + delete_additional_resources = true + private_network_id = scaleway_vpc_private_network.acl_basic.id } resource "scaleway_k8s_acl" "acl_basic" { - cluster_id = scaleway_k8s_cluster.acl_basic.id - no_ip_allowed = true + cluster_id = scaleway_k8s_cluster.acl_basic.id + no_ip_allowed = true } ``` @@ -105,4 +105,4 @@ Kubernetes ACLs can be imported using the `{region}/{cluster-id}`, e.g. ```bash terraform import scaleway_k8s_acl.acl01 fr-par/11111111-1111-1111-1111-111111111111 -``` \ No newline at end of file +``` diff --git a/docs/resources/k8s_cluster.md b/docs/resources/k8s_cluster.md index a02927b58f..9a33eee0d5 100644 --- a/docs/resources/k8s_cluster.md +++ b/docs/resources/k8s_cluster.md @@ -15,10 +15,10 @@ Creates and manages Scaleway Kubernetes clusters. For more information, see the resource "scaleway_vpc_private_network" "pn" {} resource "scaleway_k8s_cluster" "cluster" { - name = "tf-cluster" - version = "1.29.1" - cni = "cilium" - private_network_id = scaleway_vpc_private_network.pn.id + name = "tf-cluster" + version = "1.29.1" + cni = "cilium" + private_network_id = scaleway_vpc_private_network.pn.id delete_additional_resources = false } @@ -34,19 +34,19 @@ resource "scaleway_k8s_pool" "pool" { ```terraform resource "scaleway_k8s_cluster" "cluster" { - name = "tf-cluster" - type = "multicloud" - version = "1.29.1" - cni = "kilo" + name = "tf-cluster" + type = "multicloud" + version = "1.29.1" + cni = "kilo" delete_additional_resources = false } resource "scaleway_k8s_pool" "pool" { cluster_id = scaleway_k8s_cluster.cluster.id - name = "tf-pool" - node_type = "external" - size = 0 - min_size = 0 + name = "tf-pool" + node_type = "external" + size = 0 + min_size = 0 } ``` @@ -58,12 +58,12 @@ For a detailed example of how to add or run Elastic Metal servers instead of Ins resource "scaleway_vpc_private_network" "pn" {} resource "scaleway_k8s_cluster" "cluster" { - name = "tf-cluster" - description = "cluster made in terraform" - version = "1.29.1" - cni = "calico" - tags = ["terraform"] - private_network_id = scaleway_vpc_private_network.pn.id + name = "tf-cluster" + description = "cluster made in terraform" + version = "1.29.1" + cni = "calico" + tags = ["terraform"] + private_network_id = scaleway_vpc_private_network.pn.id delete_additional_resources = false autoscaler_config { @@ -95,10 +95,10 @@ resource "scaleway_k8s_pool" "pool" { resource "scaleway_vpc_private_network" "pn" {} resource "scaleway_k8s_cluster" "cluster" { - name = "tf-cluster" - version = "1.29.1" - cni = "cilium" - private_network_id = scaleway_vpc_private_network.pn.id + name = "tf-cluster" + version = "1.29.1" + cni = "cilium" + private_network_id = scaleway_vpc_private_network.pn.id delete_additional_resources = false } @@ -136,11 +136,11 @@ It leads the `kubernetes` provider to start creating its objects, but the DNS en resource "scaleway_vpc_private_network" "pn" {} resource "scaleway_k8s_cluster" "cluster" { - name = "tf-cluster" - version = "1.29.1" - cni = "cilium" + name = "tf-cluster" + version = "1.29.1" + cni = "cilium" delete_additional_resources = false - private_network_id = scaleway_vpc_private_network.pn.id + private_network_id = scaleway_vpc_private_network.pn.id } resource "scaleway_k8s_pool" "pool" { @@ -161,10 +161,10 @@ resource "null_resource" "kubeconfig" { provider "helm" { kubernetes { - host = null_resource.kubeconfig.triggers.host + host = null_resource.kubeconfig.triggers.host token = null_resource.kubeconfig.triggers.token cluster_ca_certificate = base64decode( - null_resource.kubeconfig.triggers.cluster_ca_certificate + null_resource.kubeconfig.triggers.cluster_ca_certificate ) } } @@ -179,32 +179,32 @@ resource "helm_release" "nginx_ingress" { namespace = "kube-system" repository = "https://kubernetes.github.io/ingress-nginx" - chart = "ingress-nginx" + chart = "ingress-nginx" set { - name = "controller.service.loadBalancerIP" + name = "controller.service.loadBalancerIP" value = scaleway_lb_ip.nginx_ip.ip_address } // enable proxy protocol to get client ip addr instead of loadbalancer one set { - name = "controller.config.use-proxy-protocol" + name = "controller.config.use-proxy-protocol" value = "true" } set { - name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/scw-loadbalancer-proxy-protocol-v2" + name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/scw-loadbalancer-proxy-protocol-v2" value = "true" } // indicates in which zone to create the loadbalancer set { - name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/scw-loadbalancer-zone" + name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/scw-loadbalancer-zone" value = scaleway_lb_ip.nginx_ip.zone } // enable to avoid node forwarding set { - name = "controller.service.externalTrafficPolicy" + name = "controller.service.externalTrafficPolicy" value = "Local" } diff --git a/docs/resources/k8s_pool.md b/docs/resources/k8s_pool.md index 36755fa162..095cd4e7f8 100644 --- a/docs/resources/k8s_pool.md +++ b/docs/resources/k8s_pool.md @@ -144,12 +144,12 @@ resource "scaleway_k8s_pool" "pool" { } resource "scaleway_k8s_cluster" "cluster" { - name = "placement_group" - cni = "kilo" - version = "%s" - tags = [ "terraform-test", "scaleway_k8s_cluster", "placement_group" ] - region = "fr-par" - type = "multicloud" + name = "placement_group" + cni = "kilo" + version = "%s" + tags = ["terraform-test", "scaleway_k8s_cluster", "placement_group"] + region = "fr-par" + type = "multicloud" } ``` @@ -181,9 +181,9 @@ If you want to have a new pool created when a variable changes, you can use a na ```terraform resource "scaleway_k8s_pool" "kubernetes_cluster_workers_1" { - cluster_id = scaleway_k8s_cluster.kubernetes_cluster.id - name = "${var.kubernetes_cluster_id}_${var.node_type}_1" - node_type = "${var.node_type}" + cluster_id = scaleway_k8s_cluster.kubernetes_cluster.id + name = "${var.kubernetes_cluster_id}_${var.node_type}_1" + node_type = "${var.node_type}" # use Scaleway built-in cluster autoscaler autoscaling = true diff --git a/docs/resources/lb_acl.md b/docs/resources/lb_acl.md index b14cf0ccef..acc0d78d09 100644 --- a/docs/resources/lb_acl.md +++ b/docs/resources/lb_acl.md @@ -15,10 +15,10 @@ For more information, see the [main documentation](https://www.scaleway.com/en/d ```terraform resource "scaleway_lb_acl" "acl01" { - frontend_id = scaleway_lb_frontend.frt01.id - name = "acl01" - description = "Exclude well-known IPs" - index = 0 + frontend_id = scaleway_lb_frontend.frt01.id + name = "acl01" + description = "Exclude well-known IPs" + index = 0 # Allow downstream requests from: 192.168.0.1, 192.168.0.2 or 192.168.10.0/24 action { type = "allow" diff --git a/docs/resources/lb_certificate.md b/docs/resources/lb_certificate.md index 001a25cab8..6088b3227b 100644 --- a/docs/resources/lb_certificate.md +++ b/docs/resources/lb_certificate.md @@ -27,7 +27,7 @@ resource "scaleway_lb_certificate" "cert01" { } # Make sure the new certificate is created before the old one can be replaced lifecycle { - create_before_destroy = true + create_before_destroy = true } } ``` diff --git a/docs/resources/lb_frontend.md b/docs/resources/lb_frontend.md index 9b98d9c4a7..cc5522f5fb 100644 --- a/docs/resources/lb_frontend.md +++ b/docs/resources/lb_frontend.md @@ -28,35 +28,35 @@ resource "scaleway_lb_frontend" "frontend01" { resource scaleway_lb_ip ip01 {} resource scaleway_lb lb01 { - ip_id = scaleway_lb_ip.ip01.id - name = "test-lb" - type = "lb-s" + ip_id = scaleway_lb_ip.ip01.id + name = "test-lb" + type = "lb-s" } resource scaleway_lb_backend bkd01 { - lb_id = scaleway_lb.lb01.id - forward_protocol = "tcp" - forward_port = 443 - proxy_protocol = "none" + lb_id = scaleway_lb.lb01.id + forward_protocol = "tcp" + forward_port = 443 + proxy_protocol = "none" } resource scaleway_lb_certificate cert01 { - lb_id = scaleway_lb.lb01.id - name = "test-cert-front-end" - letsencrypt { - common_name = "${replace(scaleway_lb_ip.ip01.ip_address,".", "-")}.lb.${scaleway_lb.lb01.region}.scw.cloud" - } - # Make sure the new certificate is created before the old one can be replaced - lifecycle { - create_before_destroy = true - } + lb_id = scaleway_lb.lb01.id + name = "test-cert-front-end" + letsencrypt { + common_name = "${replace(scaleway_lb_ip.ip01.ip_address, ".", "-")}.lb.${scaleway_lb.lb01.region}.scw.cloud" + } + # Make sure the new certificate is created before the old one can be replaced + lifecycle { + create_before_destroy = true + } } resource scaleway_lb_frontend frt01 { - lb_id = scaleway_lb.lb01.id - backend_id = scaleway_lb_backend.bkd01.id - inbound_port = 443 - certificate_ids = [scaleway_lb_certificate.cert01.id] + lb_id = scaleway_lb.lb01.id + backend_id = scaleway_lb_backend.bkd01.id + inbound_port = 443 + certificate_ids = [scaleway_lb_certificate.cert01.id] } ``` @@ -122,8 +122,8 @@ resource "scaleway_lb_frontend" "frontend01" { } match { - http_filter = "http_header_match" - http_filter_value = "foo" + http_filter = "http_header_match" + http_filter_value = "foo" http_filter_option = "bar" } } @@ -133,15 +133,15 @@ resource "scaleway_lb_frontend" "frontend01" { action { type = "redirect" redirect { - type = "location" + type = "location" target = "https://example.com" - code = 307 + code = 307 } } match { - ip_subnet = ["10.0.0.10"] - http_filter = "path_begin" - http_filter_value = ["foo","bar"] + ip_subnet = ["10.0.0.10"] + http_filter = "path_begin" + http_filter_value = ["foo", "bar"] } } } diff --git a/docs/resources/lb_ip.md b/docs/resources/lb_ip.md index 3ed6f4b7c6..0889887edb 100644 --- a/docs/resources/lb_ip.md +++ b/docs/resources/lb_ip.md @@ -15,7 +15,7 @@ For more information, see the [main documentation](https://www.scaleway.com/en/d ```terraform resource "scaleway_lb_ip" "ip" { - reverse = "my-reverse.com" + reverse = "my-reverse.com" } ``` @@ -23,7 +23,7 @@ resource "scaleway_lb_ip" "ip" { ```terraform resource "scaleway_lb_ip" "ipv6" { - is_ipv6 = true + is_ipv6 = true } ``` diff --git a/docs/resources/mnq_sns_credentials.md b/docs/resources/mnq_sns_credentials.md index c101d39848..9e20b2aba3 100644 --- a/docs/resources/mnq_sns_credentials.md +++ b/docs/resources/mnq_sns_credentials.md @@ -18,10 +18,10 @@ resource "scaleway_mnq_sns" "main" {} resource scaleway_mnq_sns_credentials main { project_id = scaleway_mnq_sns.main.project_id - name = "sns-credentials" + name = "sns-credentials" permissions { - can_manage = false + can_manage = false can_receive = true can_publish = false } diff --git a/docs/resources/mnq_sns_topic.md b/docs/resources/mnq_sns_topic.md index 57869cced5..a086fb409e 100644 --- a/docs/resources/mnq_sns_topic.md +++ b/docs/resources/mnq_sns_topic.md @@ -25,7 +25,7 @@ resource scaleway_mnq_sns_credentials main { resource "scaleway_mnq_sns_topic" "topic" { project_id = scaleway_mnq_sns.main.project_id - name = "my-topic" + name = "my-topic" access_key = scaleway_mnq_sns_credentials.main.access_key secret_key = scaleway_mnq_sns_credentials.main.secret_key } diff --git a/docs/resources/mnq_sns_topic_subscription.md b/docs/resources/mnq_sns_topic_subscription.md index 584ff3dd7d..2fc5884bd1 100644 --- a/docs/resources/mnq_sns_topic_subscription.md +++ b/docs/resources/mnq_sns_topic_subscription.md @@ -20,7 +20,7 @@ resource "scaleway_mnq_sns" "main" {} resource scaleway_mnq_sns_credentials main { project_id = scaleway_mnq_sns.main.project_id permissions { - can_manage = true + can_manage = true can_publish = true can_receive = true } @@ -28,7 +28,7 @@ resource scaleway_mnq_sns_credentials main { resource "scaleway_mnq_sns_topic" "topic" { project_id = scaleway_mnq_sns.main.project_id - name = "my-topic" + name = "my-topic" access_key = scaleway_mnq_sns_credentials.main.access_key secret_key = scaleway_mnq_sns_credentials.main.secret_key } @@ -37,9 +37,9 @@ resource scaleway_mnq_sns_topic_subscription main { project_id = scaleway_mnq_sns.main.project_id access_key = scaleway_mnq_sns_credentials.main.access_key secret_key = scaleway_mnq_sns_credentials.main.secret_key - topic_id = scaleway_mnq_sns_topic.topic.id - protocol = "http" - endpoint = "http://example.com" + topic_id = scaleway_mnq_sns_topic.topic.id + protocol = "http" + endpoint = "http://example.com" } ``` diff --git a/docs/resources/mnq_sqs_credentials.md b/docs/resources/mnq_sqs_credentials.md index 46c32c5dc8..09ec42e92c 100644 --- a/docs/resources/mnq_sqs_credentials.md +++ b/docs/resources/mnq_sqs_credentials.md @@ -18,10 +18,10 @@ resource "scaleway_mnq_sqs" "main" {} resource scaleway_mnq_sqs_credentials main { project_id = scaleway_mnq_sqs.main.project_id - name = "sqs-credentials" + name = "sqs-credentials" permissions { - can_manage = false + can_manage = false can_receive = true can_publish = false } diff --git a/docs/resources/mnq_sqs_queue.md b/docs/resources/mnq_sqs_queue.md index c9b16eda1b..1f622cc871 100644 --- a/docs/resources/mnq_sqs_queue.md +++ b/docs/resources/mnq_sqs_queue.md @@ -18,21 +18,21 @@ resource "scaleway_mnq_sqs" "main" {} resource scaleway_mnq_sqs_credentials main { project_id = scaleway_mnq_sqs.main.project_id - name = "sqs-credentials" + name = "sqs-credentials" permissions { - can_manage = true + can_manage = true can_receive = false can_publish = false } } resource scaleway_mnq_sqs_queue main { - project_id = scaleway_mnq_sqs.main.project_id - name = "my-queue" + project_id = scaleway_mnq_sqs.main.project_id + name = "my-queue" sqs_endpoint = scaleway_mnq_sqs.main.endpoint - access_key = scaleway_mnq_sqs_credentials.main.access_key - secret_key = scaleway_mnq_sqs_credentials.main.secret_key + access_key = scaleway_mnq_sqs_credentials.main.access_key + secret_key = scaleway_mnq_sqs_credentials.main.secret_key } ``` diff --git a/docs/resources/mongodb_instance.md b/docs/resources/mongodb_instance.md index a0cbdb7da1..0354f79808 100644 --- a/docs/resources/mongodb_instance.md +++ b/docs/resources/mongodb_instance.md @@ -14,12 +14,12 @@ For more information refer to the [product documentation](https://www.scaleway.c ```terraform resource "scaleway_mongodb_instance" "main" { - name = "test-mongodb-basic1" - version = "7.0.12" - node_type = "MGDB-PLAY2-NANO" - node_number = 1 - user_name = "my_initial_user" - password = "thiZ_is_v&ry_s3cret" + name = "test-mongodb-basic1" + version = "7.0.12" + node_type = "MGDB-PLAY2-NANO" + node_number = 1 + user_name = "my_initial_user" + password = "thiZ_is_v&ry_s3cret" volume_size_in_gb = 5 } @@ -29,19 +29,19 @@ resource "scaleway_mongodb_instance" "main" { ```terraform resource scaleway_vpc_private_network pn01 { - name = "my_private_network" + name = "my_private_network" region = "fr-par" } resource "scaleway_mongodb_instance" "main" { - name = "test-mongodb-basic1" - version = "7.0.12" - node_type = "MGDB-PLAY2-NANO" - node_number = 1 - user_name = "my_initial_user" - password = "thiZ_is_v&ry_s3cret" + name = "test-mongodb-basic1" + version = "7.0.12" + node_type = "MGDB-PLAY2-NANO" + node_number = 1 + user_name = "my_initial_user" + password = "thiZ_is_v&ry_s3cret" volume_size_in_gb = 5 - + private_network { pn_id = "${scaleway_vpc_private_network.pn02.id}" } diff --git a/docs/resources/object.md b/docs/resources/object.md index 47053813de..5be39eb6b8 100644 --- a/docs/resources/object.md +++ b/docs/resources/object.md @@ -18,8 +18,8 @@ resource "scaleway_object_bucket" "some_bucket" { resource scaleway_object "some_file" { bucket = scaleway_object_bucket.some_bucket.id - key = "object_path" - + key = "object_path" + file = "myfile" hash = filemd5("myfile") } @@ -82,4 +82,4 @@ If you are using a project different from the default one, you have to specify t ```bash terraform import scaleway_object.some_object fr-par/some-bucket/some-file@xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx -``` \ No newline at end of file +``` diff --git a/docs/resources/object_bucket.md b/docs/resources/object_bucket.md index 07c4cdcf44..8c9c747f98 100644 --- a/docs/resources/object_bucket.md +++ b/docs/resources/object_bucket.md @@ -24,7 +24,7 @@ resource "scaleway_object_bucket" "some_bucket" { ```terraform resource "scaleway_object_bucket" "some_bucket" { - name = "some-unique-name" + name = "some-unique-name" project_id = "11111111-1111-1111-1111-111111111111" } ``` @@ -32,82 +32,82 @@ resource "scaleway_object_bucket" "some_bucket" { ### Using object lifecycle ```terraform -resource "scaleway_object_bucket" "main"{ - name = "mybuckectid" +resource "scaleway_object_bucket" "main" { + name = "mybuckectid" region = "fr-par" - + # This lifecycle configuration rule will make that all objects that got a filter key that start with (path1/) be transferred # from their default storage class (STANDARD, ONEZONE_IA) to GLACIER after 120 days counting # from their creation and then 365 days after that they will be expired and deleted. lifecycle_rule { - id = "id1" - prefix = "path1/" - enabled = true - - expiration { - days = 365 - } - - transition { - days = 120 - storage_class = "GLACIER" - } + id = "id1" + prefix = "path1/" + enabled = true + + expiration { + days = 365 + } + + transition { + days = 120 + storage_class = "GLACIER" + } } - + # This lifecycle configuration rule specifies that all objects (identified by the key name prefix (path2/) in the rule) # from their creation and then 50 days after that they will be expired and deleted. lifecycle_rule { - id = "id2" - prefix = "path2/" - enabled = true - - expiration { - days = "50" - } + id = "id2" + prefix = "path2/" + enabled = true + + expiration { + days = "50" + } } - + # This lifecycle configuration rule remove any object with (path3/) prefix that match # with the tags one day after creation. lifecycle_rule { - id = "id3" - prefix = "path3/" - enabled = false - - tags = { - "tagKey" = "tagValue" - "terraform" = "hashicorp" - } - - expiration { - days = "1" - } + id = "id3" + prefix = "path3/" + enabled = false + + tags = { + "tagKey" = "tagValue" + "terraform" = "hashicorp" + } + + expiration { + days = "1" + } } - + # This lifecycle configuration rule specifies a tag-based filter (tag1/value1). # This rule directs Scaleway S3 to transition objects S3 Glacier class soon after creation. # It is also disable temporaly. lifecycle_rule { - id = "id4" - enabled = true - - tags = { - "tag1" = "value1" - } - - transition { - days = 1 - storage_class = "GLACIER" - } + id = "id4" + enabled = true + + tags = { + "tag1" = "value1" + } + + transition { + days = 1 + storage_class = "GLACIER" + } } - + # This lifecycle configuration rule specifies with the AbortIncompleteMultipartUpload action to # stop incomplete multipart uploads (identified by the key name prefix (path5/) in the rule) # if they aren't completed within a specified number of days after initiation. # Note: It's not recommended using prefix/ for AbortIncompleteMultipartUpload as any incomplete multipart upload will be billed lifecycle_rule { - # prefix = "path5/" - enabled = true - abort_incomplete_multipart_upload_days = 30 + # prefix = "path5/" + enabled = true + abort_incomplete_multipart_upload_days = 30 } } ``` diff --git a/docs/resources/object_bucket_acl.md b/docs/resources/object_bucket_acl.md index 73741c20c8..1d5010d3e7 100644 --- a/docs/resources/object_bucket_acl.md +++ b/docs/resources/object_bucket_acl.md @@ -22,7 +22,7 @@ resource "scaleway_object_bucket" "some_bucket" { resource "scaleway_object_bucket_acl" "main" { bucket = scaleway_object_bucket.main.id - acl = "private" + acl = "private" } ``` @@ -32,32 +32,32 @@ For more information, refer to the [PutBucketAcl API call documentation](https:/ ```terraform resource "scaleway_object_bucket" "main" { - name = "your-bucket" + name = "your-bucket" } resource "scaleway_object_bucket_acl" "main" { - bucket = scaleway_object_bucket.main.id - access_control_policy { - grant { - grantee { - id = ":" - type = "CanonicalUser" - } - permission = "FULL_CONTROL" + bucket = scaleway_object_bucket.main.id + access_control_policy { + grant { + grantee { + id = ":" + type = "CanonicalUser" } + permission = "FULL_CONTROL" + } - grant { - grantee { - id = "" - type = "CanonicalUser" - } - permission = "WRITE" + grant { + grantee { + id = "" + type = "CanonicalUser" } + permission = "WRITE" + } - owner { - id = "" - } + owner { + id = "" } + } } ``` diff --git a/docs/resources/object_bucket_lock_configuration.md b/docs/resources/object_bucket_lock_configuration.md index 5cb5e84b89..841d467327 100644 --- a/docs/resources/object_bucket_lock_configuration.md +++ b/docs/resources/object_bucket_lock_configuration.md @@ -17,21 +17,21 @@ Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-s ```terraform resource "scaleway_object_bucket" "main" { - name = "MyBucket" - acl = "public-read" + name = "MyBucket" + acl = "public-read" - object_lock_enabled = true + object_lock_enabled = true } resource "scaleway_object_bucket_lock_configuration" "main" { - bucket = scaleway_object_bucket.main.name + bucket = scaleway_object_bucket.main.name - rule { - default_retention { - mode = "GOVERNANCE" - days = 1 - } + rule { + default_retention { + mode = "GOVERNANCE" + days = 1 } + } } ``` diff --git a/docs/resources/object_bucket_policy.md b/docs/resources/object_bucket_policy.md index 973edeeaef..7175aeed4c 100644 --- a/docs/resources/object_bucket_policy.md +++ b/docs/resources/object_bucket_policy.md @@ -24,10 +24,10 @@ data "scaleway_iam_user" "user" { email = "user@scaleway.com" } resource "scaleway_iam_policy" "policy" { - name = "object-storage-policy" + name = "object-storage-policy" user_id = data.scaleway_iam_user.user.id rule { - project_ids = [data.scaleway_account_project.default.id] + project_ids = [data.scaleway_account_project.default.id] permission_set_names = ["ObjectStorageFullAccess"] } } @@ -39,14 +39,14 @@ resource "scaleway_object_bucket" "bucket" { resource "scaleway_object_bucket_policy" "policy" { bucket = scaleway_object_bucket.bucket.name policy = jsonencode({ - Version = "2023-04-17", + Version = "2023-04-17", Id = "MyBucketPolicy", Statement = [ { - Effect = "Allow" - Action = ["s3:*"] + Effect = "Allow" + Action = ["s3:*"] Principal = { SCW = "user_id:${data.scaleway_iam_user.user.id}" } - Resource = [ + Resource = [ scaleway_object_bucket.bucket.name, "${scaleway_object_bucket.bucket.name}/*", ] @@ -71,10 +71,10 @@ resource "scaleway_iam_application" "reading-app" { name = "reading-app" } resource "scaleway_iam_policy" "policy" { - name = "object-storage-policy" + name = "object-storage-policy" application_id = scaleway_iam_application.reading-app.id rule { - project_ids = [data.scaleway_account_project.default.id] + project_ids = [data.scaleway_account_project.default.id] permission_set_names = ["ObjectStorageBucketsRead"] } } @@ -123,12 +123,12 @@ resource "scaleway_iam_api_key" "reading-api-key" { provider "scaleway" { access_key = scaleway_iam_api_key.reading-api-key.access_key secret_key = scaleway_iam_api_key.reading-api-key.secret_key - alias = "reading-profile" + alias = "reading-profile" } data scaleway_object_bucket bucket { - provider = scaleway.reading-profile - name = "some-unique-name" + provider = scaleway.reading-profile + name = "some-unique-name" depends_on = [scaleway_iam_api_key.reading-api-key] } ``` @@ -142,9 +142,9 @@ provider "aws" { shared_credentials_files = ["/home/user/.aws/credentials"] profile = "aws-profile" - skip_region_validation = true + skip_region_validation = true skip_credentials_validation = true - skip_requesting_account_id = true + skip_requesting_account_id = true } # Scaleway project ID @@ -196,7 +196,7 @@ resource "scaleway_object_bucket" "bucket" { resource "scaleway_object_bucket_policy" "policy" { bucket = scaleway_object_bucket.bucket.name policy = jsonencode({ - Version = "2012-10-17", + Version = "2012-10-17", Statement = [ { Effect = "Allow" @@ -205,7 +205,7 @@ resource "scaleway_object_bucket_policy" "policy" { "s3:GetObjectTagging" ] Principal = { SCW = "project_id:${data.scaleway_account_project.default.id}" } - Resource = [ + Resource = [ scaleway_object_bucket.bucket.name, "${scaleway_object_bucket.bucket.name}/*", ] @@ -256,4 +256,4 @@ If you are using a project different from the default one, you have to specify t ```bash terraform import scaleway_object_bucket_policy.some_bucket fr-par/some-bucket@xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx -``` \ No newline at end of file +``` diff --git a/docs/resources/object_bucket_website_configuration.md b/docs/resources/object_bucket_website_configuration.md index d4bc729bc4..d7377e705d 100644 --- a/docs/resources/object_bucket_website_configuration.md +++ b/docs/resources/object_bucket_website_configuration.md @@ -13,15 +13,15 @@ Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-s ```terraform resource "scaleway_object_bucket" "main" { - name = "MyBucket" - acl = "public-read" + name = "MyBucket" + acl = "public-read" } resource "scaleway_object_bucket_website_configuration" "main" { - bucket = scaleway_object_bucket.main.id - index_document { - suffix = "index.html" - } + bucket = scaleway_object_bucket.main.id + index_document { + suffix = "index.html" + } } ``` @@ -29,37 +29,37 @@ resource "scaleway_object_bucket_website_configuration" "main" { ```terraform resource "scaleway_object_bucket" "main" { - name = "MyBucket" - acl = "public-read" + name = "MyBucket" + acl = "public-read" } resource "scaleway_object_bucket_policy" "main" { - bucket = scaleway_object_bucket.main.id - policy = jsonencode( + bucket = scaleway_object_bucket.main.id + policy = jsonencode( { - "Version" = "2012-10-17", - "Id" = "MyPolicy", - "Statement" = [ + "Version" = "2012-10-17", + "Id" = "MyPolicy", + "Statement" = [ { - "Sid" = "GrantToEveryone", - "Effect" = "Allow", - "Principal" = "*", - "Action" = [ - "s3:GetObject" - ], - "Resource":[ - "/*" - ] + "Sid" = "GrantToEveryone", + "Effect" = "Allow", + "Principal" = "*", + "Action" = [ + "s3:GetObject" + ], + "Resource" : [ + "/*" + ] } - ] - }) + ] + }) } resource "scaleway_object_bucket_website_configuration" "main" { - bucket = scaleway_object_bucket.main.id - index_document { - suffix = "index.html" - } + bucket = scaleway_object_bucket.main.id + index_document { + suffix = "index.html" + } } ``` diff --git a/docs/resources/rdb_acl.md b/docs/resources/rdb_acl.md index 9d308af05b..d6d2c072d8 100644 --- a/docs/resources/rdb_acl.md +++ b/docs/resources/rdb_acl.md @@ -26,7 +26,7 @@ resource "scaleway_rdb_instance" "main" { resource "scaleway_rdb_acl" "main" { instance_id = scaleway_rdb_instance.main.id acl_rules { - ip = "1.2.3.4/32" + ip = "1.2.3.4/32" description = "foo" } } diff --git a/docs/resources/rdb_database.md b/docs/resources/rdb_database.md index f7c36630a4..c8f0e0c5a2 100644 --- a/docs/resources/rdb_database.md +++ b/docs/resources/rdb_database.md @@ -24,8 +24,8 @@ resource "scaleway_rdb_instance" "main" { } resource "scaleway_rdb_database" "main" { - instance_id = scaleway_rdb_instance.main.id - name = "my-new-database" + instance_id = scaleway_rdb_instance.main.id + name = "my-new-database" } ``` diff --git a/docs/resources/rdb_database_backup.md b/docs/resources/rdb_database_backup.md index 5b94e6efae..642c21c77f 100644 --- a/docs/resources/rdb_database_backup.md +++ b/docs/resources/rdb_database_backup.md @@ -24,12 +24,12 @@ resource "scaleway_rdb_instance" "main" { } resource "scaleway_rdb_database" "main" { - instance_id = scaleway_rdb_instance.main.id - name = "database" + instance_id = scaleway_rdb_instance.main.id + name = "database" } resource scaleway_rdb_database_backup "main" { - instance_id = scaleway_rdb_instance.main.id + instance_id = scaleway_rdb_instance.main.id database_name = scaleway_rdb_database.main.name } ``` @@ -38,9 +38,9 @@ resource scaleway_rdb_database_backup "main" { ```terraform resource scaleway_rdb_database_backup "main" { - instance_id = data.scaleway_rdb_instance.main.id + instance_id = data.scaleway_rdb_instance.main.id database_name = data.scaleway_rdb_database.main.name - expires_at = "2022-06-16T07:48:44Z" + expires_at = "2022-06-16T07:48:44Z" } ``` diff --git a/docs/resources/rdb_instance.md b/docs/resources/rdb_instance.md index 87f205b297..8deb6a9a5c 100644 --- a/docs/resources/rdb_instance.md +++ b/docs/resources/rdb_instance.md @@ -14,13 +14,13 @@ For more information, see refer to the [API documentation](https://www.scaleway. ```terraform resource "scaleway_rdb_instance" "main" { - name = "test-rdb" - node_type = "DB-DEV-S" - engine = "PostgreSQL-15" - is_ha_cluster = true - disable_backup = true - user_name = "my_initial_user" - password = "thiZ_is_v&ry_s3cret" + name = "test-rdb" + node_type = "DB-DEV-S" + engine = "PostgreSQL-15" + is_ha_cluster = true + disable_backup = true + user_name = "my_initial_user" + password = "thiZ_is_v&ry_s3cret" encryption_at_rest = true } ``` @@ -51,7 +51,7 @@ resource "scaleway_rdb_instance" "main" { engine = "MySQL-8" user_name = "my_initial_user" password = "thiZ_is_v&ry_s3cret" - init_settings = { + init_settings = { "lower_case_table_names" = 1 } settings = { @@ -91,11 +91,11 @@ resource "scaleway_vpc_private_network" "pn" { } resource "scaleway_rdb_instance" "main" { - node_type = "db-dev-s" - engine = "PostgreSQL-15" + node_type = "db-dev-s" + engine = "PostgreSQL-15" private_network { pn_id = scaleway_vpc_private_network.pn.id - ip_net = "172.16.20.4/22" # IP address within a given IP network + ip_net = "172.16.20.4/22" # IP address within a given IP network # enable_ipam = false } } @@ -107,10 +107,10 @@ resource "scaleway_rdb_instance" "main" { resource "scaleway_vpc_private_network" "pn" {} resource "scaleway_rdb_instance" "main" { - node_type = "DB-DEV-S" - engine = "PostgreSQL-15" + node_type = "DB-DEV-S" + engine = "PostgreSQL-15" private_network { - pn_id = scaleway_vpc_private_network.pn.id + pn_id = scaleway_vpc_private_network.pn.id enable_ipam = true } load_balancer {} @@ -121,8 +121,8 @@ resource "scaleway_rdb_instance" "main" { ```terraform resource "scaleway_rdb_instance" "main" { - node_type = "db-dev-s" - engine = "PostgreSQL-15" + node_type = "db-dev-s" + engine = "PostgreSQL-15" } ``` diff --git a/docs/resources/rdb_privilege.md b/docs/resources/rdb_privilege.md index ca26506dd7..a387b98f84 100644 --- a/docs/resources/rdb_privilege.md +++ b/docs/resources/rdb_privilege.md @@ -22,8 +22,8 @@ resource "scaleway_rdb_instance" "main" { } resource "scaleway_rdb_database" "main" { - instance_id = scaleway_rdb_instance.main.id - name = "database" + instance_id = scaleway_rdb_instance.main.id + name = "database" } resource "scaleway_rdb_user" "main" { diff --git a/docs/resources/rdb_read_replica.md b/docs/resources/rdb_read_replica.md index 35ed5326d9..2e491e9c73 100644 --- a/docs/resources/rdb_read_replica.md +++ b/docs/resources/rdb_read_replica.md @@ -74,7 +74,7 @@ resource "scaleway_rdb_read_replica" "replica" { instance_id = scaleway_rdb_instance.instance.id private_network { private_network_id = scaleway_vpc_private_network.pn.id - enable_ipam = true + enable_ipam = true } } ``` diff --git a/docs/resources/redis_cluster.md b/docs/resources/redis_cluster.md index d3e6d7749f..9e30217270 100644 --- a/docs/resources/redis_cluster.md +++ b/docs/resources/redis_cluster.md @@ -62,7 +62,7 @@ resource "scaleway_redis_cluster" "main" { password = "thiZ_is_v&ry_s3cret" cluster_size = 1 private_network { - id = "${scaleway_vpc_private_network.pn.id}" + id = "${scaleway_vpc_private_network.pn.id}" service_ips = [ "10.12.1.1/20", ] @@ -167,7 +167,7 @@ The `private_network` block supports : Your `service_ips` must be listed as follows: ```terraform - service_ips = [ +service_ips = [ "10.12.1.10/20", "10.12.1.11/20", "10.12.1.12/20", diff --git a/docs/resources/sdb_sql_database.md b/docs/resources/sdb_sql_database.md index ff24b5c45f..560d74809f 100644 --- a/docs/resources/sdb_sql_database.md +++ b/docs/resources/sdb_sql_database.md @@ -15,7 +15,7 @@ Refer to the Serverless SQL Databases [documentation](https://www.scaleway.com/e ```hcl resource scaleway_sdb_sql_database "database" { - name = "my-database" + name = "my-database" min_cpu = 0 max_cpu = 8 } @@ -37,11 +37,11 @@ resource scaleway_iam_application "app" { } resource scaleway_iam_policy "db_access" { - name = "my policy" - description = "gives app access to serverless database in project" + name = "my policy" + description = "gives app access to serverless database in project" application_id = scaleway_iam_application.app.id rule { - project_ids = [data.scaleway_account_project.default.id] + project_ids = [data.scaleway_account_project.default.id] permission_set_names = ["ServerlessSQLDatabaseReadWrite"] } } @@ -51,7 +51,7 @@ resource scaleway_iam_api_key "api_key" { } resource scaleway_sdb_sql_database "database" { - name = "my-database" + name = "my-database" min_cpu = 0 max_cpu = 8 } diff --git a/docs/resources/secret.md b/docs/resources/secret.md index 0cc5c6b20b..7327eacbd8 100644 --- a/docs/resources/secret.md +++ b/docs/resources/secret.md @@ -33,9 +33,9 @@ In the example below, your secret's lifetime is of 24 hours, your secret version resource "scaleway_secret" "ephemeral" { name = "foo" ephemeral_policy { - ttl = "24h" + ttl = "24h" expires_once_accessed = true - action = "disable" + action = "disable" } } ``` diff --git a/docs/resources/tem_domain.md b/docs/resources/tem_domain.md index 3961222cc2..c7e1de3177 100644 --- a/docs/resources/tem_domain.md +++ b/docs/resources/tem_domain.md @@ -23,7 +23,7 @@ resource "scaleway_tem_domain" "main" { ```terraform variable "domain_name" { - type = string + type = string } resource "scaleway_tem_domain" "main" { @@ -62,7 +62,7 @@ resource "scaleway_domain_record" "dmarc" { ```terraform variable "domain_name" { - type = string + type = string } resource "scaleway_tem_domain" "main" { @@ -78,11 +78,11 @@ resource "scaleway_tem_domain" "main" { ```terraform variable "domain_name" { - type = string + type = string } data "scaleway_tem_domain" "my_domain" { - name = var.domain_name + name = var.domain_name } resource "gitlab_project_variable" "smtp_host" { diff --git a/docs/resources/tem_webhook.md b/docs/resources/tem_webhook.md index 46e8aff259..46cd312f73 100644 --- a/docs/resources/tem_webhook.md +++ b/docs/resources/tem_webhook.md @@ -32,14 +32,14 @@ variable "domain_name" { resource "scaleway_mnq_sns" "sns" { } -resource "scaleway_mnq_sns_credentials" "sns_credentials" { +resource "scaleway_mnq_sns_credentials" "sns_credentials" { permissions { can_manage = true } } resource "scaleway_mnq_sns_topic" "sns_topic" { - name = "test-mnq-sns-topic-basic" + name = "test-mnq-sns-topic-basic" access_key = scaleway_mnq_sns_credentials.sns_credentials.access_key secret_key = scaleway_mnq_sns_credentials.sns_credentials.secret_key } @@ -50,22 +50,22 @@ resource "scaleway_tem_domain" "cr01" { } resource "scaleway_domain_record" "spf" { - dns_zone = var.domain_name - type = "TXT" - data = "v=spf1 ${scaleway_tem_domain.cr01.spf_config} -all" + dns_zone = var.domain_name + type = "TXT" + data = "v=spf1 ${scaleway_tem_domain.cr01.spf_config} -all" } resource "scaleway_domain_record" "dkim" { - dns_zone = var.domain_name - name = "${scaleway_tem_domain.cr01.project_id}._domainkey" - type = "TXT" - data = scaleway_tem_domain.cr01.dkim_config + dns_zone = var.domain_name + name = "${scaleway_tem_domain.cr01.project_id}._domainkey" + type = "TXT" + data = scaleway_tem_domain.cr01.dkim_config } resource "scaleway_domain_record" "mx" { - dns_zone = var.domain_name - type = "MX" - data = "." + dns_zone = var.domain_name + type = "MX" + data = "." } resource "scaleway_domain_record" "dmarc" { diff --git a/docs/resources/vpc.md b/docs/resources/vpc.md index 938eb074cf..0dca306b27 100644 --- a/docs/resources/vpc.md +++ b/docs/resources/vpc.md @@ -14,8 +14,8 @@ For more information, see [the main documentation](https://www.scaleway.com/en/d ```terraform resource "scaleway_vpc" "vpc01" { - name = "my-vpc" - tags = ["demo", "terraform"] + name = "my-vpc" + tags = ["demo", "terraform"] } ``` diff --git a/docs/resources/vpc_acl.md b/docs/resources/vpc_acl.md index 8061933ba5..aea6fcc322 100644 --- a/docs/resources/vpc_acl.md +++ b/docs/resources/vpc_acl.md @@ -17,8 +17,8 @@ resource "scaleway_vpc" "vpc01" { } resource "scaleway_vpc_acl" "acl01" { - vpc_id = scaleway_vpc.vpc01.id - is_ipv6 = false + vpc_id = scaleway_vpc.vpc01.id + is_ipv6 = false rules { protocol = "TCP" src_port_low = 0 diff --git a/docs/resources/vpc_gateway_network.md b/docs/resources/vpc_gateway_network.md index dbc9fe3570..26c527b47d 100644 --- a/docs/resources/vpc_gateway_network.md +++ b/docs/resources/vpc_gateway_network.md @@ -33,9 +33,9 @@ resource scaleway_vpc_public_gateway pg01 { } resource scaleway_vpc_gateway_network main { - gateway_id = scaleway_vpc_public_gateway.pg01.id + gateway_id = scaleway_vpc_public_gateway.pg01.id private_network_id = scaleway_vpc_private_network.pn01.id - enable_masquerade = true + enable_masquerade = true ipam_config { push_default_route = true } @@ -70,12 +70,12 @@ resource scaleway_vpc_public_gateway pg01 { } resource scaleway_vpc_gateway_network main { - gateway_id = scaleway_vpc_public_gateway.pg01.id + gateway_id = scaleway_vpc_public_gateway.pg01.id private_network_id = scaleway_vpc_private_network.pn01.id - enable_masquerade = true + enable_masquerade = true ipam_config { push_default_route = true - ipam_ip_id = scaleway_ipam_ip.ip01.id + ipam_ip_id = scaleway_ipam_ip.ip01.id } } ``` diff --git a/docs/resources/vpc_private_network.md b/docs/resources/vpc_private_network.md index 0b44b5c0cf..f8d30d316a 100644 --- a/docs/resources/vpc_private_network.md +++ b/docs/resources/vpc_private_network.md @@ -14,8 +14,8 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_vpc_private_network" "pn_priv" { - name = "subnet_demo" - tags = ["demo", "terraform"] + name = "subnet_demo" + tags = ["demo", "terraform"] } ``` @@ -23,18 +23,18 @@ resource "scaleway_vpc_private_network" "pn_priv" { ```terraform resource "scaleway_vpc_private_network" "pn_priv" { - name = "subnet_demo" - tags = ["demo", "terraform"] - - ipv4_subnet { - subnet = "192.168.0.0/24" - } - ipv6_subnets { - subnet = "fd46:78ab:30b8:177c::/64" - } - ipv6_subnets { - subnet = "fd46:78ab:30b8:c7df::/64" - } + name = "subnet_demo" + tags = ["demo", "terraform"] + + ipv4_subnet { + subnet = "192.168.0.0/24" + } + ipv6_subnets { + subnet = "fd46:78ab:30b8:177c::/64" + } + ipv6_subnets { + subnet = "fd46:78ab:30b8:c7df::/64" + } } ``` diff --git a/docs/resources/vpc_public_gateway.md b/docs/resources/vpc_public_gateway.md index c9fd1be26f..4f00356039 100644 --- a/docs/resources/vpc_public_gateway.md +++ b/docs/resources/vpc_public_gateway.md @@ -14,9 +14,9 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_vpc_public_gateway" "main" { - name = "public_gateway_demo" - type = "VPC-GW-S" - tags = ["demo", "terraform"] + name = "public_gateway_demo" + type = "VPC-GW-S" + tags = ["demo", "terraform"] } ``` @@ -30,7 +30,8 @@ resource "scaleway_iam_ssh_key" "key1" { resource "scaleway_iam_ssh_key" "key2" { name = "key2" - public_key = file("~/.ssh/another_key.pub")} + public_key = file("~/.ssh/another_key.pub") +} # Use a local variable to compute a hash of the SSH keys locals { @@ -41,12 +42,12 @@ locals { } resource "scaleway_vpc_public_gateway" "main" { - name = "public_gateway_demo" - type = "VPC-GW-S" - tags = ["demo", "terraform"] - bastion_enabled = true - bastion_port = 61000 - refresh_ssh_keys = local.ssh_keys_hash + name = "public_gateway_demo" + type = "VPC-GW-S" + tags = ["demo", "terraform"] + bastion_enabled = true + bastion_port = 61000 + refresh_ssh_keys = local.ssh_keys_hash } ``` diff --git a/docs/resources/vpc_public_gateway_dhcp.md b/docs/resources/vpc_public_gateway_dhcp.md index 3d839a1024..f3aef2465e 100644 --- a/docs/resources/vpc_public_gateway_dhcp.md +++ b/docs/resources/vpc_public_gateway_dhcp.md @@ -16,7 +16,7 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_vpc_public_gateway_dhcp" "main" { - subnet = "192.168.1.0/24" + subnet = "192.168.1.0/24" } ``` diff --git a/docs/resources/vpc_public_gateway_dhcp_reservation.md b/docs/resources/vpc_public_gateway_dhcp_reservation.md index e657b19583..02d655dd2c 100644 --- a/docs/resources/vpc_public_gateway_dhcp_reservation.md +++ b/docs/resources/vpc_public_gateway_dhcp_reservation.md @@ -23,45 +23,45 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource scaleway_vpc_private_network main { - name = "your_private_network" + name = "your_private_network" } resource "scaleway_instance_server" "main" { - image = "ubuntu_jammy" - type = "DEV1-S" - zone = "fr-par-1" + image = "ubuntu_jammy" + type = "DEV1-S" + zone = "fr-par-1" - private_network { - pn_id = scaleway_vpc_private_network.main.id - } + private_network { + pn_id = scaleway_vpc_private_network.main.id + } } resource scaleway_vpc_public_gateway_ip main { } resource scaleway_vpc_public_gateway_dhcp main { - subnet = "192.168.1.0/24" + subnet = "192.168.1.0/24" } resource scaleway_vpc_public_gateway main { - name = "foobar" - type = "VPC-GW-S" - ip_id = scaleway_vpc_public_gateway_ip.main.id + name = "foobar" + type = "VPC-GW-S" + ip_id = scaleway_vpc_public_gateway_ip.main.id } resource scaleway_vpc_gateway_network main { - gateway_id = scaleway_vpc_public_gateway.main.id - private_network_id = scaleway_vpc_private_network.main.id - dhcp_id = scaleway_vpc_public_gateway_dhcp.main.id - cleanup_dhcp = true - enable_masquerade = true - depends_on = [scaleway_vpc_public_gateway_ip.main, scaleway_vpc_private_network.main] + gateway_id = scaleway_vpc_public_gateway.main.id + private_network_id = scaleway_vpc_private_network.main.id + dhcp_id = scaleway_vpc_public_gateway_dhcp.main.id + cleanup_dhcp = true + enable_masquerade = true + depends_on = [scaleway_vpc_public_gateway_ip.main, scaleway_vpc_private_network.main] } resource scaleway_vpc_public_gateway_dhcp_reservation main { - gateway_network_id = scaleway_vpc_gateway_network.main.id - mac_address = scaleway_instance_server.main.private_network.0.mac_address - ip_address = "192.168.1.1" + gateway_network_id = scaleway_vpc_gateway_network.main.id + mac_address = scaleway_instance_server.main.private_network.0.mac_address + ip_address = "192.168.1.1" } ``` diff --git a/docs/resources/vpc_public_gateway_ip.md b/docs/resources/vpc_public_gateway_ip.md index 5044b67e02..7ab5695b32 100644 --- a/docs/resources/vpc_public_gateway_ip.md +++ b/docs/resources/vpc_public_gateway_ip.md @@ -12,16 +12,16 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_domain_record" "tf_A" { - dns_zone = "example.com" - name = "tf" - type = "A" - data = "${scaleway_vpc_public_gateway_ip.main.address}" - ttl = 3600 - priority = 1 + dns_zone = "example.com" + name = "tf" + type = "A" + data = "${scaleway_vpc_public_gateway_ip.main.address}" + ttl = 3600 + priority = 1 } resource scaleway_vpc_public_gateway_ip main { - reverse = "tf.example.com" + reverse = "tf.example.com" } ``` diff --git a/docs/resources/vpc_public_gateway_ip_reverse_dns.md b/docs/resources/vpc_public_gateway_ip_reverse_dns.md index ac1db93682..40668e357a 100644 --- a/docs/resources/vpc_public_gateway_ip_reverse_dns.md +++ b/docs/resources/vpc_public_gateway_ip_reverse_dns.md @@ -14,17 +14,17 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de resource "scaleway_vpc_public_gateway_ip" "main" {} resource "scaleway_domain_record" "tf_A" { - dns_zone = "example.com" - name = "tf" - type = "A" - data = "${scaleway_vpc_public_gateway_ip.main.address}" - ttl = 3600 - priority = 1 + dns_zone = "example.com" + name = "tf" + type = "A" + data = "${scaleway_vpc_public_gateway_ip.main.address}" + ttl = 3600 + priority = 1 } resource "scaleway_vpc_public_gateway_ip_reverse_dns" "main" { - gateway_ip_id = scaleway_vpc_public_gateway_ip.main.id - reverse = "tf.example.com" + gateway_ip_id = scaleway_vpc_public_gateway_ip.main.id + reverse = "tf.example.com" } ``` diff --git a/docs/resources/vpc_public_gateway_pat_rule.md b/docs/resources/vpc_public_gateway_pat_rule.md index 006c962e5f..caba761f11 100644 --- a/docs/resources/vpc_public_gateway_pat_rule.md +++ b/docs/resources/vpc_public_gateway_pat_rule.md @@ -12,7 +12,7 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform resource "scaleway_instance_security_group" "sg01" { - inbound_default_policy = "drop" + inbound_default_policy = "drop" outbound_default_policy = "accept" inbound_rule { diff --git a/docs/resources/webhosting.md b/docs/resources/webhosting.md index 3a16a56133..ee32156387 100644 --- a/docs/resources/webhosting.md +++ b/docs/resources/webhosting.md @@ -12,7 +12,7 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de ```terraform data "scaleway_webhosting_offer" "by_name" { - name = "lite" + name = "lite" control_panel = "Cpanel" } diff --git a/go.mod b/go.mod index ce6edec647..bd7edaf151 100644 --- a/go.mod +++ b/go.mod @@ -72,11 +72,13 @@ require ( github.com/docker/go-units v0.4.0 // indirect github.com/fatih/color v1.18.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/fsnotify/fsnotify v1.5.4 // indirect github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/uuid v1.6.0 // indirect + github.com/gookit/color v1.5.1 // indirect github.com/hashicorp/cli v1.1.7 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-checkpoint v0.5.0 // indirect @@ -86,6 +88,7 @@ require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.7.0 // indirect github.com/hashicorp/hc-install v0.9.1 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.23.0 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.22.0 // indirect @@ -96,7 +99,12 @@ require ( github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.3 // indirect github.com/imdario/mergo v0.3.15 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/katbyte/andreyvit-diff v0.0.2 // indirect + github.com/katbyte/sergi-go-diff v1.2.2 // indirect + github.com/katbyte/terrafmt v0.5.5 // indirect github.com/klauspost/compress v1.17.9 // indirect + github.com/magiconair/properties v1.8.6 // indirect github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.9 // indirect @@ -114,14 +122,24 @@ require ( github.com/oklog/run v1.1.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.0.2 // indirect + github.com/pelletier/go-toml v1.9.5 // indirect + github.com/pelletier/go-toml/v2 v2.0.1 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect github.com/shopspring/decimal v1.3.1 // indirect + github.com/sirupsen/logrus v1.9.3 // indirect + github.com/spf13/afero v1.9.2 // indirect github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/cobra v1.5.0 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/viper v1.12.0 // indirect + github.com/subosito/gotenv v1.3.0 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect github.com/yuin/goldmark v1.7.7 // indirect github.com/yuin/goldmark-meta v1.1.0 // indirect github.com/zclconf/go-cty v1.16.2 // indirect @@ -144,6 +162,7 @@ require ( google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect google.golang.org/grpc v1.69.4 // indirect google.golang.org/protobuf v1.36.3 // indirect + gopkg.in/ini.v1 v1.66.4 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.0.3 // indirect @@ -153,4 +172,5 @@ tool ( github.com/bflad/tfproviderdocs github.com/bflad/tfproviderlint/cmd/tfproviderlint github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs + github.com/katbyte/terrafmt ) diff --git a/go.sum b/go.sum index 3500316954..93915bb1db 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,49 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/Kunde21/markdownfmt/v3 v3.1.0 h1:KiZu9LKs+wFFBQKhrZJrFZwtLnCCWJahL+S+E/3VnM0= github.com/Kunde21/markdownfmt/v3 v3.1.0/go.mod h1:tPXN1RTyOzJwhfHoon9wUr4HGYmWgVxSQN6VBJDkrVc= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= @@ -87,10 +127,19 @@ github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZ github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= @@ -111,6 +160,12 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= @@ -119,12 +174,17 @@ github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2 github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= +github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.6.0 h1:w2hPNtoehvJIxR00Vb4xX94qHQi/ApZfX+nBE2Cjio8= github.com/go-git/go-billy/v5 v5.6.0/go.mod h1:sFDq7xD3fn3E0GOwUSZqHo9lrkmx8xJhA0ZrfvjBRGM= github.com/go-git/go-git/v5 v5.13.0 h1:vLn5wlGIh/X78El6r3Jr+30W16Blk0CTcxTYcYPWi5E= github.com/go-git/go-git/v5 v5.13.0/go.mod h1:Wjo7/JyVKtQgUNdXYXIepzWfJQkUEIGvkvVkiXRR/zw= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= @@ -135,23 +195,75 @@ github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/gookit/color v1.5.1 h1:Vjg2VEcdHpwq+oY63s/ksHrgJYCTo0bwWvmmYWdE9fQ= +github.com/gookit/color v1.5.1/go.mod h1:wZFzea4X8qN6vHOSP2apMb4/+w/orMznEzYsIHPaqKM= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= github.com/hashicorp/aws-sdk-go-base v1.1.0 h1:27urM3JAp6v+Oj/Ea5ULZwuFPK9cO1RUdEpV+rNdSAc= @@ -186,8 +298,12 @@ github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/C github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.9.1 h1:gkqTfE3vVbafGQo6VZXcy2v5yoz2bE0+nhZXruCuODQ= github.com/hashicorp/hc-install v0.9.1/go.mod h1:pWWvN/IrfeBK4XPeXXYkL6EjMufHkCK5DvwxeLKuBf0= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos= github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -216,20 +332,33 @@ github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.3 h1:/Gcsuc1x8JVbJ9/rlye4xZnVAbEkGauT8lbebqcQws4= github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.15 h1:M8XP7IuFNsqUx6VPK2P9OSmsYsI/YFaGil0uD21V3dM= github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= +github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/katbyte/andreyvit-diff v0.0.2 h1:uQGxP2z57bTUGn3SCFzYKgtIKLeuYE+k9dxq1u9Js7U= +github.com/katbyte/andreyvit-diff v0.0.2/go.mod h1:TdKKfasbASLXZHMVyCoXJw999kjRmOIeHSdG1Pm/x1Y= +github.com/katbyte/sergi-go-diff v1.2.2 h1:QfvxByYpWiTcWXVDAxuAx+SY7vY2WEsboJKBDR54Egs= +github.com/katbyte/sergi-go-diff v1.2.2/go.mod h1:BxkLLDDB1iVQsnURErqoQMjkyXIlR0DefDKzZCUHNEw= +github.com/katbyte/terrafmt v0.5.5 h1:rd0aJYfGj9euWxRAbD5Km+cH+Fh68Tv2sUrerZI5fU0= +github.com/katbyte/terrafmt v0.5.5/go.mod h1:y8qQXMFOm2d5t9pqrQeGPKpsuIHrU4F1BHXcbF2pvUo= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= @@ -237,6 +366,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= +github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= @@ -284,20 +415,28 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8 github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= +github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.1 h1:8e3L2cCQzLFi2CR4g7vGFuFxX7Jl1kKX8gW+iV0GUKU= +github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250512145715-0fc65cc3636b h1:wzu3hPSNK2PPo7OXBzofeS5hOWqnVRP8xqIXom9ufoc= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250512145715-0fc65cc3636b/go.mod h1:qiGzapFyNPFwBBLJ+hTFykKSnU95n1zL64+o1ubmwf0= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= @@ -309,18 +448,32 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0LY= github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M= +github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= +github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU= +github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= +github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/subosito/gotenv v1.3.0 h1:mjC+YW8QpAdXibNi+vNWgzmgBH4+5l5dCXv8cNysBLI= +github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= @@ -330,7 +483,11 @@ github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAh github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 h1:QldyIu/L63oPpyvQmHgvgickp1Yw510KJOqX7H24mg8= +github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yuin/goldmark v1.7.7 h1:5m9rrB1sW3JUMToKFQfb+FGt1U7r57IHu5GrYrG2nqU= @@ -343,6 +500,12 @@ github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6 github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= go.abhg.dev/goldmark/frontmatter v0.2.0 h1:P8kPG0YkL12+aYk2yU3xHv4tcXzeVnN+gU0tJ5JnxRw= go.abhg.dev/goldmark/frontmatter v0.2.0/go.mod h1:XqrEkZuM57djk7zrlRUB02x8I5J0px76YjkOzhB4YlU= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 h1:sv9kVfal0MK0wBMCOGr+HeJm9v803BkJxGrk2au7j08= @@ -364,30 +527,88 @@ go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE= golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df h1:UA2aFVmmsIlefxMk29Dp2juaUSth8Pyn3Tq5Y5mJGME= golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM= golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= @@ -395,26 +616,72 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ= golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -431,8 +698,12 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.31.0 h1:erwDkOK1Msy6offm1mOgvspSkslFnIGsFnxOKoufg3o= golang.org/x/term v0.31.0/go.mod h1:R4BeIy7D95HzImkxGkTW1UQTtP54tio2RyHz7PwK0aw= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= @@ -441,14 +712,62 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4= golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200214201135-548b770e2dfa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY= @@ -457,15 +776,102 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 h1:fVoAXEKA4+yufmbdVYv+SE73+cPZbbbe8paLsHfkK+U= google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53/go.mod h1:riSXTwQ4+nqmPGtobMFyW5FqVAmIs0St6VPp4Ug7CE4= google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 h1:X58yt85/IXCx0Y3ZwN6sEIKZzQtDEYaBWrDvErdXrRE= google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.69.4 h1:MF5TftSMkd8GLw/m0KM6V8CMOCY6NZ1NQDPGFgbTt4A= google.golang.org/grpc v1.69.4/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.36.3 h1:82DV7MYdb8anAVi3qge1wSnMDrnKK7ebr+I0hHRN1BU= @@ -476,6 +882,9 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/dnaeon/go-vcr.v3 v3.2.0 h1:Rltp0Vf+Aq0u4rQXgmXgtgoRDStTnFN83cWgSGSoRzM= gopkg.in/dnaeon/go-vcr.v3 v3.2.0/go.mod h1:2IMOnnlx9I6u9x+YBsM3tAMx6AlOxnJ0pWxQAzZ79Ag= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -488,3 +897,13 @@ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=