使用IBM云计算图谱(Terraform)中的外部资源,将CIS白名单IP应用到安全组中

首先

在使用CIS(云逆向代理)时,建议将”IBM Cloud Internet Services whitelisted IP addresses”添加到防火墙或其他白名单注册中。
建议每周至少检查一次CIS的Whitelisted IP是否有更改,下面将介绍实施该机制的步骤。
本次将使用IBM Cloud Schematics(Terraform)创建安全组。

Kobito.JyTAlE.png

使用 Terraform 的外部资源进行利用

外部资源是一种可以将外部脚本执行结果用作数据的功能。

在classic-sg-allow-cis.tf文件中,可以进行如下描述。

data "external" "cis_ipv4_cidrs" {
  program = ["bash", "get_cis_ipv4_cidrs.sh"]
}

将从 https://api.cis.cloud.ibm.com/v1/ips 下载的 JSON 数据,通过 Terraform 进行整理格式,并输出结果,这是一个外部运行的 shell 脚本的例子。

#!/bin/bash

# CIS Whitelist IP を変数に格納
ipv4_cidrs=$(curl https://api.cis.cloud.ibm.com/v1/ips | jq -r .result.ipv4_cidrs)

# 長さを変数に格納
len=$(echo $ipv4_cidrs | jq length)

# 空の配列を定義
array=()

# 配列に key value key value ... と格納
for i in $( seq 0 $(($len - 1)) ); do
  row=$(echo $ipv4_cidrs | jq -r .[$i])
  array+=( $i)
  array+=( $row )
done

# 格納した配列を JSON に整形して表示 { "key": "value", "key": "value", ...}
{
    echo '['
    printf '{"%s": "%s"},\n' "${array[@]}" | sed '$s/,$//'
    echo ']'
} | jq '. | add'

因为 IBM Cloud Schematics 上的 Terraform 版本是 v0.11.14,所以我们将使用 External Resource,但是在版本 0.12 及以上,您可以直接在 Terraform 中获取 JSON 并轻松地使用它。

如何处理Terraform中的JSON- Qiita

准备事项

请参考”IaaS API key的发行和获取”来发行和获取IaaS API key。

IBM云构建

Note: Please let me know if you need a different option or if you have any specific context for the desired paraphrase.

请参考「IBM Cloud Schematics工作空间创建」,从https://cloud.ibm.com/schematics/workspaces 创建工作空间。
参数如下:

    • Workspace Name

khayama-classic-sg-allow-cis

GitHub repository URL

https://github.com/khayama/schematics-classic-sg-allow-cis

iaas_classic_username

事前準備で発行・取得したもの

iaas_classic_api_key

事前準備で発行・取得したもの

於IBM Cloud Schematics上。

(IBM Cloud Schematics is applicable on IBM Cloud Schematics.)

从IBM Cloud Schematics的右上角的”Apply Plan”创建安全组。
下面是应用时的日志。

Activity triggered. Waiting for the logs. 2019/12/06 08:33:46 -----  New Action  -----
 2019/12/06 08:33:46 Request: activityID=xxxxxxx, account=xxxxxxx, owner=xxxxxxx, requestID=xxxxxxx
 2019/12/06 08:33:46 Related Activity: action=APPLY, workspaceID=xxxxxxx, processedBy=engine-1521-74kv8
 2019/12/06 08:33:46 Related Workspace: name=xxxxxxx, sourcerelease=(not specified), sourceurl=https://github.com/khayama/schematics-classic-sg-allow-cis

 2019/12/06 08:33:46 Request: activityID=xxxxxxx, account=xxxxxxx, owner=xxxxxxx, requestID=xxxxxxx
 2019/12/06 08:33:46 Related Activity: action=APPLY, workspaceID=xxxxxxx, processedBy=engine-1521-74kv8
 2019/12/06 08:33:46 Related Workspace: name=xxxxxxx, sourcerelease=(not specified), sourceurl=https://github.com/khayama/schematics-classic-sg-allow-cis
 2019/12/06 08:34:19 workspace.template.StateFile: xxxxxxx
 2019/12/06 08:34:20 workspace.template.SecFile: xxxxxxx

 2019/12/06 08:34:20 -----  Terraform INIT  -----
 2019/12/06 08:34:20 Starting command: terraform init -input=false -no-color
 2019/12/06 08:34:20 Terraform init | 
 2019/12/06 08:34:20 Terraform init | Initializing provider plugins...
 2019/12/06 08:34:20 Terraform init | - Checking for available provider plugins on https://releases.hashicorp.com...
 2019/12/06 08:34:21 Terraform init | - Downloading plugin for provider "external" (1.2.0)...
 2019/12/06 08:34:22 Terraform init | 
 2019/12/06 08:34:22 Terraform init | The following providers do not have any version constraints in configuration,
 2019/12/06 08:34:22 Terraform init | so the latest version was installed.
 2019/12/06 08:34:22 Terraform init | 
 2019/12/06 08:34:22 Terraform init | To prevent automatic upgrades to new major versions that may contain breaking
 2019/12/06 08:34:22 Terraform init | changes, it is recommended to add version = "..." constraints to the
 2019/12/06 08:34:22 Terraform init | corresponding provider blocks in configuration, with the constraint strings
 2019/12/06 08:34:22 Terraform init | suggested below.
 2019/12/06 08:34:22 Terraform init | 
 2019/12/06 08:34:22 Terraform init | * provider.external: version = "~> 1.2"
 2019/12/06 08:34:22 Terraform init | * provider.ibm: version = "~> 0.20"
 2019/12/06 08:34:22 Terraform init | 
 2019/12/06 08:34:22 Terraform init | Terraform has been successfully initialized!
 2019/12/06 08:34:22 Command finished successfully.

 2019/12/06 08:34:22 -----  Terraform SHOW  -----
 2019/12/06 08:34:22 Starting command: terraform show -no-color
 2019/12/06 08:34:22 Terraform show | 
 2019/12/06 08:34:22 Command finished successfully.

 2019/12/06 08:34:22 -----  Terraform APPLY  -----
 2019/12/06 08:34:22 Starting command: terraform apply -state=terraform.tfstate -var-file=schematics.tfvars -auto-approve -no-color
 2019/12/06 08:34:24 Terraform apply | data.external.cis_ipv4_cidrs: Refreshing state...
 2019/12/06 08:34:24 Terraform apply | data.external.cis_ipv6_cidrs: Refreshing state...
 2019/12/06 08:34:26 Terraform apply | ibm_security_group.sg1: Creating...
 2019/12/06 08:34:26 Terraform apply |   description: "" => "Allow all HTTP/HTTPS ingress traffic from IBM Cloud Internet Services"
 2019/12/06 08:34:26 Terraform apply |   name:        "" => "allow_cis_ips"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group.sg1: Creation complete after 0s (ID: 2237738)
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[9]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "198.41.128.0/17"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[5]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "2a06:98c0::/29"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[4]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "141.101.64.0/18"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[2]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "103.22.200.0/22"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[6]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "190.93.240.0/20"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[6]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "2c0f:f248::/32"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[4]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "2405:8100::/32"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[6]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "2c0f:f248::/32"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[1]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "2606:4700::/32"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:27 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[2]: Creating...
 2019/12/06 08:34:27 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:27 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:27 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:27 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:27 Terraform apply |   remote_ip:         "" => "2803:f800::/32"
 2019/12/06 08:34:27 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[6]: Creation complete after 1s (ID: 6812746)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[13]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "131.0.72.0/22"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[6]: Creation complete after 1s (ID: 6812204)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[1]: Creation complete after 1s (ID: 6812832)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[2]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "103.22.200.0/22"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[9]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "198.41.128.0/17"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[4]: Creation complete after 1s (ID: 6812748)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[4]: Creation complete after 1s (ID: 6812668)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[9]: Creation complete after 1s (ID: 6812576)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[11]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "104.16.0.0/12"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[5]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "2a06:98c0::/29"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[2]: Creation complete after 1s (ID: 6812828)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[2]: Creation complete after 1s (ID: 6812670)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[0]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "173.245.48.0/20"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[6]: Creation complete after 2s (ID: 6812830)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[12]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "172.64.0.0/13"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[3]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "2405:b500::/32"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[1]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "103.21.244.0/22"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[5]: Creation complete after 2s (ID: 6812672)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[0]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "2400:cb00::/32"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[13]: Creation complete after 1s (ID: 6812206)
 2019/12/06 08:34:28 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[7]: Creating...
 2019/12/06 08:34:28 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:28 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:28 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:28 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:28 Terraform apply |   remote_ip:         "" => "188.114.96.0/20"
 2019/12/06 08:34:28 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[9]: Creation complete after 1s (ID: 6812514)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[5]: Creation complete after 1s (ID: 6812676)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[0]: Creation complete after 0s (ID: 6812208)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[11]: Creation complete after 1s (ID: 6812674)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[0]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "2400:cb00::/32"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[2]: Creation complete after 1s (ID: 6812750)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[12]: Creation complete after 0s (ID: 6812752)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[1]: Creation complete after 1s (ID: 6812578)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[3]: Creation complete after 1s (ID: 6812834)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[1]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "2606:4700::/32"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[8]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "197.234.240.0/22"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[5]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "108.162.192.0/18"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[7]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "188.114.96.0/20"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[8]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "197.234.240.0/22"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[4]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "141.101.64.0/18"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[3]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "103.31.4.0/22"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[0]: Creation complete after 1s (ID: 6812580)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[3]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "103.31.4.0/22"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[7]: Creation complete after 1s (ID: 6812678)
 2019/12/06 08:34:29 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[2]: Creating...
 2019/12/06 08:34:29 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:29 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:29 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:29 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:29 Terraform apply |   remote_ip:         "" => "2803:f800::/32"
 2019/12/06 08:34:29 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[0]: Creation complete after 1s (ID: 6812210)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[3]: Creation complete after 0s (ID: 6812212)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[5]: Creation complete after 0s (ID: 6812758)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[4]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "2405:8100::/32"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[8]: Creation complete after 0s (ID: 6812756)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[4]: Creation complete after 0s (ID: 6812516)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[6]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "190.93.240.0/20"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[7]: Creation complete after 1s (ID: 6812214)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv6_port_443[1]: Creation complete after 1s (ID: 6812754)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[10]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "162.158.0.0/15"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[8]: Creation complete after 1s (ID: 6812836)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[12]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "172.64.0.0/13"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[5]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "108.162.192.0/18"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[3]: Creation complete after 1s (ID: 6812216)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[0]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "173.245.48.0/20"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[2]: Creation complete after 1s (ID: 6812838)
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[11]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "104.16.0.0/12"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[10]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "162.158.0.0/15"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[3]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv6"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "80"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "2405:b500::/32"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:30 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[13]: Creating...
 2019/12/06 08:34:30 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:30 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:30 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:30 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:30 Terraform apply |   remote_ip:         "" => "131.0.72.0/22"
 2019/12/06 08:34:30 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:31 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[4]: Creation complete after 1s (ID: 6812680)
 2019/12/06 08:34:31 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[1]: Creating...
 2019/12/06 08:34:31 Terraform apply |   direction:         "" => "ingress"
 2019/12/06 08:34:31 Terraform apply |   ether_type:        "" => "IPv4"
 2019/12/06 08:34:31 Terraform apply |   port_range_max:    "" => "443"
 2019/12/06 08:34:31 Terraform apply |   port_range_min:    "" => "443"
 2019/12/06 08:34:31 Terraform apply |   protocol:          "" => "tcp"
 2019/12/06 08:34:31 Terraform apply |   remote_ip:         "" => "103.21.244.0/22"
 2019/12/06 08:34:31 Terraform apply |   security_group_id: "" => "2237738"
 2019/12/06 08:34:31 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[10]: Creation complete after 1s (ID: 6813018)
 2019/12/06 08:34:31 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[10]: Creation complete after 1s (ID: 6812584)
 2019/12/06 08:34:31 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[13]: Creation complete after 1s (ID: 6812684)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[11]: Creation complete after 1s (ID: 6813020)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[12]: Creation complete after 1s (ID: 6813022)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[5]: Creation complete after 1s (ID: 6812840)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[6]: Creation complete after 1s (ID: 6812582)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv6_port_80[3]: Creation complete after 1s (ID: 6812682)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv4_port_80[0]: Creation complete after 1s (ID: 6812918)
 2019/12/06 08:34:32 Terraform apply | ibm_security_group_rule.allow_ipv4_port_443[1]: Creation complete after 2s (ID: 6813024)
 2019/12/06 08:34:32 Terraform apply | 
 2019/12/06 08:34:32 Terraform apply | Apply complete! Resources: 43 added, 0 changed, 0 destroyed.
 2019/12/06 08:34:33 Command finished successfully.

 2019/12/06 08:34:33 
 2019/12/06 08:34:33 Starting command: terraform show -no-color
 2019/12/06 08:34:33 Terraform show | data.external.cis_ipv4_cidrs:
 2019/12/06 08:34:33 Terraform show |   id = -
 2019/12/06 08:34:33 Terraform show |   program.# = 2
 2019/12/06 08:34:33 Terraform show |   program.0 = bash
 2019/12/06 08:34:33 Terraform show |   program.1 = get_cis_ipv4_cidrs.sh
 2019/12/06 08:34:33 Terraform show |   result.%!=(MISSING) 14
 2019/12/06 08:34:33 Terraform show |   result.0 = 173.245.48.0/20
 2019/12/06 08:34:33 Terraform show |   result.1 = 103.21.244.0/22
 2019/12/06 08:34:33 Terraform show |   result.10 = 162.158.0.0/15
 2019/12/06 08:34:33 Terraform show |   result.11 = 104.16.0.0/12
 2019/12/06 08:34:33 Terraform show |   result.12 = 172.64.0.0/13
 2019/12/06 08:34:33 Terraform show |   result.13 = 131.0.72.0/22
 2019/12/06 08:34:33 Terraform show |   result.2 = 103.22.200.0/22
 2019/12/06 08:34:33 Terraform show |   result.3 = 103.31.4.0/22
 2019/12/06 08:34:33 Terraform show |   result.4 = 141.101.64.0/18
 2019/12/06 08:34:33 Terraform show |   result.5 = 108.162.192.0/18
 2019/12/06 08:34:33 Terraform show |   result.6 = 190.93.240.0/20
 2019/12/06 08:34:33 Terraform show |   result.7 = 188.114.96.0/20
 2019/12/06 08:34:33 Terraform show |   result.8 = 197.234.240.0/22
 2019/12/06 08:34:33 Terraform show |   result.9 = 198.41.128.0/17
 2019/12/06 08:34:33 Terraform show | data.external.cis_ipv6_cidrs:
 2019/12/06 08:34:33 Terraform show |   id = -
 2019/12/06 08:34:33 Terraform show |   program.# = 2
 2019/12/06 08:34:33 Terraform show |   program.0 = bash
 2019/12/06 08:34:33 Terraform show |   program.1 = get_cis_ipv6_cidrs.sh
 2019/12/06 08:34:33 Terraform show |   result.%!=(MISSING) 7
 2019/12/06 08:34:33 Terraform show |   result.0 = 2400:cb00::/32
 2019/12/06 08:34:33 Terraform show |   result.1 = 2606:4700::/32
 2019/12/06 08:34:33 Terraform show |   result.2 = 2803:f800::/32
 2019/12/06 08:34:33 Terraform show |   result.3 = 2405:b500::/32
 2019/12/06 08:34:33 Terraform show |   result.4 = 2405:8100::/32
 2019/12/06 08:34:33 Terraform show |   result.5 = 2a06:98c0::/29
 2019/12/06 08:34:33 Terraform show |   result.6 = 2c0f:f248::/32
 2019/12/06 08:34:33 Terraform show | ibm_security_group.sg1:
 2019/12/06 08:34:33 Terraform show |   id = 2237738
 2019/12/06 08:34:33 Terraform show |   description = Allow all HTTP/HTTPS ingress traffic from IBM Cloud Internet Services
 2019/12/06 08:34:33 Terraform show |   name = allow_cis_ips
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.0:
 2019/12/06 08:34:33 Terraform show |   id = 6812208
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 173.245.48.0/20
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.1:
 2019/12/06 08:34:33 Terraform show |   id = 6813024
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 103.21.244.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.10:
 2019/12/06 08:34:33 Terraform show |   id = 6812584
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 162.158.0.0/15
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.11:
 2019/12/06 08:34:33 Terraform show |   id = 6813020
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 104.16.0.0/12
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.12:
 2019/12/06 08:34:33 Terraform show |   id = 6813022
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 172.64.0.0/13
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.13:
 2019/12/06 08:34:33 Terraform show |   id = 6812684
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 131.0.72.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.2:
 2019/12/06 08:34:33 Terraform show |   id = 6812828
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 103.22.200.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.3:
 2019/12/06 08:34:33 Terraform show |   id = 6812212
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 103.31.4.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.4:
 2019/12/06 08:34:33 Terraform show |   id = 6812516
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 141.101.64.0/18
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.5:
 2019/12/06 08:34:33 Terraform show |   id = 6812840
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 108.162.192.0/18
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.6:
 2019/12/06 08:34:33 Terraform show |   id = 6812582
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 190.93.240.0/20
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.7:
 2019/12/06 08:34:33 Terraform show |   id = 6812214
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 188.114.96.0/20
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.8:
 2019/12/06 08:34:33 Terraform show |   id = 6812836
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 197.234.240.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_443.9:
 2019/12/06 08:34:33 Terraform show |   id = 6812514
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 198.41.128.0/17
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.0:
 2019/12/06 08:34:33 Terraform show |   id = 6812918
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 173.245.48.0/20
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.1:
 2019/12/06 08:34:33 Terraform show |   id = 6812578
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 103.21.244.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.10:
 2019/12/06 08:34:33 Terraform show |   id = 6813018
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 162.158.0.0/15
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.11:
 2019/12/06 08:34:33 Terraform show |   id = 6812674
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 104.16.0.0/12
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.12:
 2019/12/06 08:34:33 Terraform show |   id = 6812752
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 172.64.0.0/13
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.13:
 2019/12/06 08:34:33 Terraform show |   id = 6812206
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 131.0.72.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.2:
 2019/12/06 08:34:33 Terraform show |   id = 6812750
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 103.22.200.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.3:
 2019/12/06 08:34:33 Terraform show |   id = 6812216
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 103.31.4.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.4:
 2019/12/06 08:34:33 Terraform show |   id = 6812748
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 141.101.64.0/18
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.5:
 2019/12/06 08:34:33 Terraform show |   id = 6812758
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 108.162.192.0/18
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.6:
 2019/12/06 08:34:33 Terraform show |   id = 6812204
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 190.93.240.0/20
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.7:
 2019/12/06 08:34:33 Terraform show |   id = 6812678
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 188.114.96.0/20
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.8:
 2019/12/06 08:34:33 Terraform show |   id = 6812756
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 197.234.240.0/22
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv4_port_80.9:
 2019/12/06 08:34:33 Terraform show |   id = 6812576
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv4
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 198.41.128.0/17
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.0:
 2019/12/06 08:34:33 Terraform show |   id = 6812210
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2400:cb00::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.1:
 2019/12/06 08:34:33 Terraform show |   id = 6812754
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2606:4700::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.2:
 2019/12/06 08:34:33 Terraform show |   id = 6812670
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2803:f800::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.3:
 2019/12/06 08:34:33 Terraform show |   id = 6812834
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2405:b500::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.4:
 2019/12/06 08:34:33 Terraform show |   id = 6812668
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2405:8100::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.5:
 2019/12/06 08:34:33 Terraform show |   id = 6812672
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2a06:98c0::/29
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_443.6:
 2019/12/06 08:34:33 Terraform show |   id = 6812746
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 443
 2019/12/06 08:34:33 Terraform show |   port_range_min = 443
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2c0f:f248::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.0:
 2019/12/06 08:34:33 Terraform show |   id = 6812580
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2400:cb00::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.1:
 2019/12/06 08:34:33 Terraform show |   id = 6812832
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2606:4700::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.2:
 2019/12/06 08:34:33 Terraform show |   id = 6812838
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2803:f800::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.3:
 2019/12/06 08:34:33 Terraform show |   id = 6812682
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2405:b500::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.4:
 2019/12/06 08:34:33 Terraform show |   id = 6812680
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2405:8100::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.5:
 2019/12/06 08:34:33 Terraform show |   id = 6812676
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2a06:98c0::/29
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | ibm_security_group_rule.allow_ipv6_port_80.6:
 2019/12/06 08:34:33 Terraform show |   id = 6812830
 2019/12/06 08:34:33 Terraform show |   direction = ingress
 2019/12/06 08:34:33 Terraform show |   ether_type = IPv6
 2019/12/06 08:34:33 Terraform show |   port_range_max = 80
 2019/12/06 08:34:33 Terraform show |   port_range_min = 80
 2019/12/06 08:34:33 Terraform show |   protocol = tcp
 2019/12/06 08:34:33 Terraform show |   remote_ip = 2c0f:f248::/32
 2019/12/06 08:34:33 Terraform show |   security_group_id = 2237738
 2019/12/06 08:34:33 Terraform show | 
 2019/12/06 08:34:33 Command finished successfully.

确认安全组

可以通过 https://cloud.ibm.com/classic/security/securitygroups 确认已经创建了名为allow_cis_ips的安全组。

Kobito.3Vjj2w.png

最后

请提供相应的参考链接。

    • Terraform でループして複数のリソースを作成する – Qiita

 

    • How to format a bash array as a JSON array – Stack Overflow

 

    • bash – Join an array to create JSON dynamically – Unix & Linux Stack Exchange

 

    jqを活用してAPIレスポンス等から欲しい情報だけを抽出する【中級編】 | Developers.IO
bannerAds