From 50a31800acc18869bbc5e1cd9c6c001f22ba1d0c Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Thu, 31 Jan 2019 18:07:02 +0000 Subject: [PATCH] Update InSpec doc template to use underscored name in title box Signed-off-by: Modular Magician --- docs/resources/google_cloudbuild_trigger.md | 3 +-- docs/resources/google_cloudbuild_triggers.md | 3 +-- docs/resources/google_compute_autoscaler.md | 3 +-- docs/resources/google_compute_autoscalers.md | 3 +-- docs/resources/google_compute_backend_service.md | 3 +-- docs/resources/google_compute_backend_services.md | 3 +-- docs/resources/google_compute_disk.md | 3 +-- docs/resources/google_compute_disks.md | 3 +-- docs/resources/google_compute_global_address.md | 3 +-- docs/resources/google_compute_global_addresses.md | 3 +-- docs/resources/google_compute_global_forwarding_rule.md | 3 +-- docs/resources/google_compute_global_forwarding_rules.md | 3 +-- docs/resources/google_compute_health_check.md | 3 +-- docs/resources/google_compute_health_checks.md | 3 +-- docs/resources/google_compute_http_health_check.md | 3 +-- docs/resources/google_compute_http_health_checks.md | 3 +-- docs/resources/google_compute_https_health_check.md | 3 +-- docs/resources/google_compute_https_health_checks.md | 3 +-- docs/resources/google_compute_instance_group_manager.md | 3 +-- docs/resources/google_compute_instance_group_managers.md | 3 +-- docs/resources/google_compute_instance_template.md | 3 +-- docs/resources/google_compute_instance_templates.md | 3 +-- docs/resources/google_compute_route.md | 3 +-- docs/resources/google_compute_routes.md | 3 +-- docs/resources/google_compute_ssl_policies.md | 3 +-- docs/resources/google_compute_ssl_policy.md | 3 +-- docs/resources/google_compute_target_http_proxies.md | 3 +-- docs/resources/google_compute_target_http_proxy.md | 3 +-- docs/resources/google_compute_target_pool.md | 3 +-- docs/resources/google_compute_target_pools.md | 3 +-- docs/resources/google_compute_target_tcp_proxies.md | 3 +-- docs/resources/google_compute_target_tcp_proxy.md | 3 +-- docs/resources/google_compute_url_map.md | 3 +-- docs/resources/google_compute_url_maps.md | 3 +-- docs/resources/google_container_regional_cluster.md | 3 +-- docs/resources/google_container_regional_clusters.md | 3 +-- docs/resources/google_dns_resource_record_set.md | 3 +-- docs/resources/google_dns_resource_record_sets.md | 3 +-- docs/resources/google_pubsub_subscription.md | 3 +-- docs/resources/google_pubsub_subscriptions.md | 3 +-- docs/resources/google_pubsub_topic.md | 3 +-- docs/resources/google_pubsub_topics.md | 3 +-- test/integration/build/gcp-mm.tf | 4 ++++ 43 files changed, 46 insertions(+), 84 deletions(-) diff --git a/docs/resources/google_cloudbuild_trigger.md b/docs/resources/google_cloudbuild_trigger.md index 5cefb56d9..0cb4e3f4a 100644 --- a/docs/resources/google_cloudbuild_trigger.md +++ b/docs/resources/google_cloudbuild_trigger.md @@ -1,9 +1,8 @@ --- -title: About the Trigger resource +title: About the google_cloudbuild_trigger resource platform: gcp --- - ## Syntax A `google_cloudbuild_trigger` is used to test a Google Trigger resource diff --git a/docs/resources/google_cloudbuild_triggers.md b/docs/resources/google_cloudbuild_triggers.md index c501ddc93..65b56a458 100644 --- a/docs/resources/google_cloudbuild_triggers.md +++ b/docs/resources/google_cloudbuild_triggers.md @@ -1,9 +1,8 @@ --- -title: About the Trigger resource +title: About the google_cloudbuild_triggers resource platform: gcp --- - ## Syntax A `google_cloudbuild_triggers` is used to test a Google Trigger resource diff --git a/docs/resources/google_compute_autoscaler.md b/docs/resources/google_compute_autoscaler.md index 8ce7f1302..080cb7b69 100644 --- a/docs/resources/google_compute_autoscaler.md +++ b/docs/resources/google_compute_autoscaler.md @@ -1,9 +1,8 @@ --- -title: About the Autoscaler resource +title: About the google_compute_autoscaler resource platform: gcp --- - ## Syntax A `google_compute_autoscaler` is used to test a Google Autoscaler resource diff --git a/docs/resources/google_compute_autoscalers.md b/docs/resources/google_compute_autoscalers.md index 0f076076e..5012cc96b 100644 --- a/docs/resources/google_compute_autoscalers.md +++ b/docs/resources/google_compute_autoscalers.md @@ -1,9 +1,8 @@ --- -title: About the Autoscaler resource +title: About the google_compute_autoscalers resource platform: gcp --- - ## Syntax A `google_compute_autoscalers` is used to test a Google Autoscaler resource diff --git a/docs/resources/google_compute_backend_service.md b/docs/resources/google_compute_backend_service.md index a39c873c9..8a7d426eb 100644 --- a/docs/resources/google_compute_backend_service.md +++ b/docs/resources/google_compute_backend_service.md @@ -1,9 +1,8 @@ --- -title: About the BackendService resource +title: About the google_compute_backend_service resource platform: gcp --- - ## Syntax A `google_compute_backend_service` is used to test a Google BackendService resource diff --git a/docs/resources/google_compute_backend_services.md b/docs/resources/google_compute_backend_services.md index 98ec3896d..c8373da98 100644 --- a/docs/resources/google_compute_backend_services.md +++ b/docs/resources/google_compute_backend_services.md @@ -1,9 +1,8 @@ --- -title: About the BackendService resource +title: About the google_compute_backend_services resource platform: gcp --- - ## Syntax A `google_compute_backend_services` is used to test a Google BackendService resource diff --git a/docs/resources/google_compute_disk.md b/docs/resources/google_compute_disk.md index f1a0a8f7e..bfada18ce 100644 --- a/docs/resources/google_compute_disk.md +++ b/docs/resources/google_compute_disk.md @@ -1,9 +1,8 @@ --- -title: About the Disk resource +title: About the google_compute_disk resource platform: gcp --- - ## Syntax A `google_compute_disk` is used to test a Google Disk resource diff --git a/docs/resources/google_compute_disks.md b/docs/resources/google_compute_disks.md index e9442c5ac..b9c7e43fc 100644 --- a/docs/resources/google_compute_disks.md +++ b/docs/resources/google_compute_disks.md @@ -1,9 +1,8 @@ --- -title: About the Disk resource +title: About the google_compute_disks resource platform: gcp --- - ## Syntax A `google_compute_disks` is used to test a Google Disk resource diff --git a/docs/resources/google_compute_global_address.md b/docs/resources/google_compute_global_address.md index 85c913ad6..b00f2ce7e 100644 --- a/docs/resources/google_compute_global_address.md +++ b/docs/resources/google_compute_global_address.md @@ -1,9 +1,8 @@ --- -title: About the GlobalAddress resource +title: About the google_compute_global_address resource platform: gcp --- - ## Syntax A `google_compute_global_address` is used to test a Google GlobalAddress resource diff --git a/docs/resources/google_compute_global_addresses.md b/docs/resources/google_compute_global_addresses.md index c4d45ac12..4c9a7530f 100644 --- a/docs/resources/google_compute_global_addresses.md +++ b/docs/resources/google_compute_global_addresses.md @@ -1,9 +1,8 @@ --- -title: About the GlobalAddress resource +title: About the google_compute_global_addresses resource platform: gcp --- - ## Syntax A `google_compute_global_addresses` is used to test a Google GlobalAddress resource diff --git a/docs/resources/google_compute_global_forwarding_rule.md b/docs/resources/google_compute_global_forwarding_rule.md index 4642d5dd8..f6256481e 100644 --- a/docs/resources/google_compute_global_forwarding_rule.md +++ b/docs/resources/google_compute_global_forwarding_rule.md @@ -1,9 +1,8 @@ --- -title: About the GlobalForwardingRule resource +title: About the google_compute_global_forwarding_rule resource platform: gcp --- - ## Syntax A `google_compute_global_forwarding_rule` is used to test a Google GlobalForwardingRule resource diff --git a/docs/resources/google_compute_global_forwarding_rules.md b/docs/resources/google_compute_global_forwarding_rules.md index 5c451c975..e48105f97 100644 --- a/docs/resources/google_compute_global_forwarding_rules.md +++ b/docs/resources/google_compute_global_forwarding_rules.md @@ -1,9 +1,8 @@ --- -title: About the GlobalForwardingRule resource +title: About the google_compute_global_forwarding_rules resource platform: gcp --- - ## Syntax A `google_compute_global_forwarding_rules` is used to test a Google GlobalForwardingRule resource diff --git a/docs/resources/google_compute_health_check.md b/docs/resources/google_compute_health_check.md index 8f0e68b56..5687272c5 100644 --- a/docs/resources/google_compute_health_check.md +++ b/docs/resources/google_compute_health_check.md @@ -1,9 +1,8 @@ --- -title: About the HealthCheck resource +title: About the google_compute_health_check resource platform: gcp --- - ## Syntax A `google_compute_health_check` is used to test a Google HealthCheck resource diff --git a/docs/resources/google_compute_health_checks.md b/docs/resources/google_compute_health_checks.md index 58eb9651c..a11c784ba 100644 --- a/docs/resources/google_compute_health_checks.md +++ b/docs/resources/google_compute_health_checks.md @@ -1,9 +1,8 @@ --- -title: About the HealthCheck resource +title: About the google_compute_health_checks resource platform: gcp --- - ## Syntax A `google_compute_health_checks` is used to test a Google HealthCheck resource diff --git a/docs/resources/google_compute_http_health_check.md b/docs/resources/google_compute_http_health_check.md index ffeaeb4e9..1bb332599 100644 --- a/docs/resources/google_compute_http_health_check.md +++ b/docs/resources/google_compute_http_health_check.md @@ -1,9 +1,8 @@ --- -title: About the HttpHealthCheck resource +title: About the google_compute_http_health_check resource platform: gcp --- - ## Syntax A `google_compute_http_health_check` is used to test a Google HttpHealthCheck resource diff --git a/docs/resources/google_compute_http_health_checks.md b/docs/resources/google_compute_http_health_checks.md index 68be3ca4c..d0a413fee 100644 --- a/docs/resources/google_compute_http_health_checks.md +++ b/docs/resources/google_compute_http_health_checks.md @@ -1,9 +1,8 @@ --- -title: About the HttpHealthCheck resource +title: About the google_compute_http_health_checks resource platform: gcp --- - ## Syntax A `google_compute_http_health_checks` is used to test a Google HttpHealthCheck resource diff --git a/docs/resources/google_compute_https_health_check.md b/docs/resources/google_compute_https_health_check.md index 300688155..3b550e484 100644 --- a/docs/resources/google_compute_https_health_check.md +++ b/docs/resources/google_compute_https_health_check.md @@ -1,9 +1,8 @@ --- -title: About the HttpsHealthCheck resource +title: About the google_compute_https_health_check resource platform: gcp --- - ## Syntax A `google_compute_https_health_check` is used to test a Google HttpsHealthCheck resource diff --git a/docs/resources/google_compute_https_health_checks.md b/docs/resources/google_compute_https_health_checks.md index 9ef01d5f8..4fa507d2b 100644 --- a/docs/resources/google_compute_https_health_checks.md +++ b/docs/resources/google_compute_https_health_checks.md @@ -1,9 +1,8 @@ --- -title: About the HttpsHealthCheck resource +title: About the google_compute_https_health_checks resource platform: gcp --- - ## Syntax A `google_compute_https_health_checks` is used to test a Google HttpsHealthCheck resource diff --git a/docs/resources/google_compute_instance_group_manager.md b/docs/resources/google_compute_instance_group_manager.md index 42f256204..378467686 100644 --- a/docs/resources/google_compute_instance_group_manager.md +++ b/docs/resources/google_compute_instance_group_manager.md @@ -1,9 +1,8 @@ --- -title: About the InstanceGroupManager resource +title: About the google_compute_instance_group_manager resource platform: gcp --- - ## Syntax A `google_compute_instance_group_manager` is used to test a Google InstanceGroupManager resource diff --git a/docs/resources/google_compute_instance_group_managers.md b/docs/resources/google_compute_instance_group_managers.md index a5cf98836..2bcb6fde1 100644 --- a/docs/resources/google_compute_instance_group_managers.md +++ b/docs/resources/google_compute_instance_group_managers.md @@ -1,9 +1,8 @@ --- -title: About the InstanceGroupManager resource +title: About the google_compute_instance_group_managers resource platform: gcp --- - ## Syntax A `google_compute_instance_group_managers` is used to test a Google InstanceGroupManager resource diff --git a/docs/resources/google_compute_instance_template.md b/docs/resources/google_compute_instance_template.md index be2c516ec..019283365 100644 --- a/docs/resources/google_compute_instance_template.md +++ b/docs/resources/google_compute_instance_template.md @@ -1,9 +1,8 @@ --- -title: About the InstanceTemplate resource +title: About the google_compute_instance_template resource platform: gcp --- - ## Syntax A `google_compute_instance_template` is used to test a Google InstanceTemplate resource diff --git a/docs/resources/google_compute_instance_templates.md b/docs/resources/google_compute_instance_templates.md index abc173421..ca0973ef1 100644 --- a/docs/resources/google_compute_instance_templates.md +++ b/docs/resources/google_compute_instance_templates.md @@ -1,9 +1,8 @@ --- -title: About the InstanceTemplate resource +title: About the google_compute_instance_templates resource platform: gcp --- - ## Syntax A `google_compute_instance_templates` is used to test a Google InstanceTemplate resource diff --git a/docs/resources/google_compute_route.md b/docs/resources/google_compute_route.md index 787b385bb..f1f295ee4 100644 --- a/docs/resources/google_compute_route.md +++ b/docs/resources/google_compute_route.md @@ -1,9 +1,8 @@ --- -title: About the Route resource +title: About the google_compute_route resource platform: gcp --- - ## Syntax A `google_compute_route` is used to test a Google Route resource diff --git a/docs/resources/google_compute_routes.md b/docs/resources/google_compute_routes.md index d79db273c..9945b7a60 100644 --- a/docs/resources/google_compute_routes.md +++ b/docs/resources/google_compute_routes.md @@ -1,9 +1,8 @@ --- -title: About the Route resource +title: About the google_compute_routes resource platform: gcp --- - ## Syntax A `google_compute_routes` is used to test a Google Route resource diff --git a/docs/resources/google_compute_ssl_policies.md b/docs/resources/google_compute_ssl_policies.md index 8e9ddb678..191879003 100644 --- a/docs/resources/google_compute_ssl_policies.md +++ b/docs/resources/google_compute_ssl_policies.md @@ -1,9 +1,8 @@ --- -title: About the SslPolicy resource +title: About the google_compute_ssl_policies resource platform: gcp --- - ## Syntax A `google_compute_ssl_policies` is used to test a Google SslPolicy resource diff --git a/docs/resources/google_compute_ssl_policy.md b/docs/resources/google_compute_ssl_policy.md index 827066f17..baf91eed1 100644 --- a/docs/resources/google_compute_ssl_policy.md +++ b/docs/resources/google_compute_ssl_policy.md @@ -1,9 +1,8 @@ --- -title: About the SslPolicy resource +title: About the google_compute_ssl_policy resource platform: gcp --- - ## Syntax A `google_compute_ssl_policy` is used to test a Google SslPolicy resource diff --git a/docs/resources/google_compute_target_http_proxies.md b/docs/resources/google_compute_target_http_proxies.md index 9a5c0f7c7..f25b76af4 100644 --- a/docs/resources/google_compute_target_http_proxies.md +++ b/docs/resources/google_compute_target_http_proxies.md @@ -1,9 +1,8 @@ --- -title: About the TargetHttpProxy resource +title: About the google_compute_target_http_proxies resource platform: gcp --- - ## Syntax A `google_compute_target_http_proxies` is used to test a Google TargetHttpProxy resource diff --git a/docs/resources/google_compute_target_http_proxy.md b/docs/resources/google_compute_target_http_proxy.md index 3ca7b2c93..04cf987b7 100644 --- a/docs/resources/google_compute_target_http_proxy.md +++ b/docs/resources/google_compute_target_http_proxy.md @@ -1,9 +1,8 @@ --- -title: About the TargetHttpProxy resource +title: About the google_compute_target_http_proxy resource platform: gcp --- - ## Syntax A `google_compute_target_http_proxy` is used to test a Google TargetHttpProxy resource diff --git a/docs/resources/google_compute_target_pool.md b/docs/resources/google_compute_target_pool.md index 5a4cc4aec..6b128d2b4 100644 --- a/docs/resources/google_compute_target_pool.md +++ b/docs/resources/google_compute_target_pool.md @@ -1,9 +1,8 @@ --- -title: About the TargetPool resource +title: About the google_compute_target_pool resource platform: gcp --- - ## Syntax A `google_compute_target_pool` is used to test a Google TargetPool resource diff --git a/docs/resources/google_compute_target_pools.md b/docs/resources/google_compute_target_pools.md index 7af189822..7f24378f5 100644 --- a/docs/resources/google_compute_target_pools.md +++ b/docs/resources/google_compute_target_pools.md @@ -1,9 +1,8 @@ --- -title: About the TargetPool resource +title: About the google_compute_target_pools resource platform: gcp --- - ## Syntax A `google_compute_target_pools` is used to test a Google TargetPool resource diff --git a/docs/resources/google_compute_target_tcp_proxies.md b/docs/resources/google_compute_target_tcp_proxies.md index 7a240dece..67847348d 100644 --- a/docs/resources/google_compute_target_tcp_proxies.md +++ b/docs/resources/google_compute_target_tcp_proxies.md @@ -1,9 +1,8 @@ --- -title: About the TargetTcpProxy resource +title: About the google_compute_target_tcp_proxies resource platform: gcp --- - ## Syntax A `google_compute_target_tcp_proxies` is used to test a Google TargetTcpProxy resource diff --git a/docs/resources/google_compute_target_tcp_proxy.md b/docs/resources/google_compute_target_tcp_proxy.md index 4a515d082..7da650ee0 100644 --- a/docs/resources/google_compute_target_tcp_proxy.md +++ b/docs/resources/google_compute_target_tcp_proxy.md @@ -1,9 +1,8 @@ --- -title: About the TargetTcpProxy resource +title: About the google_compute_target_tcp_proxy resource platform: gcp --- - ## Syntax A `google_compute_target_tcp_proxy` is used to test a Google TargetTcpProxy resource diff --git a/docs/resources/google_compute_url_map.md b/docs/resources/google_compute_url_map.md index be31db359..841478ee8 100644 --- a/docs/resources/google_compute_url_map.md +++ b/docs/resources/google_compute_url_map.md @@ -1,9 +1,8 @@ --- -title: About the UrlMap resource +title: About the google_compute_url_map resource platform: gcp --- - ## Syntax A `google_compute_url_map` is used to test a Google UrlMap resource diff --git a/docs/resources/google_compute_url_maps.md b/docs/resources/google_compute_url_maps.md index 5c2b4fd46..9a1ddc5cc 100644 --- a/docs/resources/google_compute_url_maps.md +++ b/docs/resources/google_compute_url_maps.md @@ -1,9 +1,8 @@ --- -title: About the UrlMap resource +title: About the google_compute_url_maps resource platform: gcp --- - ## Syntax A `google_compute_url_maps` is used to test a Google UrlMap resource diff --git a/docs/resources/google_container_regional_cluster.md b/docs/resources/google_container_regional_cluster.md index 40bf6a58c..d352cd5cb 100644 --- a/docs/resources/google_container_regional_cluster.md +++ b/docs/resources/google_container_regional_cluster.md @@ -1,9 +1,8 @@ --- -title: About the RegionalCluster resource +title: About the google_container_regional_cluster resource platform: gcp --- - ## Syntax A `google_container_regional_cluster` is used to test a Google RegionalCluster resource diff --git a/docs/resources/google_container_regional_clusters.md b/docs/resources/google_container_regional_clusters.md index f8b280ecb..e642a91ce 100644 --- a/docs/resources/google_container_regional_clusters.md +++ b/docs/resources/google_container_regional_clusters.md @@ -1,9 +1,8 @@ --- -title: About the RegionalCluster resource +title: About the google_container_regional_clusters resource platform: gcp --- - ## Syntax A `google_container_regional_clusters` is used to test a Google RegionalCluster resource diff --git a/docs/resources/google_dns_resource_record_set.md b/docs/resources/google_dns_resource_record_set.md index 277f93de7..4517c7769 100644 --- a/docs/resources/google_dns_resource_record_set.md +++ b/docs/resources/google_dns_resource_record_set.md @@ -1,9 +1,8 @@ --- -title: About the ResourceRecordSet resource +title: About the google_dns_resource_record_set resource platform: gcp --- - ## Syntax A `google_dns_resource_record_set` is used to test a Google ResourceRecordSet resource diff --git a/docs/resources/google_dns_resource_record_sets.md b/docs/resources/google_dns_resource_record_sets.md index 785835fdd..1ab1eb064 100644 --- a/docs/resources/google_dns_resource_record_sets.md +++ b/docs/resources/google_dns_resource_record_sets.md @@ -1,9 +1,8 @@ --- -title: About the ResourceRecordSet resource +title: About the google_dns_resource_record_sets resource platform: gcp --- - ## Syntax A `google_dns_resource_record_sets` is used to test a Google ResourceRecordSet resource diff --git a/docs/resources/google_pubsub_subscription.md b/docs/resources/google_pubsub_subscription.md index 9762a829d..5f6dae910 100644 --- a/docs/resources/google_pubsub_subscription.md +++ b/docs/resources/google_pubsub_subscription.md @@ -1,9 +1,8 @@ --- -title: About the Subscription resource +title: About the google_pubsub_subscription resource platform: gcp --- - ## Syntax A `google_pubsub_subscription` is used to test a Google Subscription resource diff --git a/docs/resources/google_pubsub_subscriptions.md b/docs/resources/google_pubsub_subscriptions.md index ae01487c3..29329d1c7 100644 --- a/docs/resources/google_pubsub_subscriptions.md +++ b/docs/resources/google_pubsub_subscriptions.md @@ -1,9 +1,8 @@ --- -title: About the Subscription resource +title: About the google_pubsub_subscriptions resource platform: gcp --- - ## Syntax A `google_pubsub_subscriptions` is used to test a Google Subscription resource diff --git a/docs/resources/google_pubsub_topic.md b/docs/resources/google_pubsub_topic.md index dcfe05efb..31de8cfaf 100644 --- a/docs/resources/google_pubsub_topic.md +++ b/docs/resources/google_pubsub_topic.md @@ -1,9 +1,8 @@ --- -title: About the Topic resource +title: About the google_pubsub_topic resource platform: gcp --- - ## Syntax A `google_pubsub_topic` is used to test a Google Topic resource diff --git a/docs/resources/google_pubsub_topics.md b/docs/resources/google_pubsub_topics.md index 85673f142..a553261b9 100644 --- a/docs/resources/google_pubsub_topics.md +++ b/docs/resources/google_pubsub_topics.md @@ -1,9 +1,8 @@ --- -title: About the Topic resource +title: About the google_pubsub_topics resource platform: gcp --- - ## Syntax A `google_pubsub_topics` is used to test a Google Topic resource diff --git a/test/integration/build/gcp-mm.tf b/test/integration/build/gcp-mm.tf index 515866644..5d8fb1a5a 100644 --- a/test/integration/build/gcp-mm.tf +++ b/test/integration/build/gcp-mm.tf @@ -332,5 +332,9 @@ resource "google_compute_route" "gcp-inspec-route" { network = "${google_compute_network.inspec-gcp-network.name}" next_hop_ip = "${var.route["next_hop_ip"]}" priority = "${var.route["priority"]}" + # google_compute_route depends on next_hop_ip belonging to a subnetwork + # of the named network in this block. Since inspec-gcp-network does not + # automatically create subnetworks, we need to create a dependency so + # the route is not created before the subnetwork depends_on = ["google_compute_subnetwork.inspec-gcp-subnetwork"] } \ No newline at end of file