Skip to content

Commit 954354b

Browse files
committed
update main.tf style
1 parent 3041c11 commit 954354b

File tree

157 files changed

+157
-176
lines changed
  • quickstarts
    • Alidns/101-alidns-instance-docs-Example
    • Classic_Load_Balancer(SLB)
      • 101-slb-acl-docs-Example
      • 101-slb-acl-entry-attachment-docs-Example
      • 101-slb-attachment-docs-Example
      • 101-slb-backend-server-docs-Example
      • 101-slb-ca-certificate-docs-Example-01
      • 101-slb-ca-certificate-docs-Example-02
      • 101-slb-docs-Example
      • 101-slb-domain-extension-docs-Example
      • 101-slb-listener-docs-Example
      • 101-slb-load-balancer-docs-Example
      • 101-slb-master-slave-server-group-docs-Example
      • 101-slb-rule-docs-Example
      • 101-slb-server-certificate-docs-Example-01
      • 101-slb-server-certificate-docs-Example-02
      • 101-slb-server-group-docs-Example
      • 101-slb-server-group-server-attachment-docs-Example
      • 101-slb-tls-cipher-policy-docs-Example
    • Cloud_Enterprise_Network(CEN)
      • 101-cen-transit-router-route-entry-docs-Example
      • 101-cen-vbr-health-check-docs-Example
    • Cloud_Storage_Gateway
      • 101-cloud-storage-gateway-gateway-logging-docs-Example
      • 101-cloud-storage-gateway-storage-bundle-docs-Example
    • ECS
      • 101-auto-provisioning-group-docs-Example
      • 101-ecs-activation-docs-Example
      • 101-ecs-auto-snapshot-policy-attachment-docs-Example
      • 101-ecs-auto-snapshot-policy-docs-Example
      • 101-ecs-capacity-reservation-docs-Example
      • 101-ecs-command-docs-Example
      • 101-ecs-dedicated-host-cluster-docs-Example
      • 101-ecs-dedicated-host-docs-Example-01
      • 101-ecs-dedicated-host-docs-Example-02
      • 101-ecs-deployment-set-docs-Example
      • 101-ecs-disk-attachment-docs-Example
      • 101-ecs-disk-docs-Example
      • 101-ecs-elasticity-assurance-docs-Example
      • 101-ecs-hpc-cluster-docs-Example
      • 101-ecs-image-component-docs-Example
      • 101-ecs-image-pipeline-docs-Example
      • 101-ecs-instance-set-docs-Example
      • 101-ecs-invocation-docs-Example
      • 101-ecs-key-pair-attachment-docs-Example
      • 101-ecs-key-pair-docs-Example
      • 101-ecs-launch-template-docs-Example
      • 101-ecs-network-interface-attachment-docs-Example
      • 101-ecs-network-interface-docs-Example
      • 101-ecs-network-interface-permission-docs-Example
      • 101-ecs-session-manager-status-docs-Example
      • 101-ecs-storage-capacity-unit-docs-Example
      • 101-image-copy-docs-Example
      • 101-image-docs-Example
      • 101-image-export-docs-Example
      • 101-instance-docs-Example
      • 101-ram-role-attachment-docs-Example
      • 101-security-group-docs-Example-01
      • 101-security-group-docs-Example-02
      • 101-security-group-rule-docs-Example
    • Event_Bridge/101-event-bridge-rule-docs-Example
    • Express_Connect
      • 101-vpc-bgp-group-docs-Example
      • 101-vpc-bgp-network-docs-Example
      • 101-vpc-bgp-peer-docs-Example
      • 101-vpc-vbr-ha-docs-Example
    • NAT_Gateway/101-vpc-nat-ip-docs-Example
    • Network_Load_Balancer(NLB)
      • 101-nlb-load-balancer-basic
      • 101-nlb-load-balancer-complete
    • RAM
      • 101-ram-access-key-docs-Example-01
      • 101-ram-account-password-policy-docs-Example-01
      • 101-ram-account-password-policy-docs-Example-02
      • 101-ram-group-complete
      • 101-ram-group-membership-docs-Example
      • 101-ram-group-policy-attachment-complete
      • 101-ram-role-policy-attachment-complete
      • 101-ram-saml-provider-docs-Example
      • 101-ram-security-preference-complete
      • 101-ram-user-docs-Example
    • RDS
      • 101-db-account-privilege-docs-Example
      • 101-db-backup-policy-docs-Example
      • 101-db-connection-docs-Example
      • 101-db-database-docs-Example
      • 101-db-instance-docs-Example-01
      • 101-db-instance-docs-Example-02
      • 101-db-instance-docs-Example-03
      • 101-db-instance-docs-Example-04
      • 101-db-instance-docs-Example-05
      • 101-db-instance-docs-Example-06
      • 101-db-instance-docs-Example-07
      • 101-db-instance-docs-Example-08
      • 101-db-read-write-splitting-connection-docs-Example
      • 101-db-readonly-instance-docs-Example
      • 101-rds-account-docs-Example
      • 101-rds-backup-docs-Example
      • 101-rds-clone-db-instance-docs-Example
      • 101-rds-db-instance-endpoint-address-docs-Example
      • 101-rds-db-instance-endpoint-docs-Example
      • 101-rds-db-node-docs-Example
      • 101-rds-db-proxy-docs-Example
      • 101-rds-ddr-instance-docs-Example-01
      • 101-rds-ddr-instance-docs-Example-02
      • 101-rds-instance-cross-backup-policy-docs-Example
      • 101-rds-parameter-group-docs-Example
      • 101-rds-service-linked-role-docs-Example
      • 101-rds-upgrade-db-instance-docs-Example
    • Resource_Manager
      • 101-resource-manager-account-docs-Example
      • 101-resource-manager-control-policy-attachment-docs-Example
      • 101-resource-manager-control-policy-docs-Example
      • 101-resource-manager-delegated-administrator-docs-Example
      • 101-resource-manager-folder-docs-Example
      • 101-resource-manager-policy-attachment-docs-Example
      • 101-resource-manager-policy-docs-Example
      • 101-resource-manager-policy-version-docs-Example
      • 101-resource-manager-resource-directory-docs-Example
      • 101-resource-manager-resource-group-docs-Example
      • 101-resource-manager-resource-share-docs-Example
      • 101-resource-manager-role-docs-Example
      • 101-resource-manager-saved-query-docs-Example
      • 101-resource-manager-service-linked-role-docs-Example
      • 101-resource-manager-shared-resource-docs-Example
      • 101-resource-manager-shared-target-docs-Example
    • VPC
      • 101-havip-attachment-docs-Example
      • 101-havip-docs-Example
      • 101-network-acl-docs-Example
      • 101-route-entry-docs-Example
      • 101-route-table-attachment-docs-Example
      • 101-route-table-docs-Example
      • 101-vpc-dhcp-options-set-attachment-docs-Example
      • 101-vpc-dhcp-options-set-docs-Example
      • 101-vpc-docs-Example
      • 101-vpc-flow-log-docs-Example
      • 101-vpc-gateway-endpoint-docs-Example
      • 101-vpc-gateway-endpoint-route-table-attachment-docs-Example
      • 101-vpc-gateway-route-table-attachment-docs-Example
      • 101-vpc-ha-vip-docs-Example
      • 101-vpc-ipv4-cidr-block-docs-Example
      • 101-vpc-ipv4-gateway-docs-Example
      • 101-vpc-ipv6-egress-rule-docs-Example
      • 101-vpc-ipv6-gateway-docs-Example
      • 101-vpc-ipv6-internet-bandwidth-docs-Example
      • 101-vpc-network-acl-attachment-docs-Example
      • 101-vpc-peer-connection-docs-Example
      • 101-vpc-prefix-list-docs-Example
      • 101-vpc-public-ip-address-pool-cidr-block-docs-Example
      • 101-vpc-public-ip-address-pool-docs-Example
      • 101-vpc-traffic-mirror-filter-docs-Example
      • 101-vpc-traffic-mirror-filter-egress-rule-docs-Example
      • 101-vpc-traffic-mirror-filter-ingress-rule-docs-Example
      • 101-vpc-traffic-mirror-session-docs-Example
      • 101-vpc-vswitch-cidr-reservation-docs-Example
      • 101-vswitch-docs-Example-01
      • 101-vswitch-docs-Example-02
      • 101-vswitch-docs-Example-03
    • VPN_Gateway
      • 101-ssl-vpn-server-docs-Example
      • 101-vpn-connection-docs-Example
      • 101-vpn-customer-gateway-docs-Example
      • 101-vpn-gateway-vpn-attachment-docs-Example
      • 101-vpn-ipsec-server-docs-Example
      • 101-vpn-pbr-route-entry-docs-Example
      • 101-vpn-route-entry-docs-Example

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+157
-176
lines changed

quickstarts/Alidns/101-alidns-instance-docs-Example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ resource "alicloud_alidns_instance" "example" {
55
renew_period = 1
66
renewal_status = "ManualRenewal"
77
version_code = "version_personal"
8-
}
8+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
resource "alicloud_slb_acl" "acl" {
22
name = "terraformslbaclconfig"
33
ip_version = "ipv4"
4-
}
5-
4+
}

quickstarts/Classic_Load_Balancer(SLB)/101-slb-acl-entry-attachment-docs-Example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ resource "alicloud_slb_acl_entry_attachment" "attachment" {
77
acl_id = alicloud_slb_acl.attachment.id
88
entry = "168.10.10.0/24"
99
comment = "second"
10-
}
10+
}

quickstarts/Classic_Load_Balancer(SLB)/101-slb-attachment-docs-Example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ resource "alicloud_slb_attachment" "default" {
5757
load_balancer_id = alicloud_slb_load_balancer.default.id
5858
instance_ids = [alicloud_instance.default.id]
5959
weight = 90
60-
}
60+
}

quickstarts/Classic_Load_Balancer(SLB)/101-slb-backend-server-docs-Example/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// alicloud_slb_backend_server
32
variable "slb_backend_server_name" {
43
default = "slbbackendservertest"
@@ -70,4 +69,4 @@ resource "alicloud_slb_backend_server" "backend_server" {
7069
server_id = alicloud_instance.backend_server[1].id
7170
weight = 100
7271
}
73-
}
72+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
resource "alicloud_slb_ca_certificate" "foo" {
22
ca_certificate_name = "tf-testAccSlbCACertificate"
33
ca_certificate = "-----BEGIN CERTIFICATE-----\nMIIDRjCCAq+gAwIBAgIJAJn3ox4K13PoMA0GCSqGSIb3DQEBBQUAMHYxCzAJBgNV\nBAYTAkNOMQswCQYDVQQIEwJCSjELMAkGA1UEBxMCQkoxDDAKBgNVBAoTA0FMSTEP\nMA0GA1UECxMGQUxJWVVOMQ0wCwYDVQQDEwR0ZXN0MR8wHQYJKoZIhvcNAQkBFhB0\nZXN0QGhvdG1haWwuY29tMB4XDTE0MTEyNDA2MDQyNVoXDTI0MTEyMTA2MDQyNVow\ndjELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkJKMQswCQYDVQQHEwJCSjEMMAoGA1UE\nChMDQUxJMQ8wDQYDVQQLEwZBTElZVU4xDTALBgNVBAMTBHRlc3QxHzAdBgkqhkiG\n9w0BCQEWEHRlc3RAaG90bWFpbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\nAoGBAM7SS3e9+Nj0HKAsRuIDNSsS3UK6b+62YQb2uuhKrp1HMrOx61WSDR2qkAnB\ncoG00Uz38EE+9DLYNUVQBK7aSgLP5M1Ak4wr4GqGyCgjejzzh3DshUzLCCy2rook\nKOyRTlPX+Q5l7rE1fcSNzgepcae5i2sE1XXXzLRIDIvQxcspAgMBAAGjgdswgdgw\nHQYDVR0OBBYEFBdy+OuMsvbkV7R14f0OyoLoh2z4MIGoBgNVHSMEgaAwgZ2AFBdy\n+OuMsvbkV7R14f0OyoLoh2z4oXqkeDB2MQswCQYDVQQGEwJDTjELMAkGA1UECBMC\nQkoxCzAJBgNVBAcTAkJKMQwwCgYDVQQKEwNBTEkxDzANBgNVBAsTBkFMSVlVTjEN\nMAsGA1UEAxMEdGVzdDEfMB0GCSqGSIb3DQEJARYQdGVzdEBob3RtYWlsLmNvbYIJ\nAJn3ox4K13PoMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAY7KOsnyT\ncQzfhiiG7ASjiPakw5wXoycHt5GCvLG5htp2TKVzgv9QTliA3gtfv6oV4zRZx7X1\nOfi6hVgErtHaXJheuPVeW6eAW8mHBoEfvDAfU3y9waYrtUevSl07643bzKL6v+Qd\nDUBTxOAvSYfXTtI90EAxEG/bJJyOm5LqoiA=\n-----END CERTIFICATE-----"
4-
}
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
resource "alicloud_slb_ca_certificate" "foo-file" {
22
ca_certificate_name = "tf-testAccSlbCACertificate"
33
ca_certificate = file("${path.module}/ca_certificate.pem")
4-
}
4+
}

quickstarts/Classic_Load_Balancer(SLB)/101-slb-docs-Example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ resource "alicloud_slb" "default" {
3434
tag_i = 9
3535
tag_j = 10
3636
}
37-
}
37+
}

quickstarts/Classic_Load_Balancer(SLB)/101-slb-domain-extension-docs-Example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ resource "alicloud_slb_domain_extension" "example1" {
5757
frontend_port = alicloud_slb_listener.https.frontend_port
5858
domain = "www.test.com"
5959
server_certificate_id = alicloud_slb_server_certificate.domain_extension.id
60-
}
60+
}

quickstarts/Classic_Load_Balancer(SLB)/101-slb-listener-docs-Example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ resource "alicloud_slb_acl_entry_attachment" "second" {
5454
acl_id = alicloud_slb_acl.listener.id
5555
entry = "168.10.10.0/24"
5656
comment = "second"
57-
}
57+
}

0 commit comments

Comments
 (0)