From a861ff2a2a7bec1b7ecafef0df311682d959b377 Mon Sep 17 00:00:00 2001 From: kavya498 Date: Mon, 1 Feb 2021 16:41:04 +0530 Subject: [PATCH] Bump Version: v1.20.0 --- docs/ibm_account_info.rst | 2 +- docs/ibm_api_gateway_endpoint.rst | 14 +- .../ibm_api_gateway_endpoint_subscription.rst | 10 +- docs/ibm_api_gateway_info.rst | 2 +- docs/ibm_app_domain_private.rst | 2 +- docs/ibm_app_domain_private_info.rst | 2 +- docs/ibm_app_domain_shared.rst | 2 +- docs/ibm_app_domain_shared_info.rst | 2 +- docs/ibm_app_info.rst | 10 +- docs/ibm_app_route.rst | 26 +- docs/ibm_app_route_info.rst | 18 +- docs/ibm_cdn.rst | 54 +-- ...m_certificate_manager_certificate_info.rst | 2 +- ..._certificate_manager_certificates_info.rst | 2 +- docs/ibm_certificate_manager_import.rst | 10 +- docs/ibm_certificate_manager_order.rst | 34 +- docs/ibm_cis.rst | 22 +- docs/ibm_cis_cache_settings.rst | 26 +- docs/ibm_cis_certificate_order.rst | 2 +- docs/ibm_cis_certificate_upload.rst | 18 +- docs/ibm_cis_certificates_info.rst | 2 +- docs/ibm_cis_custom_certificates_info.rst | 2 +- docs/ibm_cis_custom_page.rst | 10 +- docs/ibm_cis_custom_pages_info.rst | 6 +- docs/ibm_cis_dns_record.rst | 30 +- docs/ibm_cis_dns_records_import.rst | 2 +- docs/ibm_cis_dns_records_info.rst | 2 +- docs/ibm_cis_domain.rst | 2 +- docs/ibm_cis_domain_info.rst | 2 +- docs/ibm_cis_domain_settings.rst | 114 ++--- docs/ibm_cis_edge_functions_action.rst | 10 +- docs/ibm_cis_edge_functions_actions_info.rst | 2 +- docs/ibm_cis_edge_functions_trigger.rst | 2 +- docs/ibm_cis_edge_functions_triggers_info.rst | 2 +- docs/ibm_cis_firewall.rst | 18 +- docs/ibm_cis_firewall_info.rst | 10 +- docs/ibm_cis_global_load_balancer.rst | 46 +- docs/ibm_cis_global_load_balancers_info.rst | 2 +- docs/ibm_cis_healthcheck.rst | 54 +-- docs/ibm_cis_healthchecks_info.rst | 2 +- docs/ibm_cis_info.rst | 2 +- docs/ibm_cis_ip_addresses_info.rst | 2 +- docs/ibm_cis_origin_pool.rst | 38 +- docs/ibm_cis_origin_pools_info.rst | 2 +- docs/ibm_cis_page_rule.rst | 10 +- docs/ibm_cis_page_rules_info.rst | 2 +- docs/ibm_cis_range_app.rst | 50 +-- docs/ibm_cis_range_apps_info.rst | 2 +- docs/ibm_cis_rate_limit.rst | 26 +- docs/ibm_cis_rate_limit_info.rst | 2 +- docs/ibm_cis_routing.rst | 2 +- docs/ibm_cis_tls_settings.rst | 18 +- docs/ibm_cis_waf_group.rst | 2 +- docs/ibm_cis_waf_groups_info.rst | 2 +- docs/ibm_cis_waf_package.rst | 2 +- docs/ibm_cis_waf_packages_info.rst | 2 +- docs/ibm_cis_waf_rule.rst | 18 +- docs/ibm_cis_waf_rules_info.rst | 2 +- docs/ibm_compute_autoscale_group.rst | 46 +- docs/ibm_compute_autoscale_policy.rst | 18 +- docs/ibm_compute_bare_metal.rst | 128 +++--- docs/ibm_compute_bare_metal_info.rst | 14 +- docs/ibm_compute_dedicated_host.rst | 30 +- docs/ibm_compute_image_template_info.rst | 2 +- docs/ibm_compute_monitor.rst | 18 +- docs/ibm_compute_placement_group.rst | 18 +- docs/ibm_compute_placement_group_info.rst | 2 +- docs/ibm_compute_provisioning_hook.rst | 2 +- docs/ibm_compute_ssh_key.rst | 10 +- docs/ibm_compute_ssh_key_info.rst | 2 +- docs/ibm_compute_ssl_certificate.rst | 10 +- docs/ibm_compute_user.rst | 70 +-- docs/ibm_compute_vm_instance.rst | 98 ++-- docs/ibm_compute_vm_instance_info.rst | 10 +- docs/ibm_container_addons.rst | 2 +- docs/ibm_container_addons_info.rst | 2 +- docs/ibm_container_alb.rst | 14 +- docs/ibm_container_alb_cert.rst | 10 +- docs/ibm_container_alb_cert_info.rst | 10 +- docs/ibm_container_alb_info.rst | 2 +- docs/ibm_container_api_key_reset.rst | 10 +- docs/ibm_container_bind_service.rst | 18 +- docs/ibm_container_bind_service_info.rst | 2 +- docs/ibm_container_cluster.rst | 102 +++-- docs/ibm_container_cluster_config_info.rst | 26 +- docs/ibm_container_cluster_feature.rst | 20 +- docs/ibm_container_cluster_info.rst | 18 +- docs/ibm_container_cluster_versions_info.rst | 2 +- docs/ibm_container_cluster_worker_info.rst | 2 +- docs/ibm_container_vpc_alb.rst | 10 +- docs/ibm_container_vpc_alb_info.rst | 2 +- docs/ibm_container_vpc_cluster.rst | 66 +-- docs/ibm_container_vpc_cluster_alb_info.rst | 2 +- docs/ibm_container_vpc_cluster_info.rst | 10 +- .../ibm_container_vpc_cluster_worker_info.rst | 10 +- ...container_vpc_cluster_worker_pool_info.rst | 2 +- docs/ibm_container_vpc_worker_pool.rst | 30 +- docs/ibm_container_vpc_worker_pool_info.rst | 10 +- docs/ibm_container_worker_pool.rst | 26 +- docs/ibm_container_worker_pool_info.rst | 10 +- ..._container_worker_pool_zone_attachment.rst | 18 +- docs/ibm_cos_bucket.rst | 50 +-- docs/ibm_cos_bucket_info.rst | 8 +- docs/ibm_cr_namespace.rst | 2 +- docs/ibm_cr_namespaces_info.rst | 2 +- docs/ibm_database.rst | 84 ++-- docs/ibm_database_info.rst | 18 +- docs/ibm_dl_gateway.rst | 70 +-- docs/ibm_dl_gateway_info.rst | 2 +- docs/ibm_dl_gateways_info.rst | 2 +- docs/ibm_dl_locations_info.rst | 2 +- docs/ibm_dl_offering_speeds_info.rst | 2 +- docs/ibm_dl_port_info.rst | 2 +- docs/ibm_dl_ports_info.rst | 6 +- docs/ibm_dl_provider_gateway.rst | 26 +- docs/ibm_dl_provider_gateways_info.rst | 2 +- docs/ibm_dl_provider_ports_info.rst | 2 +- docs/ibm_dl_routers_info.rst | 2 +- docs/ibm_dl_virtual_connection.rst | 2 +- docs/ibm_dns_domain.rst | 2 +- docs/ibm_dns_domain_info.rst | 2 +- docs/ibm_dns_domain_registration_info.rst | 2 +- ...bm_dns_domain_registration_nameservers.rst | 2 +- docs/ibm_dns_glb.rst | 18 +- docs/ibm_dns_glb_monitor.rst | 42 +- docs/ibm_dns_glb_monitors_info.rst | 2 +- docs/ibm_dns_glb_pool.rst | 38 +- docs/ibm_dns_glb_pools_info.rst | 2 +- docs/ibm_dns_glbs_info.rst | 2 +- docs/ibm_dns_permitted_network.rst | 18 +- docs/ibm_dns_permitted_networks_info.rst | 10 +- docs/ibm_dns_record.rst | 62 +-- docs/ibm_dns_resource_record.rst | 50 +-- docs/ibm_dns_resource_records_info.rst | 2 +- docs/ibm_dns_reverse_record.rst | 10 +- docs/ibm_dns_secondary.rst | 2 +- docs/ibm_dns_secondary_info.rst | 2 +- docs/ibm_dns_zone.rst | 2 +- docs/ibm_dns_zones_info.rst | 2 +- docs/ibm_event_streams_topic.rst | 10 +- docs/ibm_event_streams_topic_info.rst | 10 +- docs/ibm_firewall.rst | 2 +- docs/ibm_firewall_policy.rst | 2 +- docs/ibm_function_action.rst | 26 +- docs/ibm_function_action_info.rst | 10 +- docs/ibm_function_namespace.rst | 2 +- docs/ibm_function_namespace_info.rst | 2 +- docs/ibm_function_package.rst | 10 +- docs/ibm_function_package_info.rst | 2 +- docs/ibm_function_rule.rst | 10 +- docs/ibm_function_rule_info.rst | 10 +- docs/ibm_function_trigger.rst | 22 +- docs/ibm_function_trigger_info.rst | 2 +- docs/ibm_hardware_firewall_shared.rst | 2 +- docs/ibm_iam_access_group.rst | 2 +- docs/ibm_iam_access_group_dynamic_rule.rst | 18 +- docs/ibm_iam_access_group_info.rst | 2 +- docs/ibm_iam_access_group_members.rst | 2 +- docs/ibm_iam_access_group_policy.rst | 18 +- docs/ibm_iam_auth_token_info.rst | 2 +- docs/ibm_iam_authorization_policy.rst | 34 +- docs/ibm_iam_authorization_policy_detach.rst | 2 +- docs/ibm_iam_custom_role.rst | 10 +- docs/ibm_iam_role_actions_info.rst | 2 +- docs/ibm_iam_roles_info.rst | 2 +- docs/ibm_iam_service_api_key.rst | 26 +- docs/ibm_iam_service_id.rst | 10 +- docs/ibm_iam_service_id_info.rst | 2 +- docs/ibm_iam_service_policy.rst | 18 +- docs/ibm_iam_service_policy_info.rst | 2 +- docs/ibm_iam_user_invite.rst | 10 +- docs/ibm_iam_user_policy.rst | 10 +- docs/ibm_iam_user_policy_info.rst | 2 +- docs/ibm_iam_user_profile_info.rst | 2 +- docs/ibm_iam_user_settings.rst | 2 +- docs/ibm_iam_users_info.rst | 2 +- docs/ibm_ipsec_vpn.rst | 34 +- docs/ibm_is_floating_ip.rst | 2 +- docs/ibm_is_floating_ip_info.rst | 2 +- docs/ibm_is_flow_log.rst | 26 +- docs/ibm_is_flow_logs_info.rst | 2 +- docs/ibm_is_ike_policy.rst | 18 +- docs/ibm_is_image.rst | 26 +- docs/ibm_is_image_info.rst | 2 +- docs/ibm_is_images_info.rst | 2 +- docs/ibm_is_instance.rst | 54 +-- docs/ibm_is_instance_group.rst | 34 +- docs/ibm_is_instance_group_info.rst | 2 +- docs/ibm_is_instance_group_manager.rst | 34 +- docs/ibm_is_instance_group_manager_info.rst | 10 +- ...s_instance_group_manager_policies_info.rst | 2 +- docs/ibm_is_instance_group_manager_policy.rst | 18 +- ..._is_instance_group_manager_policy_info.rst | 10 +- docs/ibm_is_instance_group_managers_info.rst | 2 +- docs/ibm_is_instance_info.rst | 2 +- docs/ibm_is_instance_profile_info.rst | 2 +- docs/ibm_is_instance_profiles_info.rst | 2 +- docs/ibm_is_instance_template.rst | 38 +- docs/ibm_is_instance_templates_info.rst | 2 +- docs/ibm_is_instances_info.rst | 10 +- docs/ibm_is_ipsec_policy.rst | 22 +- docs/ibm_is_lb.rst | 6 +- docs/ibm_is_lb_info.rst | 2 +- docs/ibm_is_lb_listener.rst | 18 +- docs/ibm_is_lb_listener_policy.rst | 38 +- docs/ibm_is_lb_listener_policy_rule.rst | 18 +- docs/ibm_is_lb_pool.rst | 34 +- docs/ibm_is_lb_pool_member.rst | 10 +- docs/ibm_is_lb_profiles_info.rst | 2 +- docs/ibm_is_lbs_info.rst | 2 +- docs/ibm_is_network_acl.rst | 10 +- docs/ibm_is_public_gateway.rst | 18 +- docs/ibm_is_public_gateway_info.rst | 10 +- docs/ibm_is_region_info.rst | 2 +- docs/ibm_is_security_group.rst | 10 +- docs/ibm_is_security_group_info.rst | 2 +- ...ity_group_network_interface_attachment.rst | 2 +- docs/ibm_is_ssh_key.rst | 18 +- docs/ibm_is_ssh_key_info.rst | 2 +- docs/ibm_is_subnet.rst | 38 +- docs/ibm_is_subnet_info.rst | 6 +- docs/ibm_is_subnet_network_acl_attachment.rst | 2 +- docs/ibm_is_subnets_info.rst | 2 +- docs/ibm_is_virtual_endpoint_gateway.rst | 18 +- docs/ibm_is_virtual_endpoint_gateway_info.rst | 2 +- docs/ibm_is_virtual_endpoint_gateway_ip.rst | 2 +- ...m_is_virtual_endpoint_gateway_ips_info.rst | 2 +- .../ibm_is_virtual_endpoint_gateways_info.rst | 2 +- docs/ibm_is_volume.rst | 18 +- docs/ibm_is_volume_info.rst | 2 +- docs/ibm_is_vpc.rst | 18 +- docs/ibm_is_vpc_address_prefix.rst | 10 +- .../ibm_is_vpc_default_routing_table_info.rst | 2 +- docs/ibm_is_vpc_info.rst | 2 +- docs/ibm_is_vpc_route.rst | 10 +- docs/ibm_is_vpc_routing_table.rst | 14 +- docs/ibm_is_vpc_routing_table_route.rst | 26 +- docs/ibm_is_vpc_routing_table_routes_info.rst | 10 +- docs/ibm_is_vpc_routing_tables_info.rst | 2 +- docs/ibm_is_vpn_gateway.rst | 18 +- docs/ibm_is_vpn_gateway_connection.rst | 46 +- docs/ibm_is_vpn_gateway_connections_info.rst | 2 +- docs/ibm_is_vpn_gateways_info.rst | 2 +- docs/ibm_is_zone_info.rst | 2 +- docs/ibm_is_zones_info.rst | 2 +- docs/ibm_kms_key.rst | 34 +- docs/ibm_kms_key_info.rst | 2 +- docs/ibm_kms_keys_info.rst | 10 +- docs/ibm_kp_key.rst | 26 +- docs/ibm_kp_key_info.rst | 2 +- docs/ibm_lb.rst | 10 +- docs/ibm_lb_service.rst | 2 +- docs/ibm_lb_service_group.rst | 18 +- docs/ibm_lb_vpx.rst | 34 +- docs/ibm_lb_vpx_ha.rst | 2 +- docs/ibm_lb_vpx_service.rst | 34 +- docs/ibm_lb_vpx_vip.rst | 34 +- docs/ibm_lbaas.rst | 30 +- docs/ibm_lbaas_health_monitor.rst | 34 +- docs/ibm_lbaas_info.rst | 2 +- docs/ibm_lbaas_server_instance_attachment.rst | 2 +- docs/ibm_multi_vlan_firewall.rst | 18 +- docs/ibm_network_gateway.rst | 18 +- docs/ibm_network_gateway_vlan_association.rst | 2 +- docs/ibm_network_interface_sg_attachment.rst | 2 +- docs/ibm_network_public_ip.rst | 2 +- docs/ibm_network_vlan.rst | 10 +- docs/ibm_network_vlan_info.rst | 8 +- docs/ibm_network_vlan_spanning.rst | 2 +- docs/ibm_object_storage_account.rst | 2 +- docs/ibm_org.rst | 18 +- docs/ibm_org_info.rst | 2 +- docs/ibm_org_quota_info.rst | 2 +- docs/ibm_pi_cloud_instance_info.rst | 2 +- docs/ibm_pi_image.rst | 10 +- docs/ibm_pi_image_info.rst | 2 +- docs/ibm_pi_images_info.rst | 2 +- docs/ibm_pi_instance.rst | 70 +-- docs/ibm_pi_instance_info.rst | 2 +- docs/ibm_pi_instance_ip_info.rst | 6 +- docs/ibm_pi_instance_snapshots_info.rst | 2 +- docs/ibm_pi_instance_volumes_info.rst | 2 +- docs/ibm_pi_key.rst | 2 +- docs/ibm_pi_key_info.rst | 2 +- docs/ibm_pi_network.rst | 26 +- docs/ibm_pi_network_info.rst | 10 +- docs/ibm_pi_network_port.rst | 10 +- docs/ibm_pi_network_port_attach.rst | 10 +- docs/ibm_pi_network_port_info.rst | 2 +- docs/ibm_pi_operations.rst | 10 +- docs/ibm_pi_public_network_info.rst | 2 +- docs/ibm_pi_pvm_snapshots_info.rst | 2 +- docs/ibm_pi_snapshot.rst | 10 +- docs/ibm_pi_tenant_info.rst | 2 +- docs/ibm_pi_volume.rst | 18 +- docs/ibm_pi_volume_attach.rst | 10 +- docs/ibm_pi_volume_info.rst | 2 +- docs/ibm_resource_group.rst | 10 +- docs/ibm_resource_group_info.rst | 10 +- docs/ibm_resource_instance.rst | 22 +- docs/ibm_resource_instance_info.rst | 10 +- docs/ibm_resource_key.rst | 26 +- docs/ibm_resource_key_info.rst | 2 +- docs/ibm_resource_quota_info.rst | 2 +- docs/ibm_schematics_output_info.rst | 2 +- docs/ibm_schematics_state_info.rst | 2 +- docs/ibm_schematics_workspace_info.rst | 2 +- docs/ibm_security_group.rst | 2 +- docs/ibm_security_group_info.rst | 10 +- docs/ibm_service_instance.rst | 18 +- docs/ibm_service_instance_info.rst | 2 +- docs/ibm_service_key.rst | 10 +- docs/ibm_service_key_info.rst | 10 +- docs/ibm_service_plan_info.rst | 2 +- docs/ibm_space.rst | 10 +- docs/ibm_space_info.rst | 2 +- docs/ibm_ssl_certificate.rst | 54 +-- docs/ibm_storage_block.rst | 42 +- docs/ibm_storage_evault.rst | 2 +- docs/ibm_storage_file.rst | 50 +-- docs/ibm_subnet.rst | 22 +- docs/ibm_tg_connection.rst | 18 +- docs/ibm_tg_gateway.rst | 14 +- docs/ibm_tg_gateway_info.rst | 2 +- docs/ibm_tg_gateways_info.rst | 2 +- docs/ibm_tg_location_info.rst | 2 +- docs/ibm_tg_locations_info.rst | 2 +- plugins/modules/ibm_account_info.py | 4 +- plugins/modules/ibm_api_gateway_endpoint.py | 44 +- .../ibm_api_gateway_endpoint_subscription.py | 24 +- plugins/modules/ibm_api_gateway_info.py | 4 +- plugins/modules/ibm_app.py | 152 +++---- plugins/modules/ibm_app_domain_private.py | 6 +- .../modules/ibm_app_domain_private_info.py | 4 +- plugins/modules/ibm_app_domain_shared.py | 6 +- plugins/modules/ibm_app_domain_shared_info.py | 4 +- plugins/modules/ibm_app_info.py | 20 +- plugins/modules/ibm_app_route.py | 64 +-- plugins/modules/ibm_app_route_info.py | 40 +- plugins/modules/ibm_cdn.py | 140 +++--- ...bm_certificate_manager_certificate_info.py | 4 +- ...m_certificate_manager_certificates_info.py | 4 +- .../modules/ibm_certificate_manager_import.py | 22 +- .../modules/ibm_certificate_manager_order.py | 86 ++-- plugins/modules/ibm_cis.py | 60 +-- plugins/modules/ibm_cis_cache_settings.py | 60 +-- plugins/modules/ibm_cis_certificate_order.py | 4 +- plugins/modules/ibm_cis_certificate_upload.py | 38 +- plugins/modules/ibm_cis_certificates_info.py | 4 +- .../ibm_cis_custom_certificates_info.py | 4 +- plugins/modules/ibm_cis_custom_page.py | 24 +- plugins/modules/ibm_cis_custom_pages_info.py | 16 +- plugins/modules/ibm_cis_dns_record.py | 74 ++-- plugins/modules/ibm_cis_dns_records_import.py | 4 +- plugins/modules/ibm_cis_dns_records_info.py | 4 +- plugins/modules/ibm_cis_domain.py | 6 +- plugins/modules/ibm_cis_domain_info.py | 4 +- plugins/modules/ibm_cis_domain_settings.py | 246 +++++------ .../modules/ibm_cis_edge_functions_action.py | 24 +- .../ibm_cis_edge_functions_actions_info.py | 4 +- .../modules/ibm_cis_edge_functions_trigger.py | 4 +- .../ibm_cis_edge_functions_triggers_info.py | 4 +- plugins/modules/ibm_cis_firewall.py | 48 +- plugins/modules/ibm_cis_firewall_info.py | 24 +- .../modules/ibm_cis_global_load_balancer.py | 128 +++--- .../ibm_cis_global_load_balancers_info.py | 4 +- plugins/modules/ibm_cis_healthcheck.py | 138 +++--- plugins/modules/ibm_cis_healthchecks_info.py | 4 +- plugins/modules/ibm_cis_info.py | 4 +- plugins/modules/ibm_cis_ip_addresses_info.py | 4 +- plugins/modules/ibm_cis_origin_pool.py | 94 ++-- plugins/modules/ibm_cis_origin_pools_info.py | 4 +- plugins/modules/ibm_cis_page_rule.py | 28 +- plugins/modules/ibm_cis_page_rules_info.py | 4 +- plugins/modules/ibm_cis_range_app.py | 132 +++--- plugins/modules/ibm_cis_range_apps_info.py | 4 +- plugins/modules/ibm_cis_rate_limit.py | 70 +-- plugins/modules/ibm_cis_rate_limit_info.py | 4 +- plugins/modules/ibm_cis_routing.py | 4 +- plugins/modules/ibm_cis_tls_settings.py | 42 +- plugins/modules/ibm_cis_waf_group.py | 4 +- plugins/modules/ibm_cis_waf_groups_info.py | 4 +- plugins/modules/ibm_cis_waf_package.py | 4 +- plugins/modules/ibm_cis_waf_packages_info.py | 4 +- plugins/modules/ibm_cis_waf_rule.py | 36 +- plugins/modules/ibm_cis_waf_rules_info.py | 4 +- .../modules/ibm_compute_autoscale_group.py | 126 +++--- .../modules/ibm_compute_autoscale_policy.py | 44 +- plugins/modules/ibm_compute_bare_metal.py | 384 ++++++++-------- .../modules/ibm_compute_bare_metal_info.py | 40 +- plugins/modules/ibm_compute_dedicated_host.py | 82 ++-- .../ibm_compute_image_template_info.py | 4 +- plugins/modules/ibm_compute_monitor.py | 42 +- .../modules/ibm_compute_placement_group.py | 44 +- .../ibm_compute_placement_group_info.py | 4 +- .../modules/ibm_compute_provisioning_hook.py | 4 +- plugins/modules/ibm_compute_ssh_key.py | 26 +- plugins/modules/ibm_compute_ssh_key_info.py | 4 +- .../modules/ibm_compute_ssl_certificate.py | 26 +- plugins/modules/ibm_compute_user.py | 184 ++++---- plugins/modules/ibm_compute_vm_instance.py | 418 +++++++++--------- .../modules/ibm_compute_vm_instance_info.py | 22 +- plugins/modules/ibm_container_addons.py | 6 +- plugins/modules/ibm_container_addons_info.py | 4 +- plugins/modules/ibm_container_alb.py | 34 +- plugins/modules/ibm_container_alb_cert.py | 30 +- .../modules/ibm_container_alb_cert_info.py | 24 +- plugins/modules/ibm_container_alb_info.py | 4 +- .../modules/ibm_container_api_key_reset.py | 22 +- plugins/modules/ibm_container_bind_service.py | 46 +- .../ibm_container_bind_service_info.py | 4 +- plugins/modules/ibm_container_cluster.py | 279 ++++++------ .../ibm_container_cluster_config_info.py | 58 +-- .../modules/ibm_container_cluster_feature.py | 46 +- plugins/modules/ibm_container_cluster_info.py | 38 +- .../ibm_container_cluster_versions_info.py | 4 +- .../ibm_container_cluster_worker_info.py | 4 +- plugins/modules/ibm_container_vpc_alb.py | 26 +- plugins/modules/ibm_container_vpc_alb_info.py | 4 +- plugins/modules/ibm_container_vpc_cluster.py | 189 ++++---- .../ibm_container_vpc_cluster_alb_info.py | 4 +- .../modules/ibm_container_vpc_cluster_info.py | 22 +- .../ibm_container_vpc_cluster_worker_info.py | 22 +- ..._container_vpc_cluster_worker_pool_info.py | 4 +- .../modules/ibm_container_vpc_worker_pool.py | 78 ++-- .../ibm_container_vpc_worker_pool_info.py | 20 +- plugins/modules/ibm_container_worker_pool.py | 76 ++-- .../modules/ibm_container_worker_pool_info.py | 20 +- ...m_container_worker_pool_zone_attachment.py | 44 +- plugins/modules/ibm_cos_bucket.py | 154 +++---- plugins/modules/ibm_cos_bucket_info.py | 22 +- plugins/modules/ibm_cr_namespace.py | 4 +- plugins/modules/ibm_cr_namespaces_info.py | 4 +- plugins/modules/ibm_database.py | 228 +++++----- plugins/modules/ibm_database_info.py | 38 +- plugins/modules/ibm_dl_gateway.py | 180 ++++---- plugins/modules/ibm_dl_gateway_info.py | 4 +- plugins/modules/ibm_dl_gateways_info.py | 4 +- plugins/modules/ibm_dl_locations_info.py | 4 +- .../modules/ibm_dl_offering_speeds_info.py | 4 +- plugins/modules/ibm_dl_port_info.py | 4 +- plugins/modules/ibm_dl_ports_info.py | 13 +- plugins/modules/ibm_dl_provider_gateway.py | 82 ++-- .../modules/ibm_dl_provider_gateways_info.py | 4 +- plugins/modules/ibm_dl_provider_ports_info.py | 4 +- plugins/modules/ibm_dl_routers_info.py | 4 +- plugins/modules/ibm_dl_virtual_connection.py | 4 +- plugins/modules/ibm_dns_domain.py | 6 +- plugins/modules/ibm_dns_domain_info.py | 4 +- .../ibm_dns_domain_registration_info.py | 4 +- ...ibm_dns_domain_registration_nameservers.py | 4 +- plugins/modules/ibm_dns_glb.py | 58 +-- plugins/modules/ibm_dns_glb_monitor.py | 112 ++--- plugins/modules/ibm_dns_glb_monitors_info.py | 4 +- plugins/modules/ibm_dns_glb_pool.py | 96 ++-- plugins/modules/ibm_dns_glb_pools_info.py | 4 +- plugins/modules/ibm_dns_glbs_info.py | 4 +- plugins/modules/ibm_dns_permitted_network.py | 38 +- .../ibm_dns_permitted_networks_info.py | 20 +- plugins/modules/ibm_dns_record.py | 154 +++---- plugins/modules/ibm_dns_resource_record.py | 116 ++--- .../modules/ibm_dns_resource_records_info.py | 4 +- plugins/modules/ibm_dns_reverse_record.py | 24 +- plugins/modules/ibm_dns_secondary.py | 6 +- plugins/modules/ibm_dns_secondary_info.py | 4 +- plugins/modules/ibm_dns_zone.py | 4 +- plugins/modules/ibm_dns_zones_info.py | 4 +- plugins/modules/ibm_event_streams_topic.py | 30 +- .../modules/ibm_event_streams_topic_info.py | 20 +- plugins/modules/ibm_firewall.py | 4 +- plugins/modules/ibm_firewall_policy.py | 4 +- plugins/modules/ibm_function_action.py | 74 ++-- plugins/modules/ibm_function_action_info.py | 20 +- plugins/modules/ibm_function_namespace.py | 6 +- .../modules/ibm_function_namespace_info.py | 4 +- plugins/modules/ibm_function_package.py | 34 +- plugins/modules/ibm_function_package_info.py | 4 +- plugins/modules/ibm_function_rule.py | 30 +- plugins/modules/ibm_function_rule_info.py | 20 +- plugins/modules/ibm_function_trigger.py | 58 +-- plugins/modules/ibm_function_trigger_info.py | 4 +- .../modules/ibm_hardware_firewall_shared.py | 4 +- plugins/modules/ibm_iam_access_group.py | 6 +- .../ibm_iam_access_group_dynamic_rule.py | 44 +- plugins/modules/ibm_iam_access_group_info.py | 4 +- .../modules/ibm_iam_access_group_members.py | 4 +- .../modules/ibm_iam_access_group_policy.py | 44 +- plugins/modules/ibm_iam_auth_token_info.py | 4 +- .../modules/ibm_iam_authorization_policy.py | 76 ++-- .../ibm_iam_authorization_policy_detach.py | 4 +- plugins/modules/ibm_iam_custom_role.py | 24 +- plugins/modules/ibm_iam_role_actions_info.py | 4 +- plugins/modules/ibm_iam_roles_info.py | 4 +- plugins/modules/ibm_iam_service_api_key.py | 58 +-- plugins/modules/ibm_iam_service_id.py | 28 +- plugins/modules/ibm_iam_service_id_info.py | 4 +- plugins/modules/ibm_iam_service_policy.py | 46 +- .../modules/ibm_iam_service_policy_info.py | 4 +- plugins/modules/ibm_iam_user_invite.py | 26 +- plugins/modules/ibm_iam_user_policy.py | 28 +- plugins/modules/ibm_iam_user_policy_info.py | 4 +- plugins/modules/ibm_iam_user_profile_info.py | 4 +- plugins/modules/ibm_iam_user_settings.py | 4 +- plugins/modules/ibm_iam_users_info.py | 4 +- plugins/modules/ibm_ipsec_vpn.py | 90 ++-- plugins/modules/ibm_is_floating_ip.py | 6 +- plugins/modules/ibm_is_floating_ip_info.py | 4 +- plugins/modules/ibm_is_flow_log.py | 64 +-- plugins/modules/ibm_is_flow_logs_info.py | 4 +- plugins/modules/ibm_is_ike_policy.py | 42 +- plugins/modules/ibm_is_image.py | 72 +-- plugins/modules/ibm_is_image_info.py | 4 +- plugins/modules/ibm_is_images_info.py | 4 +- plugins/modules/ibm_is_instance.py | 148 +++---- plugins/modules/ibm_is_instance_group.py | 84 ++-- plugins/modules/ibm_is_instance_group_info.py | 4 +- .../modules/ibm_is_instance_group_manager.py | 84 ++-- .../ibm_is_instance_group_manager_info.py | 20 +- ...is_instance_group_manager_policies_info.py | 4 +- .../ibm_is_instance_group_manager_policy.py | 50 +-- ...m_is_instance_group_manager_policy_info.py | 24 +- .../ibm_is_instance_group_managers_info.py | 4 +- plugins/modules/ibm_is_instance_info.py | 4 +- .../modules/ibm_is_instance_profile_info.py | 4 +- .../modules/ibm_is_instance_profiles_info.py | 4 +- plugins/modules/ibm_is_instance_template.py | 96 ++-- .../modules/ibm_is_instance_templates_info.py | 4 +- plugins/modules/ibm_is_instances_info.py | 24 +- plugins/modules/ibm_is_ipsec_policy.py | 50 +-- plugins/modules/ibm_is_lb.py | 30 +- plugins/modules/ibm_is_lb_info.py | 4 +- plugins/modules/ibm_is_lb_listener.py | 44 +- plugins/modules/ibm_is_lb_listener_policy.py | 80 ++-- .../modules/ibm_is_lb_listener_policy_rule.py | 44 +- plugins/modules/ibm_is_lb_pool.py | 82 ++-- plugins/modules/ibm_is_lb_pool_member.py | 22 +- plugins/modules/ibm_is_lb_profiles_info.py | 4 +- plugins/modules/ibm_is_lbs_info.py | 4 +- plugins/modules/ibm_is_network_acl.py | 26 +- plugins/modules/ibm_is_public_gateway.py | 54 +-- plugins/modules/ibm_is_public_gateway_info.py | 22 +- plugins/modules/ibm_is_region_info.py | 4 +- plugins/modules/ibm_is_security_group.py | 24 +- plugins/modules/ibm_is_security_group_info.py | 4 +- ...rity_group_network_interface_attachment.py | 4 +- plugins/modules/ibm_is_security_group_rule.py | 64 +-- plugins/modules/ibm_is_ssh_key.py | 42 +- plugins/modules/ibm_is_ssh_key_info.py | 4 +- plugins/modules/ibm_is_subnet.py | 96 ++-- plugins/modules/ibm_is_subnet_info.py | 14 +- .../ibm_is_subnet_network_acl_attachment.py | 4 +- plugins/modules/ibm_is_subnets_info.py | 4 +- .../ibm_is_virtual_endpoint_gateway.py | 44 +- .../ibm_is_virtual_endpoint_gateway_info.py | 4 +- .../ibm_is_virtual_endpoint_gateway_ip.py | 4 +- ...bm_is_virtual_endpoint_gateway_ips_info.py | 4 +- .../ibm_is_virtual_endpoint_gateways_info.py | 4 +- plugins/modules/ibm_is_volume.py | 42 +- plugins/modules/ibm_is_volume_info.py | 4 +- plugins/modules/ibm_is_vpc.py | 54 +-- plugins/modules/ibm_is_vpc_address_prefix.py | 24 +- .../ibm_is_vpc_default_routing_table_info.py | 4 +- plugins/modules/ibm_is_vpc_info.py | 4 +- plugins/modules/ibm_is_vpc_route.py | 24 +- plugins/modules/ibm_is_vpc_routing_table.py | 32 +- .../modules/ibm_is_vpc_routing_table_route.py | 56 +-- .../ibm_is_vpc_routing_table_routes_info.py | 20 +- .../modules/ibm_is_vpc_routing_tables_info.py | 4 +- plugins/modules/ibm_is_vpn_gateway.py | 42 +- .../modules/ibm_is_vpn_gateway_connection.py | 130 +++--- .../ibm_is_vpn_gateway_connections_info.py | 4 +- plugins/modules/ibm_is_vpn_gateways_info.py | 4 +- plugins/modules/ibm_is_zone_info.py | 4 +- plugins/modules/ibm_is_zones_info.py | 4 +- plugins/modules/ibm_kms_key.py | 98 ++-- plugins/modules/ibm_kms_key_info.py | 4 +- plugins/modules/ibm_kms_keys_info.py | 24 +- plugins/modules/ibm_kp_key.py | 62 +-- plugins/modules/ibm_kp_key_info.py | 4 +- plugins/modules/ibm_lb.py | 26 +- plugins/modules/ibm_lb_service.py | 4 +- plugins/modules/ibm_lb_service_group.py | 40 +- plugins/modules/ibm_lb_vpx.py | 82 ++-- plugins/modules/ibm_lb_vpx_ha.py | 4 +- plugins/modules/ibm_lb_vpx_service.py | 82 ++-- plugins/modules/ibm_lb_vpx_vip.py | 98 ++-- plugins/modules/ibm_lbaas.py | 80 ++-- plugins/modules/ibm_lbaas_health_monitor.py | 80 ++-- plugins/modules/ibm_lbaas_info.py | 4 +- .../ibm_lbaas_server_instance_attachment.py | 4 +- plugins/modules/ibm_multi_vlan_firewall.py | 44 +- plugins/modules/ibm_network_gateway.py | 38 +- .../ibm_network_gateway_vlan_association.py | 4 +- .../ibm_network_interface_sg_attachment.py | 4 +- plugins/modules/ibm_network_public_ip.py | 4 +- plugins/modules/ibm_network_vlan.py | 42 +- plugins/modules/ibm_network_vlan_info.py | 22 +- plugins/modules/ibm_network_vlan_spanning.py | 4 +- plugins/modules/ibm_object_storage_account.py | 4 +- plugins/modules/ibm_org.py | 46 +- plugins/modules/ibm_org_info.py | 4 +- plugins/modules/ibm_org_quota_info.py | 4 +- plugins/modules/ibm_pi_capture.py | 60 +-- plugins/modules/ibm_pi_cloud_instance_info.py | 4 +- plugins/modules/ibm_pi_image.py | 26 +- plugins/modules/ibm_pi_image_info.py | 4 +- plugins/modules/ibm_pi_images_info.py | 4 +- plugins/modules/ibm_pi_instance.py | 198 ++++----- plugins/modules/ibm_pi_instance_info.py | 4 +- plugins/modules/ibm_pi_instance_ip_info.py | 16 +- .../modules/ibm_pi_instance_snapshots_info.py | 4 +- .../modules/ibm_pi_instance_volumes_info.py | 4 +- plugins/modules/ibm_pi_key.py | 6 +- plugins/modules/ibm_pi_key_info.py | 4 +- plugins/modules/ibm_pi_network.py | 64 +-- plugins/modules/ibm_pi_network_info.py | 20 +- plugins/modules/ibm_pi_network_port.py | 26 +- plugins/modules/ibm_pi_network_port_attach.py | 24 +- plugins/modules/ibm_pi_network_port_info.py | 4 +- plugins/modules/ibm_pi_operations.py | 24 +- plugins/modules/ibm_pi_public_network_info.py | 4 +- plugins/modules/ibm_pi_pvm_snapshots_info.py | 4 +- plugins/modules/ibm_pi_snapshot.py | 22 +- plugins/modules/ibm_pi_tenant_info.py | 4 +- plugins/modules/ibm_pi_volume.py | 46 +- plugins/modules/ibm_pi_volume_attach.py | 22 +- plugins/modules/ibm_pi_volume_info.py | 4 +- plugins/modules/ibm_resource_group.py | 26 +- plugins/modules/ibm_resource_group_info.py | 24 +- plugins/modules/ibm_resource_instance.py | 60 +-- plugins/modules/ibm_resource_instance_info.py | 22 +- plugins/modules/ibm_resource_key.py | 64 +-- plugins/modules/ibm_resource_key_info.py | 4 +- plugins/modules/ibm_resource_quota_info.py | 4 +- plugins/modules/ibm_schematics_output_info.py | 4 +- plugins/modules/ibm_schematics_state_info.py | 4 +- .../modules/ibm_schematics_workspace_info.py | 4 +- plugins/modules/ibm_security_group.py | 8 +- plugins/modules/ibm_security_group_info.py | 22 +- plugins/modules/ibm_security_group_rule.py | 58 +-- plugins/modules/ibm_service_instance.py | 44 +- plugins/modules/ibm_service_instance_info.py | 4 +- plugins/modules/ibm_service_key.py | 32 +- plugins/modules/ibm_service_key_info.py | 24 +- plugins/modules/ibm_service_plan_info.py | 4 +- plugins/modules/ibm_space.py | 28 +- plugins/modules/ibm_space_info.py | 4 +- plugins/modules/ibm_ssl_certificate.py | 148 +++---- plugins/modules/ibm_storage_block.py | 118 ++--- plugins/modules/ibm_storage_evault.py | 4 +- plugins/modules/ibm_storage_file.py | 144 +++--- plugins/modules/ibm_subnet.py | 62 +-- plugins/modules/ibm_tg_connection.py | 38 +- plugins/modules/ibm_tg_gateway.py | 38 +- plugins/modules/ibm_tg_gateway_info.py | 4 +- plugins/modules/ibm_tg_gateways_info.py | 4 +- plugins/modules/ibm_tg_location_info.py | 4 +- plugins/modules/ibm_tg_locations_info.py | 4 +- 658 files changed, 7883 insertions(+), 7790 deletions(-) diff --git a/docs/ibm_account_info.rst b/docs/ibm_account_info.rst index 5f8bb2377..8b6a123ed 100644 --- a/docs/ibm_account_info.rst +++ b/docs/ibm_account_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_api_gateway_endpoint.rst b/docs/ibm_api_gateway_endpoint.rst index 015d7fda1..36058b3dc 100644 --- a/docs/ibm_api_gateway_endpoint.rst +++ b/docs/ibm_api_gateway_endpoint.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,24 +28,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Endpoint name + service_instance_crn (True, str, None) + (Required for new resource) Api Gateway Service Instance Crn routes (False, list, None) Invokable routes for an endpoint - service_instance_crn (True, str, None) - (Required for new resource) Api Gateway Service Instance Crn + managed (False, bool, False) + Managed indicates if endpoint is online or offline. open_api_doc_name (True, str, None) (Required for new resource) Json File path - managed (False, bool, False) - Managed indicates if endpoint is online or offline. + name (True, str, None) + (Required for new resource) Endpoint name provider_id (False, str, user-defined) diff --git a/docs/ibm_api_gateway_endpoint_subscription.rst b/docs/ibm_api_gateway_endpoint_subscription.rst index b08e0c692..9fd059636 100644 --- a/docs/ibm_api_gateway_endpoint_subscription.rst +++ b/docs/ibm_api_gateway_endpoint_subscription.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - artifact_id (True, str, None) - (Required for new resource) Endpoint ID - - client_id (False, str, None) Subscription Id, API key that is used to create subscription @@ -52,6 +48,10 @@ Parameters Indicates if Client Sercret has to be autogenerated + artifact_id (True, str, None) + (Required for new resource) Endpoint ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_api_gateway_info.rst b/docs/ibm_api_gateway_info.rst index 6f209e15e..f63e5c402 100644 --- a/docs/ibm_api_gateway_info.rst +++ b/docs/ibm_api_gateway_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_private.rst b/docs/ibm_app_domain_private.rst index bf8847d2a..f037bea9a 100644 --- a/docs/ibm_app_domain_private.rst +++ b/docs/ibm_app_domain_private.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_private_info.rst b/docs/ibm_app_domain_private_info.rst index cd08ade8e..ec43c9389 100644 --- a/docs/ibm_app_domain_private_info.rst +++ b/docs/ibm_app_domain_private_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared.rst b/docs/ibm_app_domain_shared.rst index ce210fd3d..00597b3fb 100644 --- a/docs/ibm_app_domain_shared.rst +++ b/docs/ibm_app_domain_shared.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared_info.rst b/docs/ibm_app_domain_shared_info.rst index 484935dc9..5563b7f82 100644 --- a/docs/ibm_app_domain_shared_info.rst +++ b/docs/ibm_app_domain_shared_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_info.rst b/docs/ibm_app_info.rst index 26560cd68..1d64a9940 100644 --- a/docs/ibm_app_info.rst +++ b/docs/ibm_app_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - The name for the app - - space_guid (True, str, None) Define space guid to which app belongs + name (True, str, None) + The name for the app + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_app_route.rst b/docs/ibm_app_route.rst index 294361e4d..f59791c43 100644 --- a/docs/ibm_app_route.rst +++ b/docs/ibm_app_route.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,18 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - port (False, int, None) - The port of the route. Supported for domains of TCP router groups only. - - - path (False, str, None) - The path for a route as raw text.Paths must be between 2 and 128 characters.Paths must start with a forward slash '/'.Paths must not contain a '?' - - - tags (False, list, None) - None - - host (False, str, None) The host portion of the route. Required for shared-domains. @@ -52,6 +40,18 @@ Parameters (Required for new resource) The guid of the associated domain + port (False, int, None) + The port of the route. Supported for domains of TCP router groups only. + + + path (False, str, None) + The path for a route as raw text.Paths must be between 2 and 128 characters.Paths must start with a forward slash '/'.Paths must not contain a '?' + + + tags (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_route_info.rst b/docs/ibm_app_route_info.rst index 20b0e7c0e..7c67a98a6 100644 --- a/docs/ibm_app_route_info.rst +++ b/docs/ibm_app_route_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - space_guid (True, str, None) - The guid of the space - - - domain_guid (True, str, None) - The guid of the domain - - host (False, str, None) The host of the route @@ -46,6 +38,14 @@ Parameters The port of the route + space_guid (True, str, None) + The guid of the space + + + domain_guid (True, str, None) + The guid of the domain + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cdn.rst b/docs/ibm_cdn.rst index e14056ab4..33563cd74 100644 --- a/docs/ibm_cdn.rst +++ b/docs/ibm_cdn.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,68 +28,68 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vendor_name (False, str, akamai) - Vendor name - - origin_type (False, str, HOST_SERVER) Origin type info - http_port (False, int, 80) - HTTP port number - - - https_port (False, int, 443) - HTTPS port number - - file_extension (False, str, None) File extension info + host_name (True, str, None) + (Required for new resource) Host name + + cache_key_query_rule (False, str, include-all) query rule info - host_name (True, str, None) - (Required for new resource) Host name + certificate_type (False, str, None) + Certificate type + + + path (False, str, /*) + Path details origin_address (True, str, None) (Required for new resource) origin address info - protocol (False, str, HTTP) - Protocol name + http_port (False, int, 80) + HTTP port number - respect_headers (False, bool, True) - respect headers info + https_port (False, int, 443) + HTTPS port number - bucket_name (False, str, None) - Bucket name + header (False, str, None) + Header info cname (False, str, None) cname info - certificate_type (False, str, None) - Certificate type + respect_headers (False, bool, True) + respect headers info performance_configuration (False, str, General web delivery) performance configuration info - header (False, str, None) - Header info + vendor_name (False, str, akamai) + Vendor name - path (False, str, /*) - Path details + bucket_name (False, str, None) + Bucket name + + + protocol (False, str, HTTP) + Protocol name id (False, str, None) diff --git a/docs/ibm_certificate_manager_certificate_info.rst b/docs/ibm_certificate_manager_certificate_info.rst index 532907d03..47cd6b0b8 100644 --- a/docs/ibm_certificate_manager_certificate_info.rst +++ b/docs/ibm_certificate_manager_certificate_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_certificates_info.rst b/docs/ibm_certificate_manager_certificates_info.rst index 8499d008f..73bc0e0f0 100644 --- a/docs/ibm_certificate_manager_certificates_info.rst +++ b/docs/ibm_certificate_manager_certificates_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_import.rst b/docs/ibm_certificate_manager_import.rst index 9281f6c41..10ae4643a 100644 --- a/docs/ibm_certificate_manager_import.rst +++ b/docs/ibm_certificate_manager_import.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,10 +32,6 @@ Parameters (Required for new resource) Instance ID of the certificate manager resource - description (False, str, None) - Description of the certificate instance - - name (True, str, None) (Required for new resource) Name of the instance @@ -44,6 +40,10 @@ Parameters (Required for new resource) certificate data + description (False, str, None) + Description of the certificate instance + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_certificate_manager_order.rst b/docs/ibm_certificate_manager_order.rst index 2f3510779..9123da029 100644 --- a/docs/ibm_certificate_manager_order.rst +++ b/docs/ibm_certificate_manager_order.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,42 +28,42 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - rotate_keys (False, bool, False) - Keys are sorated if set to true - - - key_algorithm (False, str, rsaEncryption 2048 bit) - Keyalgorithm info - - - description (False, str, None) - Certicate description + renew_certificate (False, bool, False) + Invokes renew functionality domain_validation_method (False, str, dns-01) Domain validation methods - name (True, str, None) - (Required for new resource) Certificate name + auto_renew_enabled (False, bool, False) + None - renew_certificate (False, bool, False) - Invokes renew functionality + rotate_keys (False, bool, False) + Keys are sorated if set to true + + + description (False, str, None) + Certicate description dns_provider_instance_crn (False, str, None) DNS provider instance CRN - auto_renew_enabled (False, bool, False) - None + key_algorithm (False, str, rsaEncryption 2048 bit) + Keyalgorithm info certificate_manager_instance_id (True, str, None) (Required for new resource) Certificate manager instance ID + name (True, str, None) + (Required for new resource) Certificate name + + domains (True, list, None) (Required for new resource) List of domain names diff --git a/docs/ibm_cis.rst b/docs/ibm_cis.rst index 65b7a2a6e..d299d1410 100644 --- a/docs/ibm_cis.rst +++ b/docs/ibm_cis.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,24 +28,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) A name for the resource instance - - - plan (True, str, None) - (Required for new resource) The plan type of the service - - location (True, str, None) (Required for new resource) The location where the instance available + tags (False, list, None) + None + + resource_group_id (False, str, None) The resource group id - tags (False, list, None) - None + name (True, str, None) + (Required for new resource) A name for the resource instance + + + plan (True, str, None) + (Required for new resource) The plan type of the service parameters (False, dict, None) diff --git a/docs/ibm_cis_cache_settings.rst b/docs/ibm_cis_cache_settings.rst index c145a7c0d..3a57ce7d2 100644 --- a/docs/ibm_cis_cache_settings.rst +++ b/docs/ibm_cis_cache_settings.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + caching_level (False, str, None) Cache level setting + development_mode (False, str, None) + Development mode setting + + + query_string_sort (False, str, None) + Query String sort setting + + purge_by_tags (False, list, None) Purge by tags @@ -48,14 +60,6 @@ Parameters Browser Expiration setting - development_mode (False, str, None) - Development mode setting - - - query_string_sort (False, str, None) - Query String sort setting - - purge_all (False, bool, None) Purge all setting @@ -64,10 +68,6 @@ Parameters Purge by URLs - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_certificate_order.rst b/docs/ibm_cis_certificate_order.rst index 7e745d8e1..69a407015 100644 --- a/docs/ibm_cis_certificate_order.rst +++ b/docs/ibm_cis_certificate_order.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_certificate_upload.rst b/docs/ibm_cis_certificate_upload.rst index 1b790dd86..f7d98b291 100644 --- a/docs/ibm_cis_certificate_upload.rst +++ b/docs/ibm_cis_certificate_upload.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,18 +32,14 @@ Parameters (Required for new resource) CIS instance crn - private_key (True, str, None) - (Required for new resource) Certificate private key - - - priority (False, int, None) - Certificate priority - - domain_id (True, str, None) (Required for new resource) Associated CIS domain + private_key (True, str, None) + (Required for new resource) Certificate private key + + certificate (True, str, None) (Required for new resource) Certificate key @@ -52,6 +48,10 @@ Parameters Certificate bundle method + priority (False, int, None) + Certificate priority + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_certificates_info.rst b/docs/ibm_cis_certificates_info.rst index d27e3ddd3..0415c825d 100644 --- a/docs/ibm_cis_certificates_info.rst +++ b/docs/ibm_cis_certificates_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_certificates_info.rst b/docs/ibm_cis_custom_certificates_info.rst index e95edf866..4ab56e9a9 100644 --- a/docs/ibm_cis_custom_certificates_info.rst +++ b/docs/ibm_cis_custom_certificates_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_page.rst b/docs/ibm_cis_custom_page.rst index dea4a9f01..edc64ab01 100644 --- a/docs/ibm_cis_custom_page.rst +++ b/docs/ibm_cis_custom_page.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - page_id (True, str, None) - (Required for new resource) Custom page identifier - - cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -40,6 +36,10 @@ Parameters (Required for new resource) Associated CIS domain + page_id (True, str, None) + (Required for new resource) Custom page identifier + + url (True, str, None) (Required for new resource) Custom page url diff --git a/docs/ibm_cis_custom_pages_info.rst b/docs/ibm_cis_custom_pages_info.rst index 7ecf168fb..e79de1d32 100644 --- a/docs/ibm_cis_custom_pages_info.rst +++ b/docs/ibm_cis_custom_pages_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,11 +26,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) + cis_id (True, str, None) None - cis_id (True, str, None) + domain_id (True, str, None) None diff --git a/docs/ibm_cis_dns_record.rst b/docs/ibm_cis_dns_record.rst index 2eca435a7..764654c21 100644 --- a/docs/ibm_cis_dns_record.rst +++ b/docs/ibm_cis_dns_record.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,42 +28,42 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - content (False, str, None) - DNS record content - - - proxied (False, bool, False) - Boolean value true if proxied else flase + domain_id (True, str, None) + (Required for new resource) Associated CIS domain ttl (False, int, 1) TTL value - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + cis_id (True, str, None) + (Required for new resource) CIS object id or CRN + + + name (False, str, None) + DNS record name type (True, str, None) (Required for new resource) Record type + content (False, str, None) + DNS record content + + priority (False, int, None) Priority Value - name (False, str, None) - DNS record name + proxied (False, bool, False) + Boolean value true if proxied else flase data (False, dict, None) None - cis_id (True, str, None) - (Required for new resource) CIS object id or CRN - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_dns_records_import.rst b/docs/ibm_cis_dns_records_import.rst index b90504d67..f1ec20950 100644 --- a/docs/ibm_cis_dns_records_import.rst +++ b/docs/ibm_cis_dns_records_import.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_dns_records_info.rst b/docs/ibm_cis_dns_records_info.rst index f4598ae8b..63ea65eb7 100644 --- a/docs/ibm_cis_dns_records_info.rst +++ b/docs/ibm_cis_dns_records_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_domain.rst b/docs/ibm_cis_domain.rst index 606d2e03e..8c748a34c 100644 --- a/docs/ibm_cis_domain.rst +++ b/docs/ibm_cis_domain.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_domain_info.rst b/docs/ibm_cis_domain_info.rst index 9d2ac1f71..393fc9bcf 100644 --- a/docs/ibm_cis_domain_info.rst +++ b/docs/ibm_cis_domain_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_domain_settings.rst b/docs/ibm_cis_domain_settings.rst index 8a47d6788..ee8f60452 100644 --- a/docs/ibm_cis_domain_settings.rst +++ b/docs/ibm_cis_domain_settings.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,48 +28,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - response_buffering (False, str, None) - response_buffering setting + always_use_https (False, str, None) + always_use_https setting websockets (False, str, None) websockets setting - cipher (False, list, None) - Cipher settings - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - - waf (False, str, None) - WAF setting - - - automatic_https_rewrites (False, str, None) - automatic_https_rewrites setting + minify (False, list, None) + Minify setting - pseudo_ipv4 (False, str, None) - pseudo_ipv4 setting + ssl (False, str, None) + SSL/TLS setting image_load_optimization (False, str, None) image_load_optimization setting - max_upload (False, int, None) - Maximum upload + image_size_optimization (False, str, None) + image_size_optimization setting - always_use_https (False, str, None) - always_use_https setting + ip_geolocation (False, str, None) + ip_geolocation setting - hotlink_protection (False, str, None) - hotlink_protection setting + origin_error_page_pass_thru (False, str, None) + origin_error_page_pass_thru setting + + + server_side_exclude (False, str, None) + server_side_exclude setting tls_client_auth (False, str, None) @@ -80,36 +72,32 @@ Parameters Security Header Setting - ssl (False, str, None) - SSL/TLS setting - - - opportunistic_encryption (False, str, None) - opportunistic_encryption setting - - - origin_error_page_pass_thru (False, str, None) - origin_error_page_pass_thru setting + browser_check (False, str, None) + browser_check setting - minify (False, list, None) - Minify setting + mobile_redirect (False, list, None) + None cname_flattening (False, str, None) cname_flattening setting + waf (False, str, None) + WAF setting + + ipv6 (False, str, None) ipv6 setting - image_size_optimization (False, str, None) - image_size_optimization setting + true_client_ip_header (False, str, None) + true_client_ip_header setting - prefetch_preload (False, str, None) - prefetch_preload setting + domain_id (True, str, None) + (Required for new resource) Associated CIS domain brotli (False, str, None) @@ -124,42 +112,54 @@ Parameters Challenge TTL setting - mobile_redirect (False, list, None) - None - - dnssec (False, str, None) DNS Sec setting - server_side_exclude (False, str, None) - server_side_exclude setting + hotlink_protection (False, str, None) + hotlink_protection setting - true_client_ip_header (False, str, None) - true_client_ip_header setting + response_buffering (False, str, None) + response_buffering setting - ip_geolocation (False, str, None) - ip_geolocation setting + min_tls_version (False, str, 1.1) + Minimum version of TLS required - cis_id (True, str, None) - (Required for new resource) CIS instance crn + opportunistic_encryption (False, str, None) + opportunistic_encryption setting - min_tls_version (False, str, 1.1) - Minimum version of TLS required + prefetch_preload (False, str, None) + prefetch_preload setting - browser_check (False, str, None) - browser_check setting + automatic_https_rewrites (False, str, None) + automatic_https_rewrites setting http2 (False, str, None) http2 setting + pseudo_ipv4 (False, str, None) + pseudo_ipv4 setting + + + max_upload (False, int, None) + Maximum upload + + + cipher (False, list, None) + Cipher settings + + + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_edge_functions_action.rst b/docs/ibm_cis_edge_functions_action.rst index c08dfc014..eabbc27f4 100644 --- a/docs/ibm_cis_edge_functions_action.rst +++ b/docs/ibm_cis_edge_functions_action.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN + + domain_id (True, str, None) (Required for new resource) CIS Domain ID @@ -40,10 +44,6 @@ Parameters (Required for new resource) Edge function action script - cis_id (True, str, None) - (Required for new resource) CIS Intance CRN - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_edge_functions_actions_info.rst b/docs/ibm_cis_edge_functions_actions_info.rst index cd0e1913b..a794daf0b 100644 --- a/docs/ibm_cis_edge_functions_actions_info.rst +++ b/docs/ibm_cis_edge_functions_actions_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_edge_functions_trigger.rst b/docs/ibm_cis_edge_functions_trigger.rst index 905484e4b..5c4e243cc 100644 --- a/docs/ibm_cis_edge_functions_trigger.rst +++ b/docs/ibm_cis_edge_functions_trigger.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_edge_functions_triggers_info.rst b/docs/ibm_cis_edge_functions_triggers_info.rst index 7deef7345..b50832291 100644 --- a/docs/ibm_cis_edge_functions_triggers_info.rst +++ b/docs/ibm_cis_edge_functions_triggers_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_firewall.rst b/docs/ibm_cis_firewall.rst index bc677f576..753ac344e 100644 --- a/docs/ibm_cis_firewall.rst +++ b/docs/ibm_cis_firewall.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cis_id (True, str, None) + (Required for new resource) CIS object id + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + firewall_type (True, str, None) (Required for new resource) Type of firewall.Allowable values are access-rules,ua-rules,lockdowns @@ -44,14 +52,6 @@ Parameters User Agent Rule Data - cis_id (True, str, None) - (Required for new resource) CIS object id - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_firewall_info.rst b/docs/ibm_cis_firewall_info.rst index 9129fe1a2..aedb014e2 100644 --- a/docs/ibm_cis_firewall_info.rst +++ b/docs/ibm_cis_firewall_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,6 +26,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + firewall_type (True, str, None) + Type of firewall.Allowable values are access-rules,ua-rules,lockdowns + + cis_id (True, str, None) CIS object id @@ -34,10 +38,6 @@ Parameters Associated CIS domain - firewall_type (True, str, None) - Type of firewall.Allowable values are access-rules,ua-rules,lockdowns - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_global_load_balancer.rst b/docs/ibm_cis_global_load_balancer.rst index 842252ac7..92d0ac321 100644 --- a/docs/ibm_cis_global_load_balancer.rst +++ b/docs/ibm_cis_global_load_balancer.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,52 +28,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ttl (False, int, 60) - TTL value + fallback_pool_id (True, str, None) + (Required for new resource) fallback pool ID + + + name (True, str, None) + (Required for new resource) name + + + session_affinity (False, str, none) + Session affinity info pop_pools (False, list, None) None - region_pools (False, list, None) - None + enabled (False, bool, True) + set to true of LB needs to enabled - description (False, str, None) - Description for the load balancer instance + region_pools (False, list, None) + None cis_id (True, str, None) (Required for new resource) CIS instance crn - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + default_pool_ids (True, list, None) + (Required for new resource) List of default Pool IDs proxied (False, bool, False) set to true if proxy needs to be enabled - name (True, str, None) - (Required for new resource) name - - - fallback_pool_id (True, str, None) - (Required for new resource) fallback pool ID - - - default_pool_ids (True, list, None) - (Required for new resource) List of default Pool IDs + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - session_affinity (False, str, none) - Session affinity info + description (False, str, None) + Description for the load balancer instance - enabled (False, bool, True) - set to true of LB needs to enabled + ttl (False, int, 60) + TTL value id (False, str, None) diff --git a/docs/ibm_cis_global_load_balancers_info.rst b/docs/ibm_cis_global_load_balancers_info.rst index 728d6540f..2c2c1f249 100644 --- a/docs/ibm_cis_global_load_balancers_info.rst +++ b/docs/ibm_cis_global_load_balancers_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_healthcheck.rst b/docs/ibm_cis_healthcheck.rst index a025713e5..2669eb0d1 100644 --- a/docs/ibm_cis_healthcheck.rst +++ b/docs/ibm_cis_healthcheck.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,60 +28,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - allow_insecure (False, bool, False) - allow_insecure + cis_id (True, str, None) + (Required for new resource) CIS instance crn - type (False, str, http) - type + expected_codes (False, str, None) + expected_codes - path (False, str, /) - path + method (False, str, GET) + method - expected_body (False, str, None) - expected_body + retries (False, int, 2) + retries - description (False, str, None) - description + allow_insecure (False, bool, False) + allow_insecure - timeout (False, int, 5) - timeout + expected_body (False, str, None) + expected_body - retries (False, int, 2) - retries + description (False, str, None) + description follow_redirects (False, bool, False) follow_redirects - cis_id (True, str, None) - (Required for new resource) CIS instance crn - - - headers (False, list, None) - None + path (False, str, /) + path interval (False, int, 60) interval - method (False, str, GET) - method - - port (False, int, None) port number - expected_codes (False, str, None) - expected_codes + headers (False, list, None) + None + + + type (False, str, http) + type + + + timeout (False, int, 5) + timeout id (False, str, None) diff --git a/docs/ibm_cis_healthchecks_info.rst b/docs/ibm_cis_healthchecks_info.rst index e1d279c79..4fa25a690 100644 --- a/docs/ibm_cis_healthchecks_info.rst +++ b/docs/ibm_cis_healthchecks_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_info.rst b/docs/ibm_cis_info.rst index c6950c541..4b704487f 100644 --- a/docs/ibm_cis_info.rst +++ b/docs/ibm_cis_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_ip_addresses_info.rst b/docs/ibm_cis_ip_addresses_info.rst index c3a613a4d..11919ebd6 100644 --- a/docs/ibm_cis_ip_addresses_info.rst +++ b/docs/ibm_cis_ip_addresses_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_origin_pool.rst b/docs/ibm_cis_origin_pool.rst index a6754a70b..180b42eb6 100644 --- a/docs/ibm_cis_origin_pool.rst +++ b/docs/ibm_cis_origin_pool.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,32 +28,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - minimum_origins (False, int, 1) - Minimum number of Origins - - - name (True, str, None) - (Required for new resource) name - - - enabled (True, bool, None) - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled - - cis_id (True, str, None) (Required for new resource) CIS instance crn - monitor (False, str, None) - Monitor value - - check_regions (True, list, None) (Required for new resource) List of regions - description (False, str, None) - Description of the CIS Origin Pool + minimum_origins (False, int, 1) + Minimum number of Origins notification_email (False, str, None) @@ -64,6 +48,22 @@ Parameters (Required for new resource) Origins info + enabled (True, bool, None) + (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled + + + name (True, str, None) + (Required for new resource) name + + + description (False, str, None) + Description of the CIS Origin Pool + + + monitor (False, str, None) + Monitor value + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_origin_pools_info.rst b/docs/ibm_cis_origin_pools_info.rst index e40d95686..40fba51bd 100644 --- a/docs/ibm_cis_origin_pools_info.rst +++ b/docs/ibm_cis_origin_pools_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_page_rule.rst b/docs/ibm_cis_page_rule.rst index 7ada57d91..654c364f2 100644 --- a/docs/ibm_cis_page_rule.rst +++ b/docs/ibm_cis_page_rule.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - actions (True, list, None) - (Required for new resource) Page rule actions - - cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -52,6 +48,10 @@ Parameters (Required for new resource) Page rule targets + actions (True, list, None) + (Required for new resource) Page rule actions + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_page_rules_info.rst b/docs/ibm_cis_page_rules_info.rst index c8258e385..06809a0f7 100644 --- a/docs/ibm_cis_page_rules_info.rst +++ b/docs/ibm_cis_page_rules_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_range_app.rst b/docs/ibm_cis_range_app.rst index 9d7412e72..5d5143507 100644 --- a/docs/ibm_cis_range_app.rst +++ b/docs/ibm_cis_range_app.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,60 +28,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ip_firewall (False, bool, None) - Enables the IP Firewall for this application. Only available for TCP applications. + dns_type (True, str, None) + (Required for new resource) Type of the DNS record for this application - edge_ips_type (False, str, dynamic) - The type of edge IP configuration. + edge_ips_connectivity (False, str, all) + Specifies the IP version. cis_id (True, str, None) (Required for new resource) CIS Intance CRN - protocol (True, str, None) - (Required for new resource) Defines the protocol and port for this application + dns (True, str, None) + (Required for new resource) Name of the DNS record for this application - dns_type (True, str, None) - (Required for new resource) Type of the DNS record for this application + origin_dns (False, str, None) + DNS record pointing to the origin for this Range application. - origin_port (False, int, None) - Port at the origin that listens to traffic + edge_ips_type (False, str, dynamic) + The type of edge IP configuration. domain_id (True, str, None) (Required for new resource) CIS Domain ID - traffic_type (False, str, direct) - Configure how traffic is handled at the edge. + origin_port (False, int, None) + Port at the origin that listens to traffic - dns (True, str, None) - (Required for new resource) Name of the DNS record for this application + ip_firewall (False, bool, None) + Enables the IP Firewall for this application. Only available for TCP applications. - tls (False, str, False) - Configure if and how TLS connections are terminated at the edge. + proxy_protocol (False, str, None) + Allows for the true client IP to be passed to the service. - origin_direct (False, list, None) - IP address and port of the origin for this Range application. + traffic_type (False, str, direct) + Configure how traffic is handled at the edge. - origin_dns (False, str, None) - DNS record pointing to the origin for this Range application. + tls (False, str, False) + Configure if and how TLS connections are terminated at the edge. - proxy_protocol (False, str, None) - Allows for the true client IP to be passed to the service. + protocol (True, str, None) + (Required for new resource) Defines the protocol and port for this application - edge_ips_connectivity (False, str, all) - Specifies the IP version. + origin_direct (False, list, None) + IP address and port of the origin for this Range application. id (False, str, None) diff --git a/docs/ibm_cis_range_apps_info.rst b/docs/ibm_cis_range_apps_info.rst index cfdb902e7..6ce0fd50c 100644 --- a/docs/ibm_cis_range_apps_info.rst +++ b/docs/ibm_cis_range_apps_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_rate_limit.rst b/docs/ibm_cis_rate_limit.rst index cbd059ae8..1f7e49ea2 100644 --- a/docs/ibm_cis_rate_limit.rst +++ b/docs/ibm_cis_rate_limit.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -36,16 +36,8 @@ Parameters Whether this rate limiting rule is currently disabled. - description (False, str, None) - A note that you can use to describe the reason for a rate limiting rule. - - - threshold (True, int, None) - (Required for new resource) Rate Limiting Threshold - - - period (True, int, None) - (Required for new resource) Rate Limiting Period + bypass (False, list, None) + Bypass URL correlate (False, list, None) @@ -56,8 +48,16 @@ Parameters (Required for new resource) CIS Domain ID - bypass (False, list, None) - Bypass URL + description (False, str, None) + A note that you can use to describe the reason for a rate limiting rule. + + + threshold (True, int, None) + (Required for new resource) Rate Limiting Threshold + + + period (True, int, None) + (Required for new resource) Rate Limiting Period action (True, list, None) diff --git a/docs/ibm_cis_rate_limit_info.rst b/docs/ibm_cis_rate_limit_info.rst index e860b7d37..8c12781e3 100644 --- a/docs/ibm_cis_rate_limit_info.rst +++ b/docs/ibm_cis_rate_limit_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_routing.rst b/docs/ibm_cis_routing.rst index 698b683b2..9bde0b277 100644 --- a/docs/ibm_cis_routing.rst +++ b/docs/ibm_cis_routing.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_tls_settings.rst b/docs/ibm_cis_tls_settings.rst index 6c37747a5..183aea84d 100644 --- a/docs/ibm_cis_tls_settings.rst +++ b/docs/ibm_cis_tls_settings.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tls_1_3 (False, str, None) - TLS 1.3 setting - - - min_tls_version (False, str, 1.1) - Minimum version of TLS required - - cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -48,6 +40,14 @@ Parameters Universal SSL setting + tls_1_3 (False, str, None) + TLS 1.3 setting + + + min_tls_version (False, str, 1.1) + Minimum version of TLS required + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_group.rst b/docs/ibm_cis_waf_group.rst index 9b1588a29..cc2b4ca67 100644 --- a/docs/ibm_cis_waf_group.rst +++ b/docs/ibm_cis_waf_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_groups_info.rst b/docs/ibm_cis_waf_groups_info.rst index d32daab43..67a5cf79e 100644 --- a/docs/ibm_cis_waf_groups_info.rst +++ b/docs/ibm_cis_waf_groups_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_package.rst b/docs/ibm_cis_waf_package.rst index 89b3ca90a..7fc5ae1bb 100644 --- a/docs/ibm_cis_waf_package.rst +++ b/docs/ibm_cis_waf_package.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_packages_info.rst b/docs/ibm_cis_waf_packages_info.rst index 065d1716c..d5dcf6e7a 100644 --- a/docs/ibm_cis_waf_packages_info.rst +++ b/docs/ibm_cis_waf_packages_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_rule.rst b/docs/ibm_cis_waf_rule.rst index 728403d9f..5a7f0dea3 100644 --- a/docs/ibm_cis_waf_rule.rst +++ b/docs/ibm_cis_waf_rule.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,20 +28,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS Intance CRN - - - domain_id (True, str, None) - (Required for new resource) CIS Domain ID + rule_id (True, str, None) + (Required for new resource) CIS WAF Rule id mode (True, str, None) (Required for new resource) CIS WAF Rule mode - rule_id (True, str, None) - (Required for new resource) CIS WAF Rule id + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN + + + domain_id (True, str, None) + (Required for new resource) CIS Domain ID package_id (True, str, None) diff --git a/docs/ibm_cis_waf_rules_info.rst b/docs/ibm_cis_waf_rules_info.rst index 82c086af1..2e3afdb4d 100644 --- a/docs/ibm_cis_waf_rules_info.rst +++ b/docs/ibm_cis_waf_rules_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_autoscale_group.rst b/docs/ibm_compute_autoscale_group.rst index 1b6314579..43fe6096b 100644 --- a/docs/ibm_compute_autoscale_group.rst +++ b/docs/ibm_compute_autoscale_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,52 +28,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - termination_policy (True, str, None) - (Required for new resource) Termination policy + regional_group (True, str, None) + (Required for new resource) regional group - port (False, int, None) - Port number + minimum_member_count (True, int, None) + (Required for new resource) Minimum member count - health_check (False, dict, None) - None + cooldown (True, int, None) + (Required for new resource) Cooldown value network_vlan_ids (False, list, None) List of network VLAN ids - maximum_member_count (True, int, None) - (Required for new resource) Maximum member count + virtual_guest_member_template (True, list, None) + (Required for new resource) Virtual guest member template - cooldown (True, int, None) - (Required for new resource) Cooldown value + tags (False, list, None) + List of tags - minimum_member_count (True, int, None) - (Required for new resource) Minimum member count + name (True, str, None) + (Required for new resource) Name - virtual_server_id (False, int, None) - virtual server ID + maximum_member_count (True, int, None) + (Required for new resource) Maximum member count - virtual_guest_member_template (True, list, None) - (Required for new resource) Virtual guest member template + termination_policy (True, str, None) + (Required for new resource) Termination policy - tags (False, list, None) - List of tags + virtual_server_id (False, int, None) + virtual server ID - name (True, str, None) - (Required for new resource) Name + port (False, int, None) + Port number - regional_group (True, str, None) - (Required for new resource) regional group + health_check (False, dict, None) + None id (False, str, None) diff --git a/docs/ibm_compute_autoscale_policy.rst b/docs/ibm_compute_autoscale_policy.rst index 671f3d09b..efa7d274d 100644 --- a/docs/ibm_compute_autoscale_policy.rst +++ b/docs/ibm_compute_autoscale_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name - - - scale_type (True, str, None) - (Required for new resource) scale type - - scale_amount (True, int, None) (Required for new resource) Scale amount @@ -56,6 +48,14 @@ Parameters List of tags + name (True, str, None) + (Required for new resource) Name + + + scale_type (True, str, None) + (Required for new resource) scale type + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_bare_metal.rst b/docs/ibm_compute_bare_metal.rst index 182e2ca2f..27bc46d3c 100644 --- a/docs/ibm_compute_bare_metal.rst +++ b/docs/ibm_compute_bare_metal.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,115 +28,111 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ipv6_static_enabled (False, bool, False) - boolean value true if ipv6 static is enabled else false + os_key_name (False, str, None) + None + + + gpu_key_name (False, str, None) + None + + + public_vlan_id (False, int, None) + None notes (False, str, None) Optional notes info - redundant_power_supply (False, bool, None) + post_install_script_uri (False, str, None) None - gpu_key_name (False, str, None) - None + fixed_config_preset (False, str, None) + Fixed config preset value - unbonded_network (False, bool, False) - None + tcp_monitoring (False, bool, False) + TCP monitoring enabled if set as true - extended_hardware_testing (False, bool, False) + redundant_power_supply (False, bool, None) None - public_vlan_id (False, int, None) + software_guard_extensions (False, bool, False) None - public_subnet (False, str, None) + gpu_secondary_key_name (False, str, None) None - block_storage_ids (False, list, None) + unbonded_network (False, bool, False) None - os_key_name (False, str, None) + extended_hardware_testing (False, bool, False) None - ipv6_enabled (False, bool, False) - Boolean value true if IPV6 ia enabled or false + storage_groups (False, list, None) + None secondary_ip_count (False, int, None) Secondary IP addresses count - ssh_key_ids (False, list, None) - SSH KEY IDS list + hostname (False, str, None) + Host name - post_install_script_uri (False, str, None) + datacenter (False, str, None) None - tcp_monitoring (False, bool, False) - TCP monitoring enabled if set as true - - - package_key_name (False, str, None) + restricted_network (False, bool, False) None - process_key_name (False, str, None) + public_bandwidth (False, int, None) None - private_subnet (False, str, None) - None + quote_id (False, int, None) + Quote ID for Quote based provisioning - file_storage_ids (False, list, None) + disk_key_names (False, list, None) None - os_reference_code (False, str, None) - OS refernece code value - - - image_template_id (False, int, None) - OS image template ID - - - hourly_billing (False, bool, True) - Enables hourly billing + user_metadata (False, str, None) + User metadata info - private_vlan_id (False, int, None) + file_storage_ids (False, list, None) None - user_metadata (False, str, None) - User metadata info + block_storage_ids (False, list, None) + None - tags (False, list, None) - None + os_reference_code (False, str, None) + OS refernece code value network_speed (False, int, 100) Network speed in MBPS - redundant_network (False, bool, False) - None + private_network_only (False, bool, False) + only private network configured if is true - disk_key_names (False, list, None) + package_key_name (False, str, None) None @@ -144,48 +140,52 @@ Parameters None - hostname (False, str, None) - Host name + public_subnet (False, str, None) + None - domain (True, str, None) - (Required for new resource) Domain name + private_subnet (False, str, None) + None - software_guard_extensions (False, bool, False) - None + ipv6_static_enabled (False, bool, False) + boolean value true if ipv6 static is enabled else false - gpu_secondary_key_name (False, str, None) + tags (False, list, None) None - public_bandwidth (False, int, None) + redundant_network (False, bool, False) None - storage_groups (False, list, None) - None + ssh_key_ids (False, list, None) + SSH KEY IDS list - fixed_config_preset (False, str, None) - Fixed config preset value + hourly_billing (False, bool, True) + Enables hourly billing - datacenter (False, str, None) + private_vlan_id (False, int, None) None - private_network_only (False, bool, False) - only private network configured if is true + ipv6_enabled (False, bool, False) + Boolean value true if IPV6 ia enabled or false - restricted_network (False, bool, False) - None + domain (True, str, None) + (Required for new resource) Domain name - quote_id (False, int, None) - Quote ID for Quote based provisioning + image_template_id (False, int, None) + OS image template ID + + + process_key_name (False, str, None) + None id (False, str, None) diff --git a/docs/ibm_compute_bare_metal_info.rst b/docs/ibm_compute_bare_metal_info.rst index bdf5fb7dc..5a713997a 100644 --- a/docs/ibm_compute_bare_metal_info.rst +++ b/docs/ibm_compute_bare_metal_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,20 +26,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - most_recent (False, bool, False) - If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned - - domain (False, str, None) The domain of the bare metal server + global_identifier (False, str, None) + The unique global identifier of the bare metal server + + hostname (False, str, None) The hostname of the bare metal server - global_identifier (False, str, None) - The unique global identifier of the bare metal server + most_recent (False, bool, False) + If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned iaas_classic_username (False, any, None) diff --git a/docs/ibm_compute_dedicated_host.rst b/docs/ibm_compute_dedicated_host.rst index 00d18d58f..416fb1da7 100644 --- a/docs/ibm_compute_dedicated_host.rst +++ b/docs/ibm_compute_dedicated_host.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,36 +28,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - router_hostname (True, str, None) - (Required for new resource) The hostname of the primary router that the dedicated host is associated with. - - - tags (False, list, None) + wait_time_minutes (False, int, 90) None - hostname (True, str, None) - (Required for new resource) The host name of dedicatated host. - - domain (True, str, None) (Required for new resource) The domain of dedicatated host. + flavor (False, str, 56_CORES_X_242_RAM_X_1_4_TB) + The flavor of the dedicatated host. + + hourly_billing (False, bool, True) The billing type for the dedicatated host. - wait_time_minutes (False, int, 90) + router_hostname (True, str, None) + (Required for new resource) The hostname of the primary router that the dedicated host is associated with. + + + tags (False, list, None) None - datacenter (True, str, None) - (Required for new resource) The data center in which the dedicatated host is to be provisioned. + hostname (True, str, None) + (Required for new resource) The host name of dedicatated host. - flavor (False, str, 56_CORES_X_242_RAM_X_1_4_TB) - The flavor of the dedicatated host. + datacenter (True, str, None) + (Required for new resource) The data center in which the dedicatated host is to be provisioned. id (False, str, None) diff --git a/docs/ibm_compute_image_template_info.rst b/docs/ibm_compute_image_template_info.rst index 7bac49ab6..953c1eea2 100644 --- a/docs/ibm_compute_image_template_info.rst +++ b/docs/ibm_compute_image_template_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_monitor.rst b/docs/ibm_compute_monitor.rst index 0d9157874..c49b21945 100644 --- a/docs/ibm_compute_monitor.rst +++ b/docs/ibm_compute_monitor.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - query_type_id (True, int, None) - (Required for new resource) Query Type ID - - - response_action_id (True, int, None) - (Required for new resource) Response action ID - - wait_cycles (False, int, None) wait cycles count @@ -56,6 +48,14 @@ Parameters IP Address + query_type_id (True, int, None) + (Required for new resource) Query Type ID + + + response_action_id (True, int, None) + (Required for new resource) Response action ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_placement_group.rst b/docs/ibm_compute_placement_group.rst index 6a02073a2..54347b28d 100644 --- a/docs/ibm_compute_placement_group.rst +++ b/docs/ibm_compute_placement_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + datacenter (True, str, None) + (Required for new resource) Dataceneter name + + + pod (True, str, None) + (Required for new resource) Pod name + + name (True, str, None) (Required for new resource) Name @@ -40,14 +48,6 @@ Parameters List of tags - datacenter (True, str, None) - (Required for new resource) Dataceneter name - - - pod (True, str, None) - (Required for new resource) Pod name - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_placement_group_info.rst b/docs/ibm_compute_placement_group_info.rst index 793738a94..c9bc2b639 100644 --- a/docs/ibm_compute_placement_group_info.rst +++ b/docs/ibm_compute_placement_group_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_provisioning_hook.rst b/docs/ibm_compute_provisioning_hook.rst index 116658aab..d85e8c917 100644 --- a/docs/ibm_compute_provisioning_hook.rst +++ b/docs/ibm_compute_provisioning_hook.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssh_key.rst b/docs/ibm_compute_ssh_key.rst index 12434ffbd..94c51e130 100644 --- a/docs/ibm_compute_ssh_key.rst +++ b/docs/ibm_compute_ssh_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - label (True, str, None) - (Required for new resource) SSH Key label - - public_key (True, str, None) (Required for new resource) Plublic Key info @@ -44,6 +40,10 @@ Parameters List of tags for the resource + label (True, str, None) + (Required for new resource) SSH Key label + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_ssh_key_info.rst b/docs/ibm_compute_ssh_key_info.rst index 5ca2eda80..dd4e902e5 100644 --- a/docs/ibm_compute_ssh_key_info.rst +++ b/docs/ibm_compute_ssh_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssl_certificate.rst b/docs/ibm_compute_ssl_certificate.rst index e2e24d524..8da862312 100644 --- a/docs/ibm_compute_ssl_certificate.rst +++ b/docs/ibm_compute_ssl_certificate.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - Tags set for resource - - certificate (True, str, None) (Required for new resource) SSL Certifcate @@ -44,6 +40,10 @@ Parameters (Required for new resource) SSL Private Key + tags (False, list, None) + Tags set for resource + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_user.rst b/docs/ibm_compute_user.rst index 40d52f703..3d35af866 100644 --- a/docs/ibm_compute_user.rst +++ b/docs/ibm_compute_user.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,72 +28,72 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - first_name (True, str, None) - (Required for new resource) First name of the user + username (False, str, None) + user name - company_name (True, str, None) - (Required for new resource) comapany name + state_ (True, str, None) + (Required for new resource) Satate name - address1 (True, str, None) - (Required for new resource) Address info of the user + api_key (False, str, None) + API key for the user - country (True, str, None) - (Required for new resource) Country name + tags (False, list, None) + Tags set for the resources - user_status (False, str, ACTIVE) - user status info + last_name (True, str, None) + (Required for new resource) Last name of the user - password (False, str, None) - password for the user + email (True, str, None) + (Required for new resource) email address of the user - username (False, str, None) - user name + address1 (True, str, None) + (Required for new resource) Address info of the user - tags (False, list, None) - Tags set for the resources + address2 (False, str, None) + Address info of the user - timezone (True, str, None) - (Required for new resource) time zone info + first_name (True, str, None) + (Required for new resource) First name of the user - city (True, str, None) - (Required for new resource) City name + company_name (True, str, None) + (Required for new resource) comapany name - permissions (False, list, None) - set of persmissions assigned for the user + city (True, str, None) + (Required for new resource) City name - has_api_key (False, bool, False) - API Key info of the user + timezone (True, str, None) + (Required for new resource) time zone info - email (True, str, None) - (Required for new resource) email address of the user + password (False, str, None) + password for the user - address2 (False, str, None) - Address info of the user + permissions (False, list, None) + set of persmissions assigned for the user - state_ (True, str, None) - (Required for new resource) Satate name + country (True, str, None) + (Required for new resource) Country name - api_key (False, str, None) - API key for the user + user_status (False, str, ACTIVE) + user status info - last_name (True, str, None) - (Required for new resource) Last name of the user + has_api_key (False, bool, False) + API Key info of the user id (False, str, None) diff --git a/docs/ibm_compute_vm_instance.rst b/docs/ibm_compute_vm_instance.rst index bcac9a83a..c117a5bda 100644 --- a/docs/ibm_compute_vm_instance.rst +++ b/docs/ibm_compute_vm_instance.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,51 +28,47 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cores (False, int, None) + tags (False, list, None) None - private_network_only (False, bool, False) + wait_time_minutes (False, int, 90) None - placement_group_name (False, str, None) - The placement group name - - - private_subnet (False, str, None) + hourly_billing (False, bool, True) None - domain (False, str, None) + private_security_group_ids (False, list, None) None - hourly_billing (False, bool, True) + disks (False, list, None) None - memory (False, int, None) + post_install_script_uri (False, str, None) None - os_reference_code (False, str, None) + transient (False, bool, None) None - flavor_key_name (False, str, None) - Flavor key name used to provision vm. + public_subnet (False, str, None) + None - secondary_ip_count (False, int, None) + public_security_group_ids (False, list, None) None - notes (False, str, None) + datacenter (False, str, None) None - public_vlan_id (False, int, None) + ipv6_static_enabled (False, bool, False) None @@ -80,71 +76,75 @@ Parameters None - disks (False, list, None) - None + datacenter_choice (False, list, None) + The user provided datacenter options - ipv6_enabled (False, bool, False) + user_metadata (False, str, None) None - public_bandwidth_unlimited (False, bool, False) + evault (False, int, None) None - placement_group_id (False, int, None) - The placement group id + network_speed (False, int, 100) + None - transient (False, bool, None) + private_subnet (False, str, None) None - image_id (False, int, None) + public_bandwidth_limited (False, int, None) None - evault (False, int, None) + public_bandwidth_unlimited (False, bool, False) None - network_speed (False, int, 100) + hostname (False, str, None) None - local_disk (False, bool, True) + bulk_vms (False, list, None) None - post_install_script_uri (False, str, None) + os_reference_code (False, str, None) None - bulk_vms (False, list, None) + private_network_only (False, bool, False) None - public_security_group_ids (False, list, None) + placement_group_id (False, int, None) + The placement group id + + + dedicated_host_id (False, int, None) None - private_vlan_id (False, int, None) + domain (False, str, None) None - hostname (False, str, None) + memory (False, int, None) None - tags (False, list, None) + dedicated_host_name (False, str, None) None - datacenter (False, str, None) + ipv6_enabled (False, bool, False) None - dedicated_host_name (False, str, None) + ssh_key_ids (False, list, None) None @@ -152,43 +152,43 @@ Parameters None - wait_time_minutes (False, int, 90) + notes (False, str, None) None - dedicated_acct_host_only (False, bool, None) + image_id (False, int, None) None - dedicated_host_id (False, int, None) + public_vlan_id (False, int, None) None - datacenter_choice (False, list, None) - The user provided datacenter options + secondary_ip_count (False, int, None) + None - private_security_group_ids (False, list, None) + local_disk (False, bool, True) None - ipv6_static_enabled (False, bool, False) - None + placement_group_name (False, str, None) + The placement group name - ssh_key_ids (False, list, None) + private_vlan_id (False, int, None) None - public_subnet (False, str, None) - None + flavor_key_name (False, str, None) + Flavor key name used to provision vm. - user_metadata (False, str, None) + cores (False, int, None) None - public_bandwidth_limited (False, int, None) + dedicated_acct_host_only (False, bool, None) None diff --git a/docs/ibm_compute_vm_instance_info.rst b/docs/ibm_compute_vm_instance_info.rst index 966f93fc5..007723ac4 100644 --- a/docs/ibm_compute_vm_instance_info.rst +++ b/docs/ibm_compute_vm_instance_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,16 +26,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - hostname (True, str, None) - The hostname of the virtual guest + domain (True, str, None) + The domain of the virtual guest most_recent (False, bool, False) If true and multiple entries are found, the most recently created virtual guest is used. If false, an error is returned - domain (True, str, None) - The domain of the virtual guest + hostname (True, str, None) + The hostname of the virtual guest iaas_classic_username (False, any, None) diff --git a/docs/ibm_container_addons.rst b/docs/ibm_container_addons.rst index 4f233a0e2..89bb5efcd 100644 --- a/docs/ibm_container_addons.rst +++ b/docs/ibm_container_addons.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_addons_info.rst b/docs/ibm_container_addons_info.rst index 591862ca9..0d12cfa6e 100644 --- a/docs/ibm_container_addons_info.rst +++ b/docs/ibm_container_addons_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_alb.rst b/docs/ibm_container_alb.rst index f9a2fa3c8..ccb718ae3 100644 --- a/docs/ibm_container_alb.rst +++ b/docs/ibm_container_alb.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,20 +28,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alb_id (True, str, None) - (Required for new resource) ALB ID - - disable_deployment (False, bool, None) Set to true if ALB needs to be disabled + user_ip (False, str, None) + IP assigned by the user + + enable (False, bool, None) set to true if ALB needs to be enabled - user_ip (False, str, None) - IP assigned by the user + alb_id (True, str, None) + (Required for new resource) ALB ID id (False, str, None) diff --git a/docs/ibm_container_alb_cert.rst b/docs/ibm_container_alb_cert.rst index 162d42e42..82b2d5b52 100644 --- a/docs/ibm_container_alb_cert.rst +++ b/docs/ibm_container_alb_cert.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - secret_name (True, str, None) - (Required for new resource) Secret name - - cert_crn (True, str, None) (Required for new resource) Certificate CRN id @@ -40,6 +36,10 @@ Parameters (Required for new resource) Cluster ID + secret_name (True, str, None) + (Required for new resource) Secret name + + namespace (False, str, ibm-cert-store) Namespace of the secret diff --git a/docs/ibm_container_alb_cert_info.rst b/docs/ibm_container_alb_cert_info.rst index 034fa7a6b..fb710f3a5 100644 --- a/docs/ibm_container_alb_cert_info.rst +++ b/docs/ibm_container_alb_cert_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,6 +26,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cluster_id (True, str, None) + Cluster ID + + namespace (False, str, ibm-cert-store) Namespace of the secret @@ -34,10 +38,6 @@ Parameters Secret name - cluster_id (True, str, None) - Cluster ID - - ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_alb_info.rst b/docs/ibm_container_alb_info.rst index 9f2b3989d..becd254e1 100644 --- a/docs/ibm_container_alb_info.rst +++ b/docs/ibm_container_alb_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_api_key_reset.rst b/docs/ibm_container_api_key_reset.rst index 95cfba0e3..f0741cbb0 100644 --- a/docs/ibm_container_api_key_reset.rst +++ b/docs/ibm_container_api_key_reset.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - region (True, str, None) - (Required for new resource) Region which api key has to be reset - - resource_group_id (False, str, None) ID of Resource Group @@ -40,6 +36,10 @@ Parameters Determines if apikey has to be reset or not + region (True, str, None) + (Required for new resource) Region which api key has to be reset + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_bind_service.rst b/docs/ibm_container_bind_service.rst index db00dbfdf..19821aa61 100644 --- a/docs/ibm_container_bind_service.rst +++ b/docs/ibm_container_bind_service.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,8 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service_instance_name (False, str, None) - serivice instance name + cluster_name_id (True, str, None) + (Required for new resource) Cluster name or ID namespace_id (True, str, None) @@ -44,16 +44,16 @@ Parameters Role info - service_instance_id (False, str, None) - Service instance ID - - tags (False, list, None) List of tags for the resource - cluster_name_id (True, str, None) - (Required for new resource) Cluster name or ID + service_instance_name (False, str, None) + serivice instance name + + + service_instance_id (False, str, None) + Service instance ID resource_group_id (False, str, None) diff --git a/docs/ibm_container_bind_service_info.rst b/docs/ibm_container_bind_service_info.rst index a832f4620..fad03a551 100644 --- a/docs/ibm_container_bind_service_info.rst +++ b/docs/ibm_container_bind_service_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster.rst b/docs/ibm_container_cluster.rst index 34f85b06c..c3927d98f 100644 --- a/docs/ibm_container_cluster.rst +++ b/docs/ibm_container_cluster.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,100 +28,112 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - default_pool_size (False, int, 1) - The size of the default worker pool + name (True, str, None) + (Required for new resource) The cluster name - disk_encryption (False, bool, True) - disc encryption done, if set to true. + datacenter (True, str, None) + (Required for new resource) The datacenter where this cluster will be deployed - kube_version (False, str, None) - Kubernetes version info + default_pool_size (False, int, 1) + The size of the default worker pool - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + subnet_id (False, list, None) + List of subnet IDs + + + resource_group_id (False, str, None) + ID of the resource group. private_service_endpoint (False, bool, None) None - kms_config (False, list, None) - Enables KMS on a given cluster + public_vlan_id (False, str, None) + Public VLAN ID - gateway_enabled (False, bool, False) - Set true for gateway enabled clusters + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - machine_type (False, str, None) - Machine type + webhook (False, list, None) + None - no_subnet (False, bool, False) - Boolean value set to true when subnet creation is not required. + tags (False, list, None) + Tags for the resource - name (True, str, None) - (Required for new resource) The cluster name + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - public_vlan_id (False, str, None) - Public VLAN ID + labels (False, dict, None) + list of labels to the default worker pool - webhook (False, list, None) - None + workers_info (False, list, None) + The IDs of the worker node - public_service_endpoint (False, bool, None) - None + disk_encryption (False, bool, True) + disc encryption done, if set to true. - hardware (True, str, None) - (Required for new resource) Hardware type + patch_version (False, str, None) + Kubernetes patch version - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + machine_type (False, str, None) + Machine type - datacenter (True, str, None) - (Required for new resource) The datacenter where this cluster will be deployed + no_subnet (False, bool, False) + Boolean value set to true when subnet creation is not required. - private_vlan_id (False, str, None) - Private VLAN ID + kms_config (False, list, None) + Enables KMS on a given cluster - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods + + + gateway_enabled (False, bool, False) + Set true for gateway enabled clusters update_all_workers (False, bool, False) Updates all the woker nodes if sets to true - labels (False, dict, None) - list of labels to the default worker pool + kube_version (False, str, None) + Kubernetes version info - workers_info (False, list, None) - The IDs of the worker node + hardware (True, str, None) + (Required for new resource) Hardware type - resource_group_id (False, str, None) - ID of the resource group. + private_vlan_id (False, str, None) + Private VLAN ID - subnet_id (False, list, None) - List of subnet IDs + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters - tags (False, list, None) - Tags for the resource + service_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for services + + + public_service_endpoint (False, bool, None) + None id (False, str, None) diff --git a/docs/ibm_container_cluster_config_info.rst b/docs/ibm_container_cluster_config_info.rst index 114511c79..0324ad9e0 100644 --- a/docs/ibm_container_cluster_config_info.rst +++ b/docs/ibm_container_cluster_config_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,22 +26,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. - - config_dir (False, str, None) The directory where the cluster config to be downloaded. Default is home directory - download (False, bool, True) - If set to false will not download the config, otherwise they are downloaded each time but onto the same path for a given cluster name/id - - - cluster_name_id (True, str, None) - The name/id of the cluster - - admin (False, bool, False) If set to true will download the config for admin @@ -50,6 +38,18 @@ Parameters If set to true will download the Calico network config with the Admin config + resource_group_id (False, str, None) + ID of the resource group. + + + download (False, bool, True) + If set to false will not download the config, otherwise they are downloaded each time but onto the same path for a given cluster name/id + + + cluster_name_id (True, str, None) + The name/id of the cluster + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_cluster_feature.rst b/docs/ibm_container_cluster_feature.rst index 7a5264a53..32a5c5de5 100644 --- a/docs/ibm_container_cluster_feature.rst +++ b/docs/ibm_container_cluster_feature.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,30 +28,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. + public_service_endpoint (False, bool, None) + None - public_service_endpoint (False, bool, None) + private_service_endpoint (False, bool, None) None - reload_workers (False, bool, True) - Boolean value set true if worker nodes to be reloaded + resource_group_id (False, str, None) + ID of the resource group. cluster (True, str, None) (Required for new resource) Cluster name of ID - private_service_endpoint (False, bool, None) - None - - refresh_api_servers (False, bool, True) Boolean value true of API server to be refreshed in K8S cluster + reload_workers (False, bool, True) + Boolean value set true if worker nodes to be reloaded + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_cluster_info.rst b/docs/ibm_container_cluster_info.rst index 3a63a7c71..d04337b23 100644 --- a/docs/ibm_container_cluster_info.rst +++ b/docs/ibm_container_cluster_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,22 +26,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. - - - name (False, str, None) - Name or id of the cluster - - alb_type (False, str, all) None + resource_group_id (False, str, None) + ID of the resource group. + + list_bounded_services (False, bool, True) If set to false bounded services won't be listed. + name (False, str, None) + Name or id of the cluster + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_cluster_versions_info.rst b/docs/ibm_container_cluster_versions_info.rst index 5fc2baa44..bfd0714f9 100644 --- a/docs/ibm_container_cluster_versions_info.rst +++ b/docs/ibm_container_cluster_versions_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster_worker_info.rst b/docs/ibm_container_cluster_worker_info.rst index d206fd861..fd35aeb28 100644 --- a/docs/ibm_container_cluster_worker_info.rst +++ b/docs/ibm_container_cluster_worker_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_alb.rst b/docs/ibm_container_vpc_alb.rst index 53f5a0754..c4d0e48e9 100644 --- a/docs/ibm_container_vpc_alb.rst +++ b/docs/ibm_container_vpc_alb.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - disable_deployment (False, bool, None) - Disable the ALB instance in the cluster - - alb_id (True, str, None) (Required for new resource) ALB ID @@ -40,6 +36,10 @@ Parameters Enable the ALB instance in the cluster + disable_deployment (False, bool, None) + Disable the ALB instance in the cluster + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_vpc_alb_info.rst b/docs/ibm_container_vpc_alb_info.rst index b0bb1f5d8..58166cd93 100644 --- a/docs/ibm_container_vpc_alb_info.rst +++ b/docs/ibm_container_vpc_alb_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_cluster.rst b/docs/ibm_container_vpc_cluster.rst index 22f269075..19da642d8 100644 --- a/docs/ibm_container_vpc_cluster.rst +++ b/docs/ibm_container_vpc_cluster.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,26 +28,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The cluster name - - - kms_config (False, list, None) - Enables KMS on a given cluster + tags (False, list, None) + List of tags for the resources - kube_version (False, str, None) - Kubernetes version + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered disable_public_service_endpoint (False, bool, False) Boolean value true if Public service endpoint to be disabled - cos_instance_crn (False, str, None) - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster - - worker_count (False, int, 1) Number of worker nodes in the cluster @@ -56,52 +48,64 @@ Parameters Labels for default worker pool - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + flavor (True, str, None) + (Required for new resource) Cluster nodes flavour - update_all_workers (False, bool, False) - Updates all the woker nodes if sets to true + kms_config (False, list, None) + Enables KMS on a given cluster - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready or Ingress Ready vpc_id (True, str, None) (Required for new resource) The vpc id where the cluster is - tags (False, list, None) - List of tags for the resources + update_all_workers (False, bool, False) + Updates all the woker nodes if sets to true + + + zones (True, list, None) + (Required for new resource) Zone info + + + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters + + + patch_version (False, str, None) + Kubernetes patch version service_subnet (False, str, None) Custom subnet CIDR to provide private IP addresses for services - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + name (True, str, None) + (Required for new resource) The cluster name - zones (True, list, None) - (Required for new resource) Zone info + kube_version (False, str, None) + Kubernetes version resource_group_id (False, str, None) ID of the resource group. - flavor (True, str, None) - (Required for new resource) Cluster nodes flavour + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - pod_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for pods + cos_instance_crn (False, str, None) + A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods id (False, str, None) diff --git a/docs/ibm_container_vpc_cluster_alb_info.rst b/docs/ibm_container_vpc_cluster_alb_info.rst index 5af6c66ca..56eb6eb0d 100644 --- a/docs/ibm_container_vpc_cluster_alb_info.rst +++ b/docs/ibm_container_vpc_cluster_alb_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_cluster_info.rst b/docs/ibm_container_vpc_cluster_info.rst index 5d9e9d9ca..8bfb83def 100644 --- a/docs/ibm_container_vpc_cluster_info.rst +++ b/docs/ibm_container_vpc_cluster_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,10 +26,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. - - name (False, str, None) Name or id of the cluster @@ -38,6 +34,10 @@ Parameters None + resource_group_id (False, str, None) + ID of the resource group. + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_vpc_cluster_worker_info.rst b/docs/ibm_container_vpc_cluster_worker_info.rst index 5694b7741..cbabd4c5b 100644 --- a/docs/ibm_container_vpc_cluster_worker_info.rst +++ b/docs/ibm_container_vpc_cluster_worker_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -30,14 +30,14 @@ Parameters Name or ID of the cluster - resource_group_id (False, str, None) - ID of the resource group. - - worker_id (True, str, None) ID of the worker + resource_group_id (False, str, None) + ID of the resource group. + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_vpc_cluster_worker_pool_info.rst b/docs/ibm_container_vpc_cluster_worker_pool_info.rst index 887ea71e1..77bc4c1fe 100644 --- a/docs/ibm_container_vpc_cluster_worker_pool_info.rst +++ b/docs/ibm_container_vpc_cluster_worker_pool_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_worker_pool.rst b/docs/ibm_container_vpc_worker_pool.rst index 3ec911a72..cebf82dc1 100644 --- a/docs/ibm_container_vpc_worker_pool.rst +++ b/docs/ibm_container_vpc_worker_pool.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,16 +28,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - flavor (True, str, None) - (Required for new resource) cluster node falvor + resource_group_id (False, str, None) + ID of the resource group. + + + vpc_id (True, str, None) + (Required for new resource) The vpc id where the cluster is + + + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters zones (True, list, None) (Required for new resource) Zones info - cluster (True, str, None) - (Required for new resource) Cluster name + flavor (True, str, None) + (Required for new resource) cluster node falvor worker_pool_name (True, str, None) @@ -48,20 +56,12 @@ Parameters Labels - resource_group_id (False, str, None) - ID of the resource group. - - - vpc_id (True, str, None) - (Required for new resource) The vpc id where the cluster is - - worker_count (True, int, None) (Required for new resource) The number of workers - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + cluster (True, str, None) + (Required for new resource) Cluster name id (False, str, None) diff --git a/docs/ibm_container_vpc_worker_pool_info.rst b/docs/ibm_container_vpc_worker_pool_info.rst index c8d399543..b819d5d7e 100644 --- a/docs/ibm_container_vpc_worker_pool_info.rst +++ b/docs/ibm_container_vpc_worker_pool_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - Cluster name - - worker_pool_name (True, str, None) worker pool name + cluster (True, str, None) + Cluster name + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_worker_pool.rst b/docs/ibm_container_worker_pool.rst index de40a9ac8..1e6abf3c2 100644 --- a/docs/ibm_container_worker_pool.rst +++ b/docs/ibm_container_worker_pool.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,16 +28,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - worker_pool_name (True, str, None) - (Required for new resource) worker pool name + machine_type (True, str, None) + (Required for new resource) worker nodes machine type size_per_zone (True, int, None) (Required for new resource) Number of nodes per zone - disk_encryption (False, bool, True) - worker node disk encrypted if set to true + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters + + + hardware (False, str, shared) + Hardware type labels (False, dict, None) @@ -52,16 +56,12 @@ Parameters (Required for new resource) Cluster name - machine_type (True, str, None) - (Required for new resource) worker nodes machine type - - - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + worker_pool_name (True, str, None) + (Required for new resource) worker pool name - hardware (False, str, shared) - Hardware type + disk_encryption (False, bool, True) + worker node disk encrypted if set to true id (False, str, None) diff --git a/docs/ibm_container_worker_pool_info.rst b/docs/ibm_container_worker_pool_info.rst index 56fed3834..63f449085 100644 --- a/docs/ibm_container_worker_pool_info.rst +++ b/docs/ibm_container_worker_pool_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - Name or ID of the cluster - - worker_pool_name (True, str, None) worker pool name + cluster (True, str, None) + Name or ID of the cluster + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_worker_pool_zone_attachment.rst b/docs/ibm_container_worker_pool_zone_attachment.rst index ad9498359..dd6771c9e 100644 --- a/docs/ibm_container_worker_pool_zone_attachment.rst +++ b/docs/ibm_container_worker_pool_zone_attachment.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,12 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) Zone name - - - worker_pool (True, str, None) - (Required for new resource) Workerpool name + private_vlan_id (False, str, None) + None public_vlan_id (False, str, None) @@ -44,12 +40,16 @@ Parameters wait_till_albs can be configured to wait for albs during the worker pool zone attachment. + zone (True, str, None) + (Required for new resource) Zone name + + cluster (True, str, None) (Required for new resource) cluster name or ID - private_vlan_id (False, str, None) - None + worker_pool (True, str, None) + (Required for new resource) Workerpool name resource_group_id (False, str, None) diff --git a/docs/ibm_cos_bucket.rst b/docs/ibm_cos_bucket.rst index 54f937d1b..444f5bd8c 100644 --- a/docs/ibm_cos_bucket.rst +++ b/docs/ibm_cos_bucket.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,60 +28,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key_protect (False, str, None) - CRN of the key you want to use data at rest encryption + resource_instance_id (True, str, None) + (Required for new resource) resource instance ID - expire_rule (False, list, None) - Enable configuration expire_rule to COS Bucket after a defined period of time + cross_region_location (False, str, None) + Cros region location info bucket_name (True, str, None) (Required for new resource) COS Bucket name - allowed_ip (False, list, None) - List of IPv4 or IPv6 addresses - - - metrics_monitoring (False, list, None) - Enables sending metrics to IBM Cloud Monitoring. + single_site_location (False, str, None) + single site location info - archive_rule (False, list, None) - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time + storage_class (True, str, None) + (Required for new resource) Storage class info - region_location (False, str, None) - Region Location info. + expire_rule (False, list, None) + Enable configuration expire_rule to COS Bucket after a defined period of time - cross_region_location (False, str, None) - Cros region location info + key_protect (False, str, None) + CRN of the key you want to use data at rest encryption - storage_class (True, str, None) - (Required for new resource) Storage class info + region_location (False, str, None) + Region Location info. - resource_instance_id (True, str, None) - (Required for new resource) resource instance ID + force_delete (False, bool, True) + COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. - single_site_location (False, str, None) - single site location info + archive_rule (False, list, None) + Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time endpoint_type (False, str, public) public or private + allowed_ip (False, list, None) + List of IPv4 or IPv6 addresses + + activity_tracking (False, list, None) Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events - force_delete (False, bool, True) - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + metrics_monitoring (False, list, None) + Enables sending metrics to IBM Cloud Monitoring. id (False, str, None) diff --git a/docs/ibm_cos_bucket_info.rst b/docs/ibm_cos_bucket_info.rst index 2dd5cc789..730892a60 100644 --- a/docs/ibm_cos_bucket_info.rst +++ b/docs/ibm_cos_bucket_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -30,7 +30,7 @@ Parameters None - bucket_name (True, str, None) + bucket_region (True, str, None) None @@ -38,11 +38,11 @@ Parameters public or private - resource_instance_id (True, str, None) + bucket_name (True, str, None) None - bucket_region (True, str, None) + resource_instance_id (True, str, None) None diff --git a/docs/ibm_cr_namespace.rst b/docs/ibm_cr_namespace.rst index c16c2aed8..8f416a90d 100644 --- a/docs/ibm_cr_namespace.rst +++ b/docs/ibm_cr_namespace.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_cr_namespaces_info.rst b/docs/ibm_cr_namespaces_info.rst index eeed2800f..efa9ad69d 100644 --- a/docs/ibm_cr_namespaces_info.rst +++ b/docs/ibm_cr_namespaces_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_database.rst b/docs/ibm_database.rst index b64dc7057..87d3dcae3 100644 --- a/docs/ibm_database.rst +++ b/docs/ibm_database.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,92 +28,92 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service (True, str, None) - (Required for new resource) The name of the Cloud Internet database service + name (True, str, None) + (Required for new resource) Resource instance name for example, my Database instance - adminpassword (False, str, None) - The admin user password for the instance + plan (True, str, None) + (Required for new resource) The plan type of the Database instance - members_memory_allocation_mb (False, int, None) - Memory allocation required for cluster + version (False, str, None) + The database version to provision if specified - point_in_time_recovery_time (False, str, None) - The point in time recovery time stamp of the deployed instance + location (True, str, None) + (Required for new resource) The location or the region in which Database instance exists - whitelist (False, list, None) + service_endpoints (False, str, public) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + + + tags (False, list, None) None - name (True, str, None) - (Required for new resource) Resource instance name for example, my Database instance + whitelist (False, list, None) + None - location (True, str, None) - (Required for new resource) The location or the region in which Database instance exists + resource_group_id (False, str, None) + The id of the resource group in which the Database instance is present - plan (True, str, None) - (Required for new resource) The plan type of the Database instance + service (True, str, None) + (Required for new resource) The name of the Cloud Internet database service - members_disk_allocation_mb (False, int, None) - Disk allocation required for cluster + remote_leader_id (False, str, None) + The CRN of leader database - backup_encryption_key_crn (False, str, None) - The Backup Encryption Key CRN + auto_scaling (False, list, None) + ICD Auto Scaling - tags (False, list, None) - None + key_protect_key (False, str, None) + The CRN of Key protect key - users (False, list, None) - None + members_memory_allocation_mb (False, int, None) + Memory allocation required for cluster - key_protect_instance (False, str, None) - The CRN of Key protect instance + members_cpu_allocation_count (False, int, None) + CPU allocation required for cluster point_in_time_recovery_deployment_id (False, str, None) The CRN of source instance - resource_group_id (False, str, None) - The id of the resource group in which the Database instance is present + point_in_time_recovery_time (False, str, None) + The point in time recovery time stamp of the deployed instance - version (False, str, None) - The database version to provision if specified + users (False, list, None) + None - members_cpu_allocation_count (False, int, None) - CPU allocation required for cluster + adminpassword (False, str, None) + The admin user password for the instance - service_endpoints (False, str, public) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + members_disk_allocation_mb (False, int, None) + Disk allocation required for cluster backup_id (False, str, None) The CRN of backup source database - remote_leader_id (False, str, None) - The CRN of leader database - - - key_protect_key (False, str, None) - The CRN of Key protect key + key_protect_instance (False, str, None) + The CRN of Key protect instance - auto_scaling (False, list, None) - ICD Auto Scaling + backup_encryption_key_crn (False, str, None) + The Backup Encryption Key CRN id (False, str, None) diff --git a/docs/ibm_database_info.rst b/docs/ibm_database_info.rst index ee964d707..6666019dd 100644 --- a/docs/ibm_database_info.rst +++ b/docs/ibm_database_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,24 +26,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (False, str, None) - The location or the region in which the Database instance exists + service (False, str, None) + The name of the Cloud Internet database service tags (False, list, None) None - name (True, str, None) - Resource instance name for example, my Database instance + resource_group_id (False, str, None) + The id of the resource group in which the Database instance is present - service (False, str, None) - The name of the Cloud Internet database service + name (True, str, None) + Resource instance name for example, my Database instance - resource_group_id (False, str, None) - The id of the resource group in which the Database instance is present + location (False, str, None) + The location or the region in which the Database instance exists iaas_classic_username (False, any, None) diff --git a/docs/ibm_dl_gateway.rst b/docs/ibm_dl_gateway.rst index 0c246dcb4..e3db00ecb 100644 --- a/docs/ibm_dl_gateway.rst +++ b/docs/ibm_dl_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,76 +28,76 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bgp_cer_cidr (False, str, None) - BGP customer edge router CIDR - - - bgp_ibm_cidr (False, str, None) - BGP IBM CIDR - - - tags (False, list, None) - Tags for the direct link gateway + bgp_base_cidr (False, str, None) + BGP base CIDR - name (True, str, None) - (Required for new resource) The unique user-defined name for this gateway + metered (True, bool, None) + (Required for new resource) Metered billing option - bgp_base_cidr (False, str, None) - BGP base CIDR + speed_mbps (True, int, None) + (Required for new resource) Gateway speed in megabits per second - global_ (True, bool, None) - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + customer_name (False, str, None) + Customer name - location_name (False, str, None) - Gateway location + macsec_config (False, list, None) + MACsec configuration information - metered (True, bool, None) - (Required for new resource) Metered billing option + bgp_ibm_cidr (False, str, None) + BGP IBM CIDR - bgp_asn (True, int, None) - (Required for new resource) BGP ASN + resource_group (False, str, None) + Gateway resource group port (False, str, None) Gateway port - cross_connect_router (False, str, None) - Cross connect router + global_ (True, bool, None) + (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region carrier_name (False, str, None) Carrier name + cross_connect_router (False, str, None) + Cross connect router + + loa_reject_reason (False, str, None) Loa reject reason - customer_name (False, str, None) - Customer name + name (True, str, None) + (Required for new resource) The unique user-defined name for this gateway - speed_mbps (True, int, None) - (Required for new resource) Gateway speed in megabits per second + tags (False, list, None) + Tags for the direct link gateway - type (True, str, None) - (Required for new resource) Gateway type + bgp_cer_cidr (False, str, None) + BGP customer edge router CIDR - macsec_config (False, list, None) - MACsec configuration information + bgp_asn (True, int, None) + (Required for new resource) BGP ASN - resource_group (False, str, None) - Gateway resource group + location_name (False, str, None) + Gateway location + + + type (True, str, None) + (Required for new resource) Gateway type id (False, str, None) diff --git a/docs/ibm_dl_gateway_info.rst b/docs/ibm_dl_gateway_info.rst index 377c6256d..d1f528c88 100644 --- a/docs/ibm_dl_gateway_info.rst +++ b/docs/ibm_dl_gateway_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateways_info.rst b/docs/ibm_dl_gateways_info.rst index 8c002ac41..15a0dca3e 100644 --- a/docs/ibm_dl_gateways_info.rst +++ b/docs/ibm_dl_gateways_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_locations_info.rst b/docs/ibm_dl_locations_info.rst index b8a5c2ca6..ca829a2ab 100644 --- a/docs/ibm_dl_locations_info.rst +++ b/docs/ibm_dl_locations_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_offering_speeds_info.rst b/docs/ibm_dl_offering_speeds_info.rst index f3ab6bc6b..3ce39049a 100644 --- a/docs/ibm_dl_offering_speeds_info.rst +++ b/docs/ibm_dl_offering_speeds_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_port_info.rst b/docs/ibm_dl_port_info.rst index 9beccc17a..05ab25f3f 100644 --- a/docs/ibm_dl_port_info.rst +++ b/docs/ibm_dl_port_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_ports_info.rst b/docs/ibm_dl_ports_info.rst index 19cce61b2..722bca9b1 100644 --- a/docs/ibm_dl_ports_info.rst +++ b/docs/ibm_dl_ports_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,6 +26,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + location_name (False, str, None) + Direct Link location short name + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_dl_provider_gateway.rst b/docs/ibm_dl_provider_gateway.rst index a0b1ff521..44e98c221 100644 --- a/docs/ibm_dl_provider_gateway.rst +++ b/docs/ibm_dl_provider_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,18 +28,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The unique user-defined name for this gateway + tags (False, list, None) + Tags for the direct link gateway - customer_account_id (True, str, None) - (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. + bgp_asn (True, int, None) + (Required for new resource) BGP ASN bgp_cer_cidr (False, str, None) BGP customer edge router CIDR + speed_mbps (True, int, None) + (Required for new resource) Gateway speed in megabits per second + + bgp_ibm_cidr (False, str, None) BGP IBM CIDR @@ -48,16 +52,12 @@ Parameters (Required for new resource) Gateway port - tags (False, list, None) - Tags for the direct link gateway - - - bgp_asn (True, int, None) - (Required for new resource) BGP ASN + customer_account_id (True, str, None) + (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. - speed_mbps (True, int, None) - (Required for new resource) Gateway speed in megabits per second + name (True, str, None) + (Required for new resource) The unique user-defined name for this gateway id (False, str, None) diff --git a/docs/ibm_dl_provider_gateways_info.rst b/docs/ibm_dl_provider_gateways_info.rst index 5198523a3..d0a753069 100644 --- a/docs/ibm_dl_provider_gateways_info.rst +++ b/docs/ibm_dl_provider_gateways_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_ports_info.rst b/docs/ibm_dl_provider_ports_info.rst index 1163bc1f0..4b028e145 100644 --- a/docs/ibm_dl_provider_ports_info.rst +++ b/docs/ibm_dl_provider_ports_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_routers_info.rst b/docs/ibm_dl_routers_info.rst index 0ebe5cc48..f4a71111a 100644 --- a/docs/ibm_dl_routers_info.rst +++ b/docs/ibm_dl_routers_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_virtual_connection.rst b/docs/ibm_dl_virtual_connection.rst index ab3defd25..307808fa9 100644 --- a/docs/ibm_dl_virtual_connection.rst +++ b/docs/ibm_dl_virtual_connection.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain.rst b/docs/ibm_dns_domain.rst index 37faabb90..b9a9a29a0 100644 --- a/docs/ibm_dns_domain.rst +++ b/docs/ibm_dns_domain.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_info.rst b/docs/ibm_dns_domain_info.rst index 331451c5d..5c4cec984 100644 --- a/docs/ibm_dns_domain_info.rst +++ b/docs/ibm_dns_domain_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_info.rst b/docs/ibm_dns_domain_registration_info.rst index 1c4f5d2f4..543a6e072 100644 --- a/docs/ibm_dns_domain_registration_info.rst +++ b/docs/ibm_dns_domain_registration_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_nameservers.rst b/docs/ibm_dns_domain_registration_nameservers.rst index edbe68d3f..e311c3e80 100644 --- a/docs/ibm_dns_domain_registration_nameservers.rst +++ b/docs/ibm_dns_domain_registration_nameservers.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glb.rst b/docs/ibm_dns_glb.rst index 1615e8173..634030cd3 100644 --- a/docs/ibm_dns_glb.rst +++ b/docs/ibm_dns_glb.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,8 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - default_pools (True, list, None) - (Required for new resource) A list of pool IDs ordered by their failover priority + zone_id (True, str, None) + (Required for new resource) Zone Id name (True, str, None) @@ -40,6 +40,10 @@ Parameters Whether the load balancer is enabled + ttl (False, int, 60) + Time to live in second + + fallback_pool (True, str, None) (Required for new resource) The pool ID to use when all other pools are detected as unhealthy @@ -48,16 +52,12 @@ Parameters (Required for new resource) The GUID of the private DNS. - zone_id (True, str, None) - (Required for new resource) Zone Id - - description (False, str, None) Descriptive text of the load balancer - ttl (False, int, 60) - Time to live in second + default_pools (True, list, None) + (Required for new resource) A list of pool IDs ordered by their failover priority az_pools (False, list, None) diff --git a/docs/ibm_dns_glb_monitor.rst b/docs/ibm_dns_glb_monitor.rst index c31bdc6bc..55ba8374a 100644 --- a/docs/ibm_dns_glb_monitor.rst +++ b/docs/ibm_dns_glb_monitor.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,62 +28,62 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - (Required for new resource) Instance Id + type (False, str, HTTP) + The protocol to use for the health check + + + port (False, int, None) + Port number to connect to for the health check retries (False, int, 1) The number of retries to attempt in case of a timeout before marking the origin as unhealthy + path (False, str, None) + The endpoint path to health check against + + expected_codes (False, str, None) The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS - interval (False, int, 60) - The interval between each health check + timeout (False, int, 5) + The timeout (in seconds) before marking the health check as failed method (False, str, None) The method to use for the health check - path (False, str, None) - The endpoint path to health check against - - allow_insecure (False, bool, None) Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. - type (False, str, HTTP) - The protocol to use for the health check + instance_id (True, str, None) + (Required for new resource) Instance Id - port (False, int, None) - Port number to connect to for the health check + interval (False, int, 60) + The interval between each health check - headers (False, list, None) - The HTTP request headers to send in the health check + name (True, str, None) + (Required for new resource) The unique identifier of a service instance. description (False, str, None) Descriptive text of the load balancer monitor - timeout (False, int, 5) - The timeout (in seconds) before marking the health check as failed + headers (False, list, None) + The HTTP request headers to send in the health check expected_body (False, str, None) A case-insensitive sub-string to look for in the response body - name (True, str, None) - (Required for new resource) The unique identifier of a service instance. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_glb_monitors_info.rst b/docs/ibm_dns_glb_monitors_info.rst index b35e12363..eec2610aa 100644 --- a/docs/ibm_dns_glb_monitors_info.rst +++ b/docs/ibm_dns_glb_monitors_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glb_pool.rst b/docs/ibm_dns_glb_pool.rst index 4557c468c..87d084ec3 100644 --- a/docs/ibm_dns_glb_pool.rst +++ b/docs/ibm_dns_glb_pool.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,44 +28,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - (Required for new resource) Instance Id - - - name (True, str, None) - (Required for new resource) The unique identifier of a service instance. - - - healthy_origins_threshold (False, int, None) - The minimum number of origins that must be healthy for this pool to serve traffic - - monitor (False, str, None) The ID of the load balancer monitor to be associated to this pool - healthcheck_region (False, str, None) - Health check region of VSIs + instance_id (True, str, None) + (Required for new resource) Instance Id description (False, str, None) Descriptive text of the load balancer pool - notification_channel (False, str, None) - The notification channel,It is a webhook url + healthcheck_subnets (False, list, None) + Health check subnet crn of VSIs enabled (False, bool, None) Whether the load balancer pool is enabled + name (True, str, None) + (Required for new resource) The unique identifier of a service instance. + + + healthy_origins_threshold (False, int, None) + The minimum number of origins that must be healthy for this pool to serve traffic + + origins (True, list, None) (Required for new resource) Origins info - healthcheck_subnets (False, list, None) - Health check subnet crn of VSIs + notification_channel (False, str, None) + The notification channel,It is a webhook url + + + healthcheck_region (False, str, None) + Health check region of VSIs id (False, str, None) diff --git a/docs/ibm_dns_glb_pools_info.rst b/docs/ibm_dns_glb_pools_info.rst index 31e0fea51..387ce0d94 100644 --- a/docs/ibm_dns_glb_pools_info.rst +++ b/docs/ibm_dns_glb_pools_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glbs_info.rst b/docs/ibm_dns_glbs_info.rst index 2cf3ad5f2..7a04aca9e 100644 --- a/docs/ibm_dns_glbs_info.rst +++ b/docs/ibm_dns_glbs_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_permitted_network.rst b/docs/ibm_dns_permitted_network.rst index 2cea40285..28ad72934 100644 --- a/docs/ibm_dns_permitted_network.rst +++ b/docs/ibm_dns_permitted_network.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - (Required for new resource) Instance Id - - - zone_id (True, str, None) - (Required for new resource) Zone Id - - type (False, str, vpc) Network Type @@ -44,6 +36,14 @@ Parameters (Required for new resource) VPC CRN id + instance_id (True, str, None) + (Required for new resource) Instance Id + + + zone_id (True, str, None) + (Required for new resource) Zone Id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_permitted_networks_info.rst b/docs/ibm_dns_permitted_networks_info.rst index 6b0c3c9e7..e35f74e5a 100644 --- a/docs/ibm_dns_permitted_networks_info.rst +++ b/docs/ibm_dns_permitted_networks_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - Instance ID - - zone_id (True, str, None) Zone ID + instance_id (True, str, None) + Instance ID + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_dns_record.rst b/docs/ibm_dns_record.rst index 632809485..9e4ee344d 100644 --- a/docs/ibm_dns_record.rst +++ b/docs/ibm_dns_record.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,74 +28,74 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - host (True, str, None) - (Required for new resource) Hostname + domain_id (True, int, None) + (Required for new resource) Domain ID of dns record instance - ttl (True, int, None) - (Required for new resource) TTL configuration + refresh (False, int, None) + refresh rate - protocol (False, str, None) - protocol info + responsible_person (False, str, None) + Responsible person for DNS record - minimum_ttl (False, int, None) - Minimun TTL configuration + retry (False, int, None) + Retry count service (False, str, None) service info - priority (False, int, 0) - priority info - - - tags (False, list, None) - tags set for the resource - - data (True, str, None) (Required for new resource) DNS record data - expire (False, int, None) - DNS record expiry info + minimum_ttl (False, int, None) + Minimun TTL configuration - mx_priority (False, int, 0) - Maximum priority + ttl (True, int, None) + (Required for new resource) TTL configuration - weight (False, int, 0) - weight info + priority (False, int, 0) + priority info - domain_id (True, int, None) - (Required for new resource) Domain ID of dns record instance + expire (False, int, None) + DNS record expiry info - retry (False, int, None) - Retry count + mx_priority (False, int, 0) + Maximum priority type (True, str, None) (Required for new resource) DNS record type - refresh (False, int, None) - refresh rate + host (True, str, None) + (Required for new resource) Hostname - responsible_person (False, str, None) - Responsible person for DNS record + protocol (False, str, None) + protocol info port (False, int, None) port number + weight (False, int, 0) + weight info + + + tags (False, list, None) + tags set for the resource + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_resource_record.rst b/docs/ibm_dns_resource_record.rst index 07c67172a..d08962ad2 100644 --- a/docs/ibm_dns_resource_record.rst +++ b/docs/ibm_dns_resource_record.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,52 +28,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - rdata (True, str, None) - (Required for new resource) DNS record Data - - - weight (False, int, 0) - DNS server weight - - service (False, str, None) Service info - instance_id (True, str, None) - (Required for new resource) Instance ID - - - type (True, str, None) - (Required for new resource) DNS record Type - - - ttl (False, int, 900) - DNS record TTL - - preference (False, int, 0) DNS maximum preference + rdata (True, str, None) + (Required for new resource) DNS record Data + + port (False, int, None) DNS server Port - priority (False, int, 0) - DNS server Priority + weight (False, int, 0) + DNS server weight zone_id (True, str, None) (Required for new resource) Zone ID + name (True, str, None) + (Required for new resource) DNS record name + + + priority (False, int, 0) + DNS server Priority + + protocol (False, str, None) Protocol - name (True, str, None) - (Required for new resource) DNS record name + instance_id (True, str, None) + (Required for new resource) Instance ID + + + type (True, str, None) + (Required for new resource) DNS record Type + + + ttl (False, int, 900) + DNS record TTL id (False, str, None) diff --git a/docs/ibm_dns_resource_records_info.rst b/docs/ibm_dns_resource_records_info.rst index edb6d5e09..123010af2 100644 --- a/docs/ibm_dns_resource_records_info.rst +++ b/docs/ibm_dns_resource_records_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_reverse_record.rst b/docs/ibm_dns_reverse_record.rst index a6eb7ccef..6c98e2aa0 100644 --- a/docs/ibm_dns_reverse_record.rst +++ b/docs/ibm_dns_reverse_record.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ipaddress (True, str, None) - (Required for new resource) IP Address - - hostname (True, str, None) (Required for new resource) Host name @@ -40,6 +36,10 @@ Parameters TTL value + ipaddress (True, str, None) + (Required for new resource) IP Address + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_secondary.rst b/docs/ibm_dns_secondary.rst index 53d39964e..e18536949 100644 --- a/docs/ibm_dns_secondary.rst +++ b/docs/ibm_dns_secondary.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_secondary_info.rst b/docs/ibm_dns_secondary_info.rst index a028d4971..541e0a98a 100644 --- a/docs/ibm_dns_secondary_info.rst +++ b/docs/ibm_dns_secondary_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_zone.rst b/docs/ibm_dns_zone.rst index 195271fb3..367890539 100644 --- a/docs/ibm_dns_zone.rst +++ b/docs/ibm_dns_zone.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_zones_info.rst b/docs/ibm_dns_zones_info.rst index 6f43a633c..c59997c53 100644 --- a/docs/ibm_dns_zones_info.rst +++ b/docs/ibm_dns_zones_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_topic.rst b/docs/ibm_event_streams_topic.rst index 9d7e548ad..1e5801448 100644 --- a/docs/ibm_event_streams_topic.rst +++ b/docs/ibm_event_streams_topic.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + partitions (False, int, 1) + The number of partitions + + config (False, dict, None) The configuration parameters of a topic @@ -40,10 +44,6 @@ Parameters (Required for new resource) The name of the topic - partitions (False, int, 1) - The number of partitions - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_event_streams_topic_info.rst b/docs/ibm_event_streams_topic_info.rst index fa41f19fb..495f23f5f 100644 --- a/docs/ibm_event_streams_topic_info.rst +++ b/docs/ibm_event_streams_topic_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - The name of the topic - - resource_instance_id (True, str, None) The CRN of the Event Streams instance + name (True, str, None) + The name of the topic + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_firewall.rst b/docs/ibm_firewall.rst index b382e4860..9108366a3 100644 --- a/docs/ibm_firewall.rst +++ b/docs/ibm_firewall.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_firewall_policy.rst b/docs/ibm_firewall_policy.rst index 4349d9bc1..92d4d3316 100644 --- a/docs/ibm_firewall_policy.rst +++ b/docs/ibm_firewall_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_action.rst b/docs/ibm_function_action.rst index f089a103a..10c17712f 100644 --- a/docs/ibm_function_action.rst +++ b/docs/ibm_function_action.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. + + + exec (True, list, None) + (Required for new resource) Execution info + + + user_defined_annotations (False, str, []) + Annotation values in KEY VALUE format. + + user_defined_parameters (False, str, []) Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. @@ -40,22 +52,10 @@ Parameters None - exec (True, list, None) - (Required for new resource) Execution info - - publish (False, bool, None) Action visibilty. - user_defined_annotations (False, str, []) - Annotation values in KEY VALUE format. - - - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_action_info.rst b/docs/ibm_function_action_info.rst index 4ed080808..d3912fe30 100644 --- a/docs/ibm_function_action_info.rst +++ b/docs/ibm_function_action_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - namespace (True, str, None) - Name of the namespace. - - name (True, str, None) Name of action. + namespace (True, str, None) + Name of the namespace. + + function_namespace (True, any, None) The namespace in IBM Cloud™ Functions where you want to create your resources. This can also be provided via the environment variable 'FUNCTION_NAMESPACE'. diff --git a/docs/ibm_function_namespace.rst b/docs/ibm_function_namespace.rst index 1747a0da2..0f4ad7630 100644 --- a/docs/ibm_function_namespace.rst +++ b/docs/ibm_function_namespace.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_namespace_info.rst b/docs/ibm_function_namespace_info.rst index 4f7f871ef..7ab9110e1 100644 --- a/docs/ibm_function_namespace_info.rst +++ b/docs/ibm_function_namespace_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_package.rst b/docs/ibm_function_package.rst index 29ecfbd9f..85188c775 100644 --- a/docs/ibm_function_package.rst +++ b/docs/ibm_function_package.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,8 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - publish (False, bool, False) - Package visibilty. + user_defined_annotations (False, str, []) + Annotation values in KEY VALUE format. user_defined_parameters (False, str, []) @@ -48,8 +48,8 @@ Parameters (Required for new resource) Name of package. - user_defined_annotations (False, str, []) - Annotation values in KEY VALUE format. + publish (False, bool, False) + Package visibilty. id (False, str, None) diff --git a/docs/ibm_function_package_info.rst b/docs/ibm_function_package_info.rst index 1a34c7942..55100c17f 100644 --- a/docs/ibm_function_package_info.rst +++ b/docs/ibm_function_package_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_rule.rst b/docs/ibm_function_rule.rst index 38ea4a2a3..f99c0c373 100644 --- a/docs/ibm_function_rule.rst +++ b/docs/ibm_function_rule.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. - - name (True, str, None) (Required for new resource) Name of rule. @@ -44,6 +40,10 @@ Parameters (Required for new resource) Name of action. + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_rule_info.rst b/docs/ibm_function_rule_info.rst index 28d537ad3..2553a9627 100644 --- a/docs/ibm_function_rule_info.rst +++ b/docs/ibm_function_rule_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Name of the rule. - - namespace (True, str, None) Name of the namespace. + name (True, str, None) + Name of the rule. + + function_namespace (True, any, None) The namespace in IBM Cloud™ Functions where you want to create your resources. This can also be provided via the environment variable 'FUNCTION_NAMESPACE'. diff --git a/docs/ibm_function_trigger.rst b/docs/ibm_function_trigger.rst index 91cab0d9f..69b67ccb2 100644 --- a/docs/ibm_function_trigger.rst +++ b/docs/ibm_function_trigger.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,24 +28,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of Trigger. + user_defined_annotations (False, str, []) + Annotation values in KEY VALUE format. - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. + user_defined_parameters (False, str, []) + Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. - feed (False, list, None) - Trigger feed + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. - user_defined_annotations (False, str, []) - Annotation values in KEY VALUE format. + name (True, str, None) + (Required for new resource) Name of Trigger. - user_defined_parameters (False, str, []) - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. + feed (False, list, None) + Trigger feed id (False, str, None) diff --git a/docs/ibm_function_trigger_info.rst b/docs/ibm_function_trigger_info.rst index e7c9e3fb1..3fb2debeb 100644 --- a/docs/ibm_function_trigger_info.rst +++ b/docs/ibm_function_trigger_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_hardware_firewall_shared.rst b/docs/ibm_hardware_firewall_shared.rst index b3cfb8bbb..7c1acd89e 100644 --- a/docs/ibm_hardware_firewall_shared.rst +++ b/docs/ibm_hardware_firewall_shared.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group.rst b/docs/ibm_iam_access_group.rst index 2291f7123..297f494f9 100644 --- a/docs/ibm_iam_access_group.rst +++ b/docs/ibm_iam_access_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_dynamic_rule.rst b/docs/ibm_iam_access_group_dynamic_rule.rst index 4611a9f7a..34dd05373 100644 --- a/docs/ibm_iam_access_group_dynamic_rule.rst +++ b/docs/ibm_iam_access_group_dynamic_rule.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + expiration (True, int, None) + (Required for new resource) The expiration in hours + + + identity_provider (True, str, None) + (Required for new resource) The realm name or identity proivider url + + conditions (True, list, None) (Required for new resource) conditions info @@ -40,14 +48,6 @@ Parameters (Required for new resource) The name of the Rule - expiration (True, int, None) - (Required for new resource) The expiration in hours - - - identity_provider (True, str, None) - (Required for new resource) The realm name or identity proivider url - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_access_group_info.rst b/docs/ibm_iam_access_group_info.rst index e3fc28207..1a84fde1a 100644 --- a/docs/ibm_iam_access_group_info.rst +++ b/docs/ibm_iam_access_group_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_members.rst b/docs/ibm_iam_access_group_members.rst index 6099f0ee7..cd3f07bd2 100644 --- a/docs/ibm_iam_access_group_members.rst +++ b/docs/ibm_iam_access_group_members.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_policy.rst b/docs/ibm_iam_access_group_policy.rst index d924fff6a..aec4f86c4 100644 --- a/docs/ibm_iam_access_group_policy.rst +++ b/docs/ibm_iam_access_group_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + access_group_id (True, str, None) + (Required for new resource) ID of access group + + + roles (True, list, None) + (Required for new resource) Role names of the policy definition + + resources (False, list, None) None @@ -40,14 +48,6 @@ Parameters None - access_group_id (True, str, None) - (Required for new resource) ID of access group - - - roles (True, list, None) - (Required for new resource) Role names of the policy definition - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_auth_token_info.rst b/docs/ibm_iam_auth_token_info.rst index e0eed5567..38c96832b 100644 --- a/docs/ibm_iam_auth_token_info.rst +++ b/docs/ibm_iam_auth_token_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policy.rst b/docs/ibm_iam_authorization_policy.rst index c127d4f48..1e7fd1892 100644 --- a/docs/ibm_iam_authorization_policy.rst +++ b/docs/ibm_iam_authorization_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,34 +28,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target_resource_type (False, str, None) - Resource type of target service - - source_service_name (True, str, None) (Required for new resource) The source service name - roles (True, list, None) - (Required for new resource) Role names of the policy definition - - - source_resource_instance_id (False, str, None) - The source resource instance Id - - source_resource_group_id (False, str, None) The source resource group Id - source_service_account (False, str, None) - Account GUID of source service + source_resource_type (False, str, None) + Resource type of source service + + + target_resource_type (False, str, None) + Resource type of target service target_service_name (True, str, None) (Required for new resource) The target service name + roles (True, list, None) + (Required for new resource) Role names of the policy definition + + + source_resource_instance_id (False, str, None) + The source resource instance Id + + target_resource_instance_id (False, str, None) The target resource instance Id @@ -64,8 +64,8 @@ Parameters The target resource group Id - source_resource_type (False, str, None) - Resource type of source service + source_service_account (False, str, None) + Account GUID of source service id (False, str, None) diff --git a/docs/ibm_iam_authorization_policy_detach.rst b/docs/ibm_iam_authorization_policy_detach.rst index 0b97e3b33..261ceefb4 100644 --- a/docs/ibm_iam_authorization_policy_detach.rst +++ b/docs/ibm_iam_authorization_policy_detach.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_custom_role.rst b/docs/ibm_iam_custom_role.rst index f082030b5..83379f6e5 100644 --- a/docs/ibm_iam_custom_role.rst +++ b/docs/ibm_iam_custom_role.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,8 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - display_name (True, str, None) - (Required for new resource) Display Name of the Custom Role + name (True, str, None) + (Required for new resource) The name of the custom Role description (False, str, None) @@ -44,8 +44,8 @@ Parameters (Required for new resource) The actions of the role - name (True, str, None) - (Required for new resource) The name of the custom Role + display_name (True, str, None) + (Required for new resource) Display Name of the Custom Role id (False, str, None) diff --git a/docs/ibm_iam_role_actions_info.rst b/docs/ibm_iam_role_actions_info.rst index 41b7ebe63..8d32a7d14 100644 --- a/docs/ibm_iam_role_actions_info.rst +++ b/docs/ibm_iam_role_actions_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_roles_info.rst b/docs/ibm_iam_roles_info.rst index 7a8feac60..5f688dae3 100644 --- a/docs/ibm_iam_roles_info.rst +++ b/docs/ibm_iam_roles_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_api_key.rst b/docs/ibm_iam_service_api_key.rst index 23c0f6204..14aa466fc 100644 --- a/docs/ibm_iam_service_api_key.rst +++ b/docs/ibm_iam_service_api_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + locked (False, bool, None) + The API key cannot be changed if set to true + + + store_value (False, bool, None) + Boolean value deciding whether API key value is retrievable in the future + + + file (False, str, None) + File where api key is to be stored + + name (True, str, None) (Required for new resource) Name of the Service API key @@ -36,10 +48,6 @@ Parameters description of the API key - locked (False, bool, None) - The API key cannot be changed if set to true - - iam_service_id (True, str, None) (Required for new resource) The service iam_id that this API key authenticates @@ -48,14 +56,6 @@ Parameters API key value for this API key - store_value (False, bool, None) - Boolean value deciding whether API key value is retrievable in the future - - - file (False, str, None) - File where api key is to be stored - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_service_id.rst b/docs/ibm_iam_service_id.rst index 09ce66b09..21c69e87e 100644 --- a/docs/ibm_iam_service_id.rst +++ b/docs/ibm_iam_service_id.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + None + + name (True, str, None) (Required for new resource) Name of the serviceID @@ -36,10 +40,6 @@ Parameters Description of the serviceID - tags (False, list, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_service_id_info.rst b/docs/ibm_iam_service_id_info.rst index 751bbe84a..b2c0aaefa 100644 --- a/docs/ibm_iam_service_id_info.rst +++ b/docs/ibm_iam_service_id_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_policy.rst b/docs/ibm_iam_service_policy.rst index c2abe1924..7448cc1a0 100644 --- a/docs/ibm_iam_service_policy.rst +++ b/docs/ibm_iam_service_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + iam_service_id (True, str, None) + (Required for new resource) UUID of ServiceID + + + roles (True, list, None) + (Required for new resource) Role names of the policy definition + + resources (False, list, None) None @@ -40,14 +48,6 @@ Parameters None - iam_service_id (True, str, None) - (Required for new resource) UUID of ServiceID - - - roles (True, list, None) - (Required for new resource) Role names of the policy definition - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_service_policy_info.rst b/docs/ibm_iam_service_policy_info.rst index 6b2563cac..bb058bae6 100644 --- a/docs/ibm_iam_service_policy_info.rst +++ b/docs/ibm_iam_service_policy_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_invite.rst b/docs/ibm_iam_user_invite.rst index be6875d06..5f8bb3740 100644 --- a/docs/ibm_iam_user_invite.rst +++ b/docs/ibm_iam_user_invite.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - iam_policy (False, list, None) - None - - classic_infra_roles (False, list, None) None @@ -48,6 +44,10 @@ Parameters access group ids to associate the inviting user + iam_policy (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_user_policy.rst b/docs/ibm_iam_user_policy.rst index 2d2083969..e3887e05e 100644 --- a/docs/ibm_iam_user_policy.rst +++ b/docs/ibm_iam_user_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - ibm_id (True, str, None) (Required for new resource) The ibm id or email of user @@ -48,6 +44,10 @@ Parameters Give access to all account management services + tags (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_user_policy_info.rst b/docs/ibm_iam_user_policy_info.rst index 3fa74228f..b009bdfda 100644 --- a/docs/ibm_iam_user_policy_info.rst +++ b/docs/ibm_iam_user_policy_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_profile_info.rst b/docs/ibm_iam_user_profile_info.rst index 3353e2818..f2ad413f8 100644 --- a/docs/ibm_iam_user_profile_info.rst +++ b/docs/ibm_iam_user_profile_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_settings.rst b/docs/ibm_iam_user_settings.rst index 8d8e85223..767e3306a 100644 --- a/docs/ibm_iam_user_settings.rst +++ b/docs/ibm_iam_user_settings.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_users_info.rst b/docs/ibm_iam_users_info.rst index a9dd1d21d..f93b297e1 100644 --- a/docs/ibm_iam_users_info.rst +++ b/docs/ibm_iam_users_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_ipsec_vpn.rst b/docs/ibm_ipsec_vpn.rst index 8f6eb8b09..8de7c3e93 100644 --- a/docs/ibm_ipsec_vpn.rst +++ b/docs/ibm_ipsec_vpn.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,16 +28,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - remote_subnet_id (False, int, None) - Remote subnet ID value + datacenter (True, str, None) + (Required for new resource) Datacenter name - remote_subnet (False, list, None) - None + preshared_key (False, str, None) + Preshared Key data - service_subnet_id (False, int, None) - Service subnet ID value + customer_peer_ip (False, str, None) + Customer Peer IP Address + + + internal_subnet_id (False, int, None) + Internal subnet ID value phase_one (False, list, None) @@ -52,20 +56,16 @@ Parameters None - preshared_key (False, str, None) - Preshared Key data - - - customer_peer_ip (False, str, None) - Customer Peer IP Address + remote_subnet_id (False, int, None) + Remote subnet ID value - datacenter (True, str, None) - (Required for new resource) Datacenter name + remote_subnet (False, list, None) + None - internal_subnet_id (False, int, None) - Internal subnet ID value + service_subnet_id (False, int, None) + Service subnet ID value id (False, str, None) diff --git a/docs/ibm_is_floating_ip.rst b/docs/ibm_is_floating_ip.rst index ec41bf7ce..b6ab12943 100644 --- a/docs/ibm_is_floating_ip.rst +++ b/docs/ibm_is_floating_ip.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ip_info.rst b/docs/ibm_is_floating_ip_info.rst index 8dd0ac903..5ebb2620f 100644 --- a/docs/ibm_is_floating_ip_info.rst +++ b/docs/ibm_is_floating_ip_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_flow_log.rst b/docs/ibm_is_flow_log.rst index 927f963f5..c75e2a81d 100644 --- a/docs/ibm_is_flow_log.rst +++ b/docs/ibm_is_flow_log.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,16 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - Tags for the VPC Flow logs - - - resource_group (False, str, None) - The resource group of flow log - - - target (True, str, None) - (Required for new resource) The target id that the flow log collector is to collect flow logs + name (True, str, None) + (Required for new resource) Flow Log Collector name storage_bucket (True, str, None) @@ -48,8 +40,16 @@ Parameters Indicates whether this collector is active - name (True, str, None) - (Required for new resource) Flow Log Collector name + resource_group (False, str, None) + The resource group of flow log + + + target (True, str, None) + (Required for new resource) The target id that the flow log collector is to collect flow logs + + + tags (False, list, None) + Tags for the VPC Flow logs id (False, str, None) diff --git a/docs/ibm_is_flow_logs_info.rst b/docs/ibm_is_flow_logs_info.rst index 1d70eae5f..9bf788f4e 100644 --- a/docs/ibm_is_flow_logs_info.rst +++ b/docs/ibm_is_flow_logs_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ike_policy.rst b/docs/ibm_is_ike_policy.rst index 42b42f81f..cff00c304 100644 --- a/docs/ibm_is_ike_policy.rst +++ b/docs/ibm_is_ike_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) IKE name + + authentication_algorithm (True, str, None) (Required for new resource) Authentication algorithm type + ike_version (False, int, None) + IKE version + + encryption_algorithm (True, str, None) (Required for new resource) Encryption alogorithm type @@ -40,14 +48,6 @@ Parameters (Required for new resource) IKE DH group - ike_version (False, int, None) - IKE version - - - name (True, str, None) - (Required for new resource) IKE name - - resource_group (False, str, None) IKE resource group ID diff --git a/docs/ibm_is_image.rst b/docs/ibm_is_image.rst index c9a95d254..5c17bc2cf 100644 --- a/docs/ibm_is_image.rst +++ b/docs/ibm_is_image.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,32 +28,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Image name + encrypted_data_key (False, str, None) + A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image - tags (False, list, None) - Tags for the image + encryption_key (False, str, None) + The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource operating_system (True, str, None) (Required for new resource) Image Operating system - href (True, str, None) - (Required for new resource) Image Href value + resource_group (False, str, None) + The resource group for this image - encryption_key (False, str, None) - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource + href (True, str, None) + (Required for new resource) Image Href value - resource_group (False, str, None) - The resource group for this image + tags (False, list, None) + Tags for the image - encrypted_data_key (False, str, None) - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image + name (True, str, None) + (Required for new resource) Image name id (False, str, None) diff --git a/docs/ibm_is_image_info.rst b/docs/ibm_is_image_info.rst index 50e08dbda..0dacabf72 100644 --- a/docs/ibm_is_image_info.rst +++ b/docs/ibm_is_image_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_images_info.rst b/docs/ibm_is_images_info.rst index 1cc34b1c1..50184ed30 100644 --- a/docs/ibm_is_images_info.rst +++ b/docs/ibm_is_images_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance.rst b/docs/ibm_is_instance.rst index 6576881a6..3a51540e8 100644 --- a/docs/ibm_is_instance.rst +++ b/docs/ibm_is_instance.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,60 +28,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - profile (True, str, None) - (Required for new resource) Profile info + zone (True, str, None) + (Required for new resource) Zone name - network_interfaces (False, list, None) - None + keys (True, list, None) + (Required for new resource) SSH key Ids for the instance - name (True, str, None) - (Required for new resource) Instance name + tags (False, list, None) + list of tags for the instance - zone (True, str, None) - (Required for new resource) Zone name + primary_network_interface (True, list, None) + (Required for new resource) Primary Network interface info image (True, str, None) (Required for new resource) image name - volumes (False, list, None) - List of volumes + boot_volume (False, list, None) + None - force_recovery_time (False, int, None) - Define timeout to force the instances to start/stop in minutes. + vpc (True, str, None) + (Required for new resource) VPC id - primary_network_interface (True, list, None) - (Required for new resource) Primary Network interface info + user_data (False, str, None) + User data given for the instance - resource_group (False, str, None) - Instance resource group + volumes (False, list, None) + List of volumes - tags (False, list, None) - list of tags for the instance + force_recovery_time (False, int, None) + Define timeout to force the instances to start/stop in minutes. - user_data (False, str, None) - User data given for the instance + name (True, str, None) + (Required for new resource) Instance name - boot_volume (False, list, None) - None + profile (True, str, None) + (Required for new resource) Profile info - vpc (True, str, None) - (Required for new resource) VPC id + network_interfaces (False, list, None) + None - keys (True, list, None) - (Required for new resource) SSH key Ids for the instance + resource_group (False, str, None) + Instance resource group id (False, str, None) diff --git a/docs/ibm_is_instance_group.rst b/docs/ibm_is_instance_group.rst index d42c31f45..ac8bfcf8e 100644 --- a/docs/ibm_is_instance_group.rst +++ b/docs/ibm_is_instance_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + List of tags for instance group + + + instance_template (True, str, None) + (Required for new resource) instance template ID + + + load_balancer (False, str, None) + load balancer ID + + + load_balancer_pool (False, str, None) + load balancer pool ID + + name (True, str, None) (Required for new resource) The user-defined name for this instance group @@ -40,14 +56,6 @@ Parameters Resource group ID - load_balancer (False, str, None) - load balancer ID - - - instance_template (True, str, None) - (Required for new resource) instance template ID - - subnets (True, list, None) (Required for new resource) list of subnet IDs @@ -56,14 +64,6 @@ Parameters Used by the instance group when scaling up instances to supply the port for the load balancer pool member. - load_balancer_pool (False, str, None) - load balancer pool ID - - - tags (False, list, None) - List of tags for instance group - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_group_info.rst b/docs/ibm_is_instance_group_info.rst index 8980a2d8e..8244186dd 100644 --- a/docs/ibm_is_instance_group_info.rst +++ b/docs/ibm_is_instance_group_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager.rst b/docs/ibm_is_instance_group_manager.rst index 9a82ed054..725865bc3 100644 --- a/docs/ibm_is_instance_group_manager.rst +++ b/docs/ibm_is_instance_group_manager.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,36 +28,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enable_manager (False, bool, True) - enable instance group manager - - - aggregation_window (False, int, 90) - The time window in seconds to aggregate metrics prior to evaluation + name (False, str, None) + instance group manager name - max_membership_count (True, int, None) - (Required for new resource) The maximum number of members in a managed instance group + enable_manager (False, bool, True) + enable instance group manager - min_membership_count (False, int, 1) - The minimum number of members in a managed instance group + instance_group (True, str, None) + (Required for new resource) instance group ID - name (False, str, None) - instance group manager name + aggregation_window (False, int, 90) + The time window in seconds to aggregate metrics prior to evaluation - instance_group (True, str, None) - (Required for new resource) instance group ID + cooldown (False, int, 300) + The duration of time in seconds to pause further scale actions after scaling has taken place manager_type (False, str, autoscale) The type of instance group manager. - cooldown (False, int, 300) - The duration of time in seconds to pause further scale actions after scaling has taken place + max_membership_count (True, int, None) + (Required for new resource) The maximum number of members in a managed instance group + + + min_membership_count (False, int, 1) + The minimum number of members in a managed instance group id (False, str, None) diff --git a/docs/ibm_is_instance_group_manager_info.rst b/docs/ibm_is_instance_group_manager_info.rst index bd02a0a88..3b8b415d1 100644 --- a/docs/ibm_is_instance_group_manager_info.rst +++ b/docs/ibm_is_instance_group_manager_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_group (True, str, None) - instance group ID - - name (True, str, None) Name of the instance group manager. + instance_group (True, str, None) + instance group ID + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_group_manager_policies_info.rst b/docs/ibm_is_instance_group_manager_policies_info.rst index 30fa073e0..965295f7c 100644 --- a/docs/ibm_is_instance_group_manager_policies_info.rst +++ b/docs/ibm_is_instance_group_manager_policies_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager_policy.rst b/docs/ibm_is_instance_group_manager_policy.rst index 5b175b9c3..83a3d574e 100644 --- a/docs/ibm_is_instance_group_manager_policy.rst +++ b/docs/ibm_is_instance_group_manager_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_group (True, str, None) - (Required for new resource) instance group ID - - - instance_group_manager (True, str, None) - (Required for new resource) Instance group manager ID - - metric_type (True, str, None) (Required for new resource) The type of metric to be evaluated @@ -52,6 +44,14 @@ Parameters instance group manager policy name + instance_group (True, str, None) + (Required for new resource) instance group ID + + + instance_group_manager (True, str, None) + (Required for new resource) Instance group manager ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_group_manager_policy_info.rst b/docs/ibm_is_instance_group_manager_policy_info.rst index 751604066..43cdfe13c 100644 --- a/docs/ibm_is_instance_group_manager_policy_info.rst +++ b/docs/ibm_is_instance_group_manager_policy_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,10 +26,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - The name of the instance group manager policy - - instance_group (True, str, None) instance group ID @@ -38,6 +34,10 @@ Parameters Instance group manager ID + name (True, str, None) + The name of the instance group manager policy + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_group_managers_info.rst b/docs/ibm_is_instance_group_managers_info.rst index 738b8f5dc..8b7f36ba7 100644 --- a/docs/ibm_is_instance_group_managers_info.rst +++ b/docs/ibm_is_instance_group_managers_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_info.rst b/docs/ibm_is_instance_info.rst index 1711c7c4a..fc9a984f3 100644 --- a/docs/ibm_is_instance_info.rst +++ b/docs/ibm_is_instance_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profile_info.rst b/docs/ibm_is_instance_profile_info.rst index dd172684c..5c7946083 100644 --- a/docs/ibm_is_instance_profile_info.rst +++ b/docs/ibm_is_instance_profile_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profiles_info.rst b/docs/ibm_is_instance_profiles_info.rst index fda2eec00..9b5a60b3b 100644 --- a/docs/ibm_is_instance_profiles_info.rst +++ b/docs/ibm_is_instance_profiles_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_template.rst b/docs/ibm_is_instance_template.rst index d39d16cd7..cc1c3373b 100644 --- a/docs/ibm_is_instance_template.rst +++ b/docs/ibm_is_instance_template.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,26 +28,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Instance Template name - - - keys (True, list, None) - (Required for new resource) SSH key Ids for the instance template + vpc (True, str, None) + (Required for new resource) VPC id - volume_attachments (False, list, None) - None + zone (True, str, None) + (Required for new resource) Zone name - image (True, str, None) - (Required for new resource) image name + primary_network_interface (True, list, None) + (Required for new resource) Primary Network interface info user_data (False, str, None) User data given for the instance + image (True, str, None) + (Required for new resource) image name + + boot_volume (False, list, None) None @@ -56,20 +56,20 @@ Parameters Instance template resource group - vpc (True, str, None) - (Required for new resource) VPC id - - - zone (True, str, None) - (Required for new resource) Zone name + name (True, str, None) + (Required for new resource) Instance Template name profile (True, str, None) (Required for new resource) Profile info - primary_network_interface (True, list, None) - (Required for new resource) Primary Network interface info + keys (True, list, None) + (Required for new resource) SSH key Ids for the instance template + + + volume_attachments (False, list, None) + None network_interfaces (False, list, None) diff --git a/docs/ibm_is_instance_templates_info.rst b/docs/ibm_is_instance_templates_info.rst index 7a4be4ec6..41f069e43 100644 --- a/docs/ibm_is_instance_templates_info.rst +++ b/docs/ibm_is_instance_templates_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instances_info.rst b/docs/ibm_is_instances_info.rst index 2ce7e965f..2cdc5ad4c 100644 --- a/docs/ibm_is_instances_info.rst +++ b/docs/ibm_is_instances_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,6 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + vpc_name (False, str, None) + Name of the vpc to filter the instances attached to it + + + vpc (False, str, None) + VPC ID to filter the instances attached to it + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_ipsec_policy.rst b/docs/ibm_is_ipsec_policy.rst index 42ae0f72b..184099585 100644 --- a/docs/ibm_is_ipsec_policy.rst +++ b/docs/ibm_is_ipsec_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,28 +28,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key_lifetime (False, int, 3600) - IPSEC key lifetime + pfs (True, str, None) + (Required for new resource) PFS info - name (True, str, None) - (Required for new resource) IPSEC name + key_lifetime (False, int, 3600) + IPSEC key lifetime authentication_algorithm (True, str, None) (Required for new resource) Authentication alorothm - resource_group (False, str, None) - Resource group info - - encryption_algorithm (True, str, None) (Required for new resource) Encryption algorithm - pfs (True, str, None) - (Required for new resource) PFS info + name (True, str, None) + (Required for new resource) IPSEC name + + + resource_group (False, str, None) + Resource group info id (False, str, None) diff --git a/docs/ibm_is_lb.rst b/docs/ibm_is_lb.rst index 6f2312ecf..a0fd9cf00 100644 --- a/docs/ibm_is_lb.rst +++ b/docs/ibm_is_lb.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,7 +32,7 @@ Parameters (Required for new resource) Load Balancer subnets list - resource_group (False, str, None) + tags (False, list, None) None @@ -48,7 +48,7 @@ Parameters The profile to use for this load balancer. - tags (False, list, None) + resource_group (False, str, None) None diff --git a/docs/ibm_is_lb_info.rst b/docs/ibm_is_lb_info.rst index 77052be5c..b58904990 100644 --- a/docs/ibm_is_lb_info.rst +++ b/docs/ibm_is_lb_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener.rst b/docs/ibm_is_lb_listener.rst index abc2395fc..c9fb81eb5 100644 --- a/docs/ibm_is_lb_listener.rst +++ b/docs/ibm_is_lb_listener.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,8 +32,12 @@ Parameters (Required for new resource) Loadbalancer listener ID - certificate_instance (False, str, None) - certificate instance for the Loadbalancer + protocol (True, str, None) + (Required for new resource) Loadbalancer protocol + + + connection_limit (False, int, None) + Connection limit for Loadbalancer default_pool (False, str, None) @@ -44,12 +48,8 @@ Parameters (Required for new resource) Loadbalancer listener port - protocol (True, str, None) - (Required for new resource) Loadbalancer protocol - - - connection_limit (False, int, None) - Connection limit for Loadbalancer + certificate_instance (False, str, None) + certificate instance for the Loadbalancer id (False, str, None) diff --git a/docs/ibm_is_lb_listener_policy.rst b/docs/ibm_is_lb_listener_policy.rst index 36d2d4413..339cbee05 100644 --- a/docs/ibm_is_lb_listener_policy.rst +++ b/docs/ibm_is_lb_listener_policy.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,40 +28,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - priority (True, int, None) - (Required for new resource) Listener Policy Priority - - - name (False, str, None) - Policy name + target_http_status_code (False, int, None) + Listener Policy target HTTPS Status code. - target_id (False, str, None) - Listener Policy Target ID + target_url (False, str, None) + Policy Target URL - lb (True, str, None) - (Required for new resource) Load Balancer Listener Policy + listener (True, str, None) + (Required for new resource) Listener ID action (True, str, None) (Required for new resource) Policy Action - rules (False, list, None) - Policy Rules + priority (True, int, None) + (Required for new resource) Listener Policy Priority - target_http_status_code (False, int, None) - Listener Policy target HTTPS Status code. + name (False, str, None) + Policy name - target_url (False, str, None) - Policy Target URL + rules (False, list, None) + Policy Rules - listener (True, str, None) - (Required for new resource) Listener ID + target_id (False, str, None) + Listener Policy Target ID + + + lb (True, str, None) + (Required for new resource) Load Balancer Listener Policy id (False, str, None) diff --git a/docs/ibm_is_lb_listener_policy_rule.rst b/docs/ibm_is_lb_listener_policy_rule.rst index 6c1b7ae62..2a9dacdb8 100644 --- a/docs/ibm_is_lb_listener_policy_rule.rst +++ b/docs/ibm_is_lb_listener_policy_rule.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - value (True, str, None) - (Required for new resource) policy rule value info - - listener (True, str, None) (Required for new resource) Listener ID. @@ -40,8 +36,8 @@ Parameters (Required for new resource) Listener Policy ID - type (True, str, None) - (Required for new resource) Policy rule type. + condition (True, str, None) + (Required for new resource) Condition info of the rule. field (False, str, None) @@ -52,8 +48,12 @@ Parameters (Required for new resource) Loadbalancer ID - condition (True, str, None) - (Required for new resource) Condition info of the rule. + type (True, str, None) + (Required for new resource) Policy rule type. + + + value (True, str, None) + (Required for new resource) policy rule value info id (False, str, None) diff --git a/docs/ibm_is_lb_pool.rst b/docs/ibm_is_lb_pool.rst index 6ab4f76ad..84ac965f1 100644 --- a/docs/ibm_is_lb_pool.rst +++ b/docs/ibm_is_lb_pool.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,6 +32,14 @@ Parameters (Required for new resource) Load Balancer Pool name + algorithm (True, str, None) + (Required for new resource) Load Balancer Pool algorithm + + + lb (True, str, None) + (Required for new resource) Load Balancer ID + + health_delay (True, int, None) (Required for new resource) Load Blancer health delay time period @@ -40,12 +48,12 @@ Parameters (Required for new resource) Load Balancer health timeout interval - lb (True, str, None) - (Required for new resource) Load Balancer ID + health_type (True, str, None) + (Required for new resource) Load Balancer health type - algorithm (True, str, None) - (Required for new resource) Load Balancer Pool algorithm + session_persistence_type (False, str, None) + Load Balancer Pool session persisence type. protocol (True, str, None) @@ -56,26 +64,18 @@ Parameters (Required for new resource) Load Balancer health retry count - session_persistence_cookie_name (False, str, None) - Load Balancer Pool session persisence cookie name - - - health_type (True, str, None) - (Required for new resource) Load Balancer health type - - health_monitor_url (False, str, None) Health monitor URL of LB Pool - session_persistence_type (False, str, None) - Load Balancer Pool session persisence type. - - health_monitor_port (False, int, None) Health monitor Port the LB Pool + session_persistence_cookie_name (False, str, None) + Load Balancer Pool session persisence cookie name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_pool_member.rst b/docs/ibm_is_lb_pool_member.rst index 5649d566f..8e568ed32 100644 --- a/docs/ibm_is_lb_pool_member.rst +++ b/docs/ibm_is_lb_pool_member.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,10 +32,6 @@ Parameters Load balancer pool member target address - weight (False, int, None) - Load balcner pool member weight - - pool (True, str, None) (Required for new resource) Loadblancer Poold ID @@ -52,6 +48,10 @@ Parameters Load balancer pool member target id + weight (False, int, None) + Load balcner pool member weight + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_profiles_info.rst b/docs/ibm_is_lb_profiles_info.rst index 8472a091c..dd33dffeb 100644 --- a/docs/ibm_is_lb_profiles_info.rst +++ b/docs/ibm_is_lb_profiles_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lbs_info.rst b/docs/ibm_is_lbs_info.rst index af857b96e..a98cfd716 100644 --- a/docs/ibm_is_lbs_info.rst +++ b/docs/ibm_is_lbs_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acl.rst b/docs/ibm_is_network_acl.rst index d1624e776..f13d80ed8 100644 --- a/docs/ibm_is_network_acl.rst +++ b/docs/ibm_is_network_acl.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - rules (False, list, None) - None - - name (True, str, None) (Required for new resource) Network ACL name @@ -44,6 +40,10 @@ Parameters Resource group ID for the network ACL + rules (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_public_gateway.rst b/docs/ibm_is_public_gateway.rst index 84522c30c..b2aaa1d47 100644 --- a/docs/ibm_is_public_gateway.rst +++ b/docs/ibm_is_public_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,24 +32,24 @@ Parameters Public gateway resource group info - vpc (True, str, None) - (Required for new resource) Public gateway VPC info - - - tags (False, list, None) - Service tags for the public gateway instance + name (True, str, None) + (Required for new resource) Name of the Public gateway instance floating_ip (False, dict, None) None + vpc (True, str, None) + (Required for new resource) Public gateway VPC info + + zone (True, str, None) (Required for new resource) Public gateway zone info - name (True, str, None) - (Required for new resource) Name of the Public gateway instance + tags (False, list, None) + Service tags for the public gateway instance id (False, str, None) diff --git a/docs/ibm_is_public_gateway_info.rst b/docs/ibm_is_public_gateway_info.rst index 3cc915183..9a6c80201 100644 --- a/docs/ibm_is_public_gateway_info.rst +++ b/docs/ibm_is_public_gateway_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Public gateway Name - - resource_group (False, str, None) Public gateway resource group info + name (True, str, None) + Public gateway Name + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_region_info.rst b/docs/ibm_is_region_info.rst index 4200d0f5a..a899d4111 100644 --- a/docs/ibm_is_region_info.rst +++ b/docs/ibm_is_region_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group.rst b/docs/ibm_is_security_group.rst index bf9c6d202..56f23656f 100644 --- a/docs/ibm_is_security_group.rst +++ b/docs/ibm_is_security_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (False, str, None) + Security group name + + vpc (True, str, None) (Required for new resource) Security group's resource group id @@ -36,10 +40,6 @@ Parameters Resource Group ID - name (False, str, None) - Security group name - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_security_group_info.rst b/docs/ibm_is_security_group_info.rst index dfac27394..fa8e16970 100644 --- a/docs/ibm_is_security_group_info.rst +++ b/docs/ibm_is_security_group_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_network_interface_attachment.rst b/docs/ibm_is_security_group_network_interface_attachment.rst index ccec387ec..2ca3dedd0 100644 --- a/docs/ibm_is_security_group_network_interface_attachment.rst +++ b/docs/ibm_is_security_group_network_interface_attachment.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ssh_key.rst b/docs/ibm_is_ssh_key.rst index bb7731d86..202a17b44 100644 --- a/docs/ibm_is_ssh_key.rst +++ b/docs/ibm_is_ssh_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) SSH Key name - - - public_key (True, str, None) - (Required for new resource) SSH Public key data - - tags (False, list, None) List of tags for SSH key @@ -44,6 +36,14 @@ Parameters Resource group ID + name (True, str, None) + (Required for new resource) SSH Key name + + + public_key (True, str, None) + (Required for new resource) SSH Public key data + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_ssh_key_info.rst b/docs/ibm_is_ssh_key_info.rst index 13faaed23..6a387097d 100644 --- a/docs/ibm_is_ssh_key_info.rst +++ b/docs/ibm_is_ssh_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet.rst b/docs/ibm_is_subnet.rst index 348adf207..7eb000756 100644 --- a/docs/ibm_is_subnet.rst +++ b/docs/ibm_is_subnet.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,24 +28,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - The resource group for this subnet - - - ip_version (False, str, ipv4) - The IP version(s) to support for this subnet. - - network_acl (False, str, None) The network ACL for this subnet - public_gateway (False, str, None) - Public Gateway of the subnet + total_ipv4_address_count (False, int, None) + The total number of IPv4 addresses in this subnet. - zone (True, str, None) - (Required for new resource) Subnet zone info + name (True, str, None) + (Required for new resource) Subnet name ipv4_cidr_block (False, str, None) @@ -56,16 +48,24 @@ Parameters (Required for new resource) VPC instance ID - routing_table (False, str, None) - routing table id that is associated with the subnet + ip_version (False, str, ipv4) + The IP version(s) to support for this subnet. - total_ipv4_address_count (False, int, None) - The total number of IPv4 addresses in this subnet. + public_gateway (False, str, None) + Public Gateway of the subnet - name (True, str, None) - (Required for new resource) Subnet name + zone (True, str, None) + (Required for new resource) Subnet zone info + + + resource_group (False, str, None) + The resource group for this subnet + + + routing_table (False, str, None) + routing table id that is associated with the subnet id (False, str, None) diff --git a/docs/ibm_is_subnet_info.rst b/docs/ibm_is_subnet_info.rst index 906e276d7..fd02c8006 100644 --- a/docs/ibm_is_subnet_info.rst +++ b/docs/ibm_is_subnet_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,11 +26,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) + identifier (False, str, None) None - identifier (False, str, None) + name (False, str, None) None diff --git a/docs/ibm_is_subnet_network_acl_attachment.rst b/docs/ibm_is_subnet_network_acl_attachment.rst index b30192480..ff96ebf35 100644 --- a/docs/ibm_is_subnet_network_acl_attachment.rst +++ b/docs/ibm_is_subnet_network_acl_attachment.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnets_info.rst b/docs/ibm_is_subnets_info.rst index 0437f04ea..7141ffe0b 100644 --- a/docs/ibm_is_subnets_info.rst +++ b/docs/ibm_is_subnets_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateway.rst b/docs/ibm_is_virtual_endpoint_gateway.rst index ef062b764..9b6113a36 100644 --- a/docs/ibm_is_virtual_endpoint_gateway.rst +++ b/docs/ibm_is_virtual_endpoint_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Endpoint gateway name - - tags (False, list, None) List of tags for VPE @@ -40,6 +36,14 @@ Parameters The resource group id + vpc (True, str, None) + (Required for new resource) The VPC id + + + name (True, str, None) + (Required for new resource) Endpoint gateway name + + ips (False, list, None) Endpoint gateway resource group @@ -48,10 +52,6 @@ Parameters (Required for new resource) Endpoint gateway target - vpc (True, str, None) - (Required for new resource) The VPC id - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_virtual_endpoint_gateway_info.rst b/docs/ibm_is_virtual_endpoint_gateway_info.rst index eee461628..8796fd4fc 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateway_ip.rst b/docs/ibm_is_virtual_endpoint_gateway_ip.rst index 80fa71cf7..63c52f574 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_ip.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_ip.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst index 96b4e67f1..ace406c5e 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateways_info.rst b/docs/ibm_is_virtual_endpoint_gateways_info.rst index e1a2b58aa..3ef3d0efe 100644 --- a/docs/ibm_is_virtual_endpoint_gateways_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateways_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume.rst b/docs/ibm_is_volume.rst index cc75be98e..2e089052a 100644 --- a/docs/ibm_is_volume.rst +++ b/docs/ibm_is_volume.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,16 +28,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) Zone name - - tags (False, list, None) Tags for the volume instance - profile (True, str, None) - (Required for new resource) Vloume profile name + name (True, str, None) + (Required for new resource) Volume name encryption_key (False, str, None) @@ -48,8 +44,12 @@ Parameters Vloume capacity value - name (True, str, None) - (Required for new resource) Volume name + zone (True, str, None) + (Required for new resource) Zone name + + + profile (True, str, None) + (Required for new resource) Vloume profile name resource_group (False, str, None) diff --git a/docs/ibm_is_volume_info.rst b/docs/ibm_is_volume_info.rst index 4c4ec4cb8..ae6f46e10 100644 --- a/docs/ibm_is_volume_info.rst +++ b/docs/ibm_is_volume_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc.rst b/docs/ibm_is_vpc.rst index cef58631f..d6c225037 100644 --- a/docs/ibm_is_vpc.rst +++ b/docs/ibm_is_vpc.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,20 +32,20 @@ Parameters Resource group info - address_prefix_management (False, str, auto) - Address Prefix management value - - - name (True, str, None) - (Required for new resource) VPC name + tags (False, list, None) + List of tags classic_access (False, bool, False) Set to true if classic access needs to enabled to VPC - tags (False, list, None) - List of tags + name (True, str, None) + (Required for new resource) VPC name + + + address_prefix_management (False, str, auto) + Address Prefix management value id (False, str, None) diff --git a/docs/ibm_is_vpc_address_prefix.rst b/docs/ibm_is_vpc_address_prefix.rst index ccfeaba6c..6efc163a7 100644 --- a/docs/ibm_is_vpc_address_prefix.rst +++ b/docs/ibm_is_vpc_address_prefix.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc (True, str, None) - (Required for new resource) VPC id - - name (True, str, None) (Required for new resource) Name @@ -44,6 +40,10 @@ Parameters (Required for new resource) CIDIR address prefix + vpc (True, str, None) + (Required for new resource) VPC id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_default_routing_table_info.rst b/docs/ibm_is_vpc_default_routing_table_info.rst index 31c774ae4..db51adebf 100644 --- a/docs/ibm_is_vpc_default_routing_table_info.rst +++ b/docs/ibm_is_vpc_default_routing_table_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_info.rst b/docs/ibm_is_vpc_info.rst index 6efc7bc03..1b2f55587 100644 --- a/docs/ibm_is_vpc_info.rst +++ b/docs/ibm_is_vpc_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_route.rst b/docs/ibm_is_vpc_route.rst index 3c48c1513..14d5165c3 100644 --- a/docs/ibm_is_vpc_route.rst +++ b/docs/ibm_is_vpc_route.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + vpc (True, str, None) + (Required for new resource) VPC instance ID + + next_hop (True, str, None) (Required for new resource) VPC route next hop value @@ -44,10 +48,6 @@ Parameters (Required for new resource) VPC route destination CIDR value - vpc (True, str, None) - (Required for new resource) VPC instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_routing_table.rst b/docs/ibm_is_vpc_routing_table.rst index 1c50ac5d5..bb1058962 100644 --- a/docs/ibm_is_vpc_routing_table.rst +++ b/docs/ibm_is_vpc_routing_table.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,16 +28,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - route_transit_gateway_ingress (False, bool, False) - If set to true, this routing table will be used to route traffic that originates from Transit Gateway to this VPC. - - vpc (True, str, None) (Required for new resource) The VPC identifier. - route_direct_link_ingress (False, bool, False) - If set to true, this routing table will be used to route traffic that originates from Direct Link to this VPC. + route_transit_gateway_ingress (False, bool, False) + If set to true, this routing table will be used to route traffic that originates from Transit Gateway to this VPC. route_vpc_zone_ingress (False, bool, False) @@ -48,6 +44,10 @@ Parameters The user-defined name for this routing table. + route_direct_link_ingress (False, bool, False) + If set to true, this routing table will be used to route traffic that originates from Direct Link to this VPC. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_routing_table_route.rst b/docs/ibm_is_vpc_routing_table_route.rst index 3037b808f..7f6e6b9c0 100644 --- a/docs/ibm_is_vpc_routing_table_route.rst +++ b/docs/ibm_is_vpc_routing_table_route.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,22 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - action (False, str, deliver) - The action to perform with a packet matching the route. - - routing_table (True, str, None) (Required for new resource) The routing table identifier. - zone (True, str, None) - (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. - - - next_hop (True, str, None) - (Required for new resource) If action is deliver, the next hop that packets will be delivered to. For other action values, its address will be 0.0.0.0. - - vpc (True, str, None) (Required for new resource) The VPC identifier. @@ -52,10 +40,22 @@ Parameters (Required for new resource) The destination of the route. + zone (True, str, None) + (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. + + + next_hop (True, str, None) + (Required for new resource) If action is deliver, the next hop that packets will be delivered to. For other action values, its address will be 0.0.0.0. + + name (False, str, None) The user-defined name for this route. + action (False, str, deliver) + The action to perform with a packet matching the route. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_routing_table_routes_info.rst b/docs/ibm_is_vpc_routing_table_routes_info.rst index 3ecb3792a..35aea8ff8 100644 --- a/docs/ibm_is_vpc_routing_table_routes_info.rst +++ b/docs/ibm_is_vpc_routing_table_routes_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc (True, str, None) - VPC identifier - - routing_table (True, str, None) Routing table identifier + vpc (True, str, None) + VPC identifier + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_vpc_routing_tables_info.rst b/docs/ibm_is_vpc_routing_tables_info.rst index b8b8d920d..e6f9379ae 100644 --- a/docs/ibm_is_vpc_routing_tables_info.rst +++ b/docs/ibm_is_vpc_routing_tables_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateway.rst b/docs/ibm_is_vpn_gateway.rst index ad8082660..8227bde8b 100644 --- a/docs/ibm_is_vpn_gateway.rst +++ b/docs/ibm_is_vpn_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,26 +28,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + mode (False, str, route) + mode in VPN gateway(route/policy) + + name (True, str, None) (Required for new resource) VPN Gateway instance name - tags (False, list, None) - VPN Gateway tags list + subnet (True, str, None) + (Required for new resource) VPNGateway subnet info - mode (False, str, route) - mode in VPN gateway(route/policy) + tags (False, list, None) + VPN Gateway tags list resource_group (False, str, None) The resource group for this VPN gateway - subnet (True, str, None) - (Required for new resource) VPNGateway subnet info - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpn_gateway_connection.rst b/docs/ibm_is_vpn_gateway_connection.rst index c6517c686..3b786f019 100644 --- a/docs/ibm_is_vpn_gateway_connection.rst +++ b/docs/ibm_is_vpn_gateway_connection.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,52 +28,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - peer_cidrs (False, list, None) - VPN gateway connection peer CIDRs - - - ipsec_policy (False, str, None) - IP security policy for vpn gateway connection - - - name (True, str, None) - (Required for new resource) VPN Gateway connection name + admin_state_up (False, bool, False) + VPN gateway connection admin state vpn_gateway (True, str, None) (Required for new resource) VPN Gateway info - admin_state_up (False, bool, False) - VPN gateway connection admin state + ike_policy (False, str, None) + VPN gateway connection IKE Policy - local_cidrs (False, list, None) - VPN gateway connection local CIDRs + timeout (False, int, 10) + Timeout for dead peer detection + + + ipsec_policy (False, str, None) + IP security policy for vpn gateway connection peer_address (True, str, None) (Required for new resource) VPN gateway connection peer address - preshared_key (True, str, None) - (Required for new resource) vpn gateway + local_cidrs (False, list, None) + VPN gateway connection local CIDRs action (False, str, restart) Action detection for dead peer detection action - timeout (False, int, 10) - Timeout for dead peer detection + interval (False, int, 2) + Interval for dead peer detection interval - ike_policy (False, str, None) - VPN gateway connection IKE Policy + name (True, str, None) + (Required for new resource) VPN Gateway connection name - interval (False, int, 2) - Interval for dead peer detection interval + preshared_key (True, str, None) + (Required for new resource) vpn gateway + + + peer_cidrs (False, list, None) + VPN gateway connection peer CIDRs id (False, str, None) diff --git a/docs/ibm_is_vpn_gateway_connections_info.rst b/docs/ibm_is_vpn_gateway_connections_info.rst index 562ac0d9d..09703ba60 100644 --- a/docs/ibm_is_vpn_gateway_connections_info.rst +++ b/docs/ibm_is_vpn_gateway_connections_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateways_info.rst b/docs/ibm_is_vpn_gateways_info.rst index b973c965d..b91533c82 100644 --- a/docs/ibm_is_vpn_gateways_info.rst +++ b/docs/ibm_is_vpn_gateways_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_zone_info.rst b/docs/ibm_is_zone_info.rst index ccea78273..98a510f9e 100644 --- a/docs/ibm_is_zone_info.rst +++ b/docs/ibm_is_zone_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_zones_info.rst b/docs/ibm_is_zones_info.rst index f06e0e2c1..cd5d7b5a9 100644 --- a/docs/ibm_is_zones_info.rst +++ b/docs/ibm_is_zones_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key.rst b/docs/ibm_kms_key.rst index e0583c7c5..4465af0c0 100644 --- a/docs/ibm_kms_key.rst +++ b/docs/ibm_kms_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,46 +28,46 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - policies (False, list, None) - Creates or updates one or more policies for the specified key - - - standard_key (False, bool, False) - Standard key type - - - expiration_date (False, str, None) - The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire + key_name (True, str, None) + (Required for new resource) Key name endpoint_type (False, str, public) public or private + payload (False, str, None) + None + + encrypted_nonce (False, str, None) Only for imported root key - key_name (True, str, None) - (Required for new resource) Key name + force_delete (False, bool, False) + set to true to force delete the key - payload (False, str, None) - None + standard_key (False, bool, False) + Standard key type iv_value (False, str, None) Only for imported root key - force_delete (False, bool, False) - set to true to force delete the key + policies (False, list, None) + Creates or updates one or more policies for the specified key instance_id (True, str, None) (Required for new resource) Key protect or hpcs instance GUID + expiration_date (False, str, None) + The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_kms_key_info.rst b/docs/ibm_kms_key_info.rst index 6000f1615..fb01c0233 100644 --- a/docs/ibm_kms_key_info.rst +++ b/docs/ibm_kms_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_keys_info.rst b/docs/ibm_kms_keys_info.rst index f94be5c79..9a4d24473 100644 --- a/docs/ibm_kms_keys_info.rst +++ b/docs/ibm_kms_keys_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,10 +26,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - endpoint_type (False, str, public) - public or private - - instance_id (True, str, None) Key protect or hpcs instance GUID @@ -38,6 +34,10 @@ Parameters The name of the key to be fetched + endpoint_type (False, str, public) + public or private + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_kp_key.rst b/docs/ibm_kp_key.rst index 44399a006..23cd27eb8 100644 --- a/docs/ibm_kp_key.rst +++ b/docs/ibm_kp_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,32 +28,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key_name (True, str, None) - (Required for new resource) Key name - - - force_delete (False, bool, False) - set to true to force delete the key + key_protect_id (True, str, None) + (Required for new resource) Key protect instance ID encrypted_nonce (False, str, None) Only for imported root key - key_protect_id (True, str, None) - (Required for new resource) Key protect instance ID + key_name (True, str, None) + (Required for new resource) Key name - standard_key (False, bool, False) - Standard key type + force_delete (False, bool, False) + set to true to force delete the key + + + payload (False, str, None) + None iv_value (False, str, None) Only for imported root key - payload (False, str, None) - None + standard_key (False, bool, False) + Standard key type id (False, str, None) diff --git a/docs/ibm_kp_key_info.rst b/docs/ibm_kp_key_info.rst index 10d78baaa..e80b9bf74 100644 --- a/docs/ibm_kp_key_info.rst +++ b/docs/ibm_kp_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_lb.rst b/docs/ibm_lb.rst index 00f59971a..1ee4554ed 100644 --- a/docs/ibm_lb.rst +++ b/docs/ibm_lb.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - Tags associated with resource - - connections (True, int, None) (Required for new resource) Connections value @@ -44,6 +40,10 @@ Parameters boolean value true if SSL offload is enabled + tags (False, list, None) + Tags associated with resource + + datacenter (True, str, None) (Required for new resource) Datacenter name info diff --git a/docs/ibm_lb_service.rst b/docs/ibm_lb_service.rst index d6d10b6e3..2c01629a1 100644 --- a/docs/ibm_lb_service.rst +++ b/docs/ibm_lb_service.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_lb_service_group.rst b/docs/ibm_lb_service_group.rst index c0cca74f6..2f6c6b457 100644 --- a/docs/ibm_lb_service_group.rst +++ b/docs/ibm_lb_service_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,10 +32,6 @@ Parameters (Required for new resource) Loadbalancer ID - allocation (True, int, None) - (Required for new resource) Allocation type - - routing_method (True, str, None) (Required for new resource) Routing method @@ -44,16 +40,20 @@ Parameters (Required for new resource) Routing type + timeout (False, int, None) + Timeout value + + tags (False, list, None) List of tags - port (True, int, None) - (Required for new resource) Port number + allocation (True, int, None) + (Required for new resource) Allocation type - timeout (False, int, None) - Timeout value + port (True, int, None) + (Required for new resource) Port number id (False, str, None) diff --git a/docs/ibm_lb_vpx.rst b/docs/ibm_lb_vpx.rst index 569e91c07..d2c4f25c2 100644 --- a/docs/ibm_lb_vpx.rst +++ b/docs/ibm_lb_vpx.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,46 +28,46 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - private_subnet (False, str, None) - Private subnet + speed (True, int, None) + (Required for new resource) Speed value - public_vlan_id (False, int, None) - Piblic VLAN id + version (True, str, None) + (Required for new resource) version info - tags (False, list, None) - List of the tags + private_subnet (False, str, None) + Private subnet - datacenter (True, str, None) - (Required for new resource) Datacenter name + public_vlan_id (False, int, None) + Piblic VLAN id public_subnet (False, str, None) Public subnet + tags (False, list, None) + List of the tags + + private_vlan_id (False, int, None) Private VLAN id - speed (True, int, None) - (Required for new resource) Speed value + datacenter (True, str, None) + (Required for new resource) Datacenter name - version (True, str, None) - (Required for new resource) version info + plan (True, str, None) + (Required for new resource) Plan info ip_count (True, int, None) (Required for new resource) IP address count - plan (True, str, None) - (Required for new resource) Plan info - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_vpx_ha.rst b/docs/ibm_lb_vpx_ha.rst index 5cef4ce62..a4ede7f47 100644 --- a/docs/ibm_lb_vpx_ha.rst +++ b/docs/ibm_lb_vpx_ha.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_lb_vpx_service.rst b/docs/ibm_lb_vpx_service.rst index df3e5b967..8f989a6fc 100644 --- a/docs/ibm_lb_vpx_service.rst +++ b/docs/ibm_lb_vpx_service.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,38 +32,38 @@ Parameters list of tags associated with the resource - health_check (True, str, None) - (Required for new resource) Health check info - - - usip (False, str, False) - usip info - - - destination_ip_address (True, str, None) - (Required for new resource) Destination IP Address - - - destination_port (True, int, None) - (Required for new resource) Destination Port number + vip_id (True, str, None) + (Required for new resource) VIP id weight (True, int, None) (Required for new resource) Weight value + health_check (True, str, None) + (Required for new resource) Health check info + + connection_limit (True, int, None) (Required for new resource) Number of connections limit - vip_id (True, str, None) - (Required for new resource) VIP id + usip (False, str, False) + usip info name (True, str, None) (Required for new resource) name + destination_ip_address (True, str, None) + (Required for new resource) Destination IP Address + + + destination_port (True, int, None) + (Required for new resource) Destination Port number + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_vpx_vip.rst b/docs/ibm_lb_vpx_vip.rst index 09262d86a..ac81e404a 100644 --- a/docs/ibm_lb_vpx_vip.rst +++ b/docs/ibm_lb_vpx_vip.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,40 +28,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name - - - type (True, str, None) - (Required for new resource) Type + security_certificate_id (False, int, None) + security certificate ID virtual_ip_address (True, str, None) (Required for new resource) Virtual IP address + tags (False, list, None) + List of tags + + + nad_controller_id (True, int, None) + (Required for new resource) NAD controller ID + + load_balancing_method (True, str, None) (Required for new resource) Load balancing method - persistence (False, str, None) - Persistance value + name (True, str, None) + (Required for new resource) Name source_port (True, int, None) (Required for new resource) Source Port number - security_certificate_id (False, int, None) - security certificate ID - - - tags (False, list, None) - List of tags + persistence (False, str, None) + Persistance value - nad_controller_id (True, int, None) - (Required for new resource) NAD controller ID + type (True, str, None) + (Required for new resource) Type id (False, str, None) diff --git a/docs/ibm_lbaas.rst b/docs/ibm_lbaas.rst index e73c30de8..070211609 100644 --- a/docs/ibm_lbaas.rst +++ b/docs/ibm_lbaas.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,22 +32,14 @@ Parameters Specifies if a load balancer is public or private - name (True, str, None) - (Required for new resource) The load balancer's name. - - - wait_time_minutes (False, int, 90) - None - - - description (False, str, None) - Description of a load balancer. - - use_system_public_ip_pool (False, bool, None) in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet. + subnets (True, list, None) + (Required for new resource) The subnet where this Load Balancer will be provisioned. + + protocols (False, list, None) Protocols to be assigned to this load balancer. @@ -56,8 +48,16 @@ Parameters None - subnets (True, list, None) - (Required for new resource) The subnet where this Load Balancer will be provisioned. + name (True, str, None) + (Required for new resource) The load balancer's name. + + + description (False, str, None) + Description of a load balancer. + + + wait_time_minutes (False, int, 90) + None id (False, str, None) diff --git a/docs/ibm_lbaas_health_monitor.rst b/docs/ibm_lbaas_health_monitor.rst index 902415098..ac40d7f94 100644 --- a/docs/ibm_lbaas_health_monitor.rst +++ b/docs/ibm_lbaas_health_monitor.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,22 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - max_retries (False, int, 2) - Maximum retry counts - - - timeout (False, int, 2) - Timeout in seconds - - - url_path (False, str, /) - URL Path - - - monitor_id (True, str, None) - (Required for new resource) Monitor ID - - lbaas_id (True, str, None) (Required for new resource) LBAAS id @@ -60,6 +44,22 @@ Parameters Interval value + max_retries (False, int, 2) + Maximum retry counts + + + timeout (False, int, 2) + Timeout in seconds + + + url_path (False, str, /) + URL Path + + + monitor_id (True, str, None) + (Required for new resource) Monitor ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lbaas_info.rst b/docs/ibm_lbaas_info.rst index df0bbe894..7362af5ba 100644 --- a/docs/ibm_lbaas_info.rst +++ b/docs/ibm_lbaas_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_lbaas_server_instance_attachment.rst b/docs/ibm_lbaas_server_instance_attachment.rst index a6a0cb279..f82ce78d5 100644 --- a/docs/ibm_lbaas_server_instance_attachment.rst +++ b/docs/ibm_lbaas_server_instance_attachment.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_multi_vlan_firewall.rst b/docs/ibm_multi_vlan_firewall.rst index 7bef71fb4..0c80ce035 100644 --- a/docs/ibm_multi_vlan_firewall.rst +++ b/docs/ibm_multi_vlan_firewall.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - firewall_type (True, str, None) - (Required for new resource) Firewall type - - - datacenter (True, str, None) - (Required for new resource) Datacenter name - - pod (True, str, None) (Required for new resource) POD name @@ -44,10 +36,18 @@ Parameters High Availability - [Web Filtering Add-on, NGFW Add-on, AV Add-on] or [Web Filtering Add-on, NGFW Add-on, AV Add-on] + datacenter (True, str, None) + (Required for new resource) Datacenter name + + name (True, str, None) (Required for new resource) name + firewall_type (True, str, None) + (Required for new resource) Firewall type + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_gateway.rst b/docs/ibm_network_gateway.rst index b24548279..acfbdb0bb 100644 --- a/docs/ibm_network_gateway.rst +++ b/docs/ibm_network_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - members (True, list, None) - (Required for new resource) The hardware members of this network Gateway - - - name (True, str, None) - (Required for new resource) The name of the gateway - - ssh_key_ids (False, list, None) None @@ -44,6 +36,14 @@ Parameters None + members (True, list, None) + (Required for new resource) The hardware members of this network Gateway + + + name (True, str, None) + (Required for new resource) The name of the gateway + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_gateway_vlan_association.rst b/docs/ibm_network_gateway_vlan_association.rst index 7d57b6d17..3ab2b6c88 100644 --- a/docs/ibm_network_gateway_vlan_association.rst +++ b/docs/ibm_network_gateway_vlan_association.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_interface_sg_attachment.rst b/docs/ibm_network_interface_sg_attachment.rst index 783e3bc14..2e5334819 100644 --- a/docs/ibm_network_interface_sg_attachment.rst +++ b/docs/ibm_network_interface_sg_attachment.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_public_ip.rst b/docs/ibm_network_public_ip.rst index c0ff38442..d89da341e 100644 --- a/docs/ibm_network_public_ip.rst +++ b/docs/ibm_network_public_ip.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_vlan.rst b/docs/ibm_network_vlan.rst index 4f0a70775..f6f3ac1f3 100644 --- a/docs/ibm_network_vlan.rst +++ b/docs/ibm_network_vlan.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,8 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name + tags (False, list, None) + List of tags type (True, str, None) @@ -44,8 +44,8 @@ Parameters router host name - tags (False, list, None) - List of tags + datacenter (True, str, None) + (Required for new resource) Datacenter name id (False, str, None) diff --git a/docs/ibm_network_vlan_info.rst b/docs/ibm_network_vlan_info.rst index ed561990c..0dbffedc4 100644 --- a/docs/ibm_network_vlan_info.rst +++ b/docs/ibm_network_vlan_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,15 +26,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - number (False, int, None) + name (False, str, None) None - router_hostname (False, str, None) + number (False, int, None) None - name (False, str, None) + router_hostname (False, str, None) None diff --git a/docs/ibm_network_vlan_spanning.rst b/docs/ibm_network_vlan_spanning.rst index fe4f315c6..56a42dfdb 100644 --- a/docs/ibm_network_vlan_spanning.rst +++ b/docs/ibm_network_vlan_spanning.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_object_storage_account.rst b/docs/ibm_object_storage_account.rst index c9c2e353e..319cc704a 100644 --- a/docs/ibm_object_storage_account.rst +++ b/docs/ibm_object_storage_account.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_org.rst b/docs/ibm_org.rst index 1c3cd1e8d..707f18ee4 100644 --- a/docs/ibm_org.rst +++ b/docs/ibm_org.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + org_quota_definition_guid (False, str, None) + Org quota guid + + + billing_managers (False, list, None) + The IBMID of the users who will have billing manager role in this org, ex - user@example.com + + managers (False, list, None) The IBMID of the users who will have manager role in this org, ex - user@example.com @@ -48,14 +56,6 @@ Parameters (Required for new resource) Org name, for example myorg@domain - org_quota_definition_guid (False, str, None) - Org quota guid - - - billing_managers (False, list, None) - The IBMID of the users who will have billing manager role in this org, ex - user@example.com - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_org_info.rst b/docs/ibm_org_info.rst index 30b511e04..596a0ebe0 100644 --- a/docs/ibm_org_info.rst +++ b/docs/ibm_org_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_org_quota_info.rst b/docs/ibm_org_quota_info.rst index ebeb20641..e7169f5ec 100644 --- a/docs/ibm_org_quota_info.rst +++ b/docs/ibm_org_quota_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_instance_info.rst b/docs/ibm_pi_cloud_instance_info.rst index a651d40ac..f73ea67b3 100644 --- a/docs/ibm_pi_cloud_instance_info.rst +++ b/docs/ibm_pi_cloud_instance_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_image.rst b/docs/ibm_pi_image.rst index 1f2067360..c16076782 100644 --- a/docs/ibm_pi_image.rst +++ b/docs/ibm_pi_image.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - pi_image_name (True, str, None) (Required for new resource) Image name @@ -40,6 +36,10 @@ Parameters (Required for new resource) Instance image name + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_image_info.rst b/docs/ibm_pi_image_info.rst index 5a1a31537..86b05bf2a 100644 --- a/docs/ibm_pi_image_info.rst +++ b/docs/ibm_pi_image_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_images_info.rst b/docs/ibm_pi_images_info.rst index 162dee275..f3a3cdd2d 100644 --- a/docs/ibm_pi_images_info.rst +++ b/docs/ibm_pi_images_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance.rst b/docs/ibm_pi_instance.rst index 5a01cb935..87becce27 100644 --- a/docs/ibm_pi_instance.rst +++ b/docs/ibm_pi_instance.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,76 +28,76 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - reboot_for_resource_change (False, str, None) - Flag to be passed for CPU/Memory changes that require a reboot to take effect + pi_proc_type (True, str, None) + (Required for new resource) Instance processor type - pi_replication_scheme (False, str, suffix) - Replication scheme + pi_sys_type (True, str, None) + (Required for new resource) PI Instance system type - pi_key_pair_name (True, str, None) - (Required for new resource) SSH key name + pi_pin_policy (False, str, none) + Pin Policy of the instance - pi_image_id (True, str, None) - (Required for new resource) PI instance image name + pi_health_status (False, str, OK) + Allow the user to set the status of the lpar so that they can connect to it faster - pi_cloud_instance_id (True, str, None) - (Required for new resource) This is the Power Instance id that is assigned to the account + pi_replication_policy (False, str, none) + Replication policy for the PI Instance - pi_user_data (False, str, None) - Base64 encoded data to be passed in for invoking a cloud init script + pi_replication_scheme (False, str, suffix) + Replication scheme - pi_proc_type (True, str, None) - (Required for new resource) Instance processor type + pi_memory (True, float, None) + (Required for new resource) Memory size - pi_sys_type (True, str, None) - (Required for new resource) PI Instance system type + pi_replicants (False, float, 1) + PI Instance replicas count - pi_processors (True, float, None) - (Required for new resource) Processors count + pi_volume_ids (False, list, None) + List of PI volumes - pi_health_status (False, str, OK) - Allow the user to set the status of the lpar so that they can connect to it faster + pi_processors (True, float, None) + (Required for new resource) Processors count - pi_pin_policy (False, str, none) - Pin Policy of the instance + pi_image_id (True, str, None) + (Required for new resource) PI instance image name - pi_memory (True, float, None) - (Required for new resource) Memory size + pi_network_ids (True, list, None) + (Required for new resource) List of Networks that have been configured for the account pi_instance_name (True, str, None) (Required for new resource) PI Instance name - pi_network_ids (True, list, None) - (Required for new resource) List of Networks that have been configured for the account + reboot_for_resource_change (False, str, None) + Flag to be passed for CPU/Memory changes that require a reboot to take effect - pi_volume_ids (False, list, None) - List of PI volumes + pi_virtual_cores_assigned (False, int, None) + Virtual Cores Assigned to the PVMInstance - pi_replicants (False, float, 1) - PI Instance replicas count + pi_cloud_instance_id (True, str, None) + (Required for new resource) This is the Power Instance id that is assigned to the account - pi_replication_policy (False, str, none) - Replication policy for the PI Instance + pi_user_data (False, str, None) + Base64 encoded data to be passed in for invoking a cloud init script - pi_virtual_cores_assigned (False, int, None) - Virtual Cores Assigned to the PVMInstance + pi_key_pair_name (True, str, None) + (Required for new resource) SSH key name id (False, str, None) diff --git a/docs/ibm_pi_instance_info.rst b/docs/ibm_pi_instance_info.rst index e5bcfc43d..eba5d2058 100644 --- a/docs/ibm_pi_instance_info.rst +++ b/docs/ibm_pi_instance_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_ip_info.rst b/docs/ibm_pi_instance_ip_info.rst index b459a0838..11c73b027 100644 --- a/docs/ibm_pi_instance_ip_info.rst +++ b/docs/ibm_pi_instance_ip_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -30,11 +30,11 @@ Parameters Server Name to be used for pvminstances - pi_cloud_instance_id (True, str, None) + pi_network_name (True, str, None) None - pi_network_name (True, str, None) + pi_cloud_instance_id (True, str, None) None diff --git a/docs/ibm_pi_instance_snapshots_info.rst b/docs/ibm_pi_instance_snapshots_info.rst index c9de5c5ad..c31bfaaea 100644 --- a/docs/ibm_pi_instance_snapshots_info.rst +++ b/docs/ibm_pi_instance_snapshots_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_volumes_info.rst b/docs/ibm_pi_instance_volumes_info.rst index ed7af73e9..c741b5b3a 100644 --- a/docs/ibm_pi_instance_volumes_info.rst +++ b/docs/ibm_pi_instance_volumes_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_key.rst b/docs/ibm_pi_key.rst index 97894538e..5637a8ba8 100644 --- a/docs/ibm_pi_key.rst +++ b/docs/ibm_pi_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_key_info.rst b/docs/ibm_pi_key_info.rst index a46372b0c..ce5905d4a 100644 --- a/docs/ibm_pi_key_info.rst +++ b/docs/ibm_pi_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network.rst b/docs/ibm_pi_network.rst index f1d165c9f..3130d6420 100644 --- a/docs/ibm_pi_network.rst +++ b/docs/ibm_pi_network.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,18 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - - pi_network_type (True, str, None) - (Required for new resource) PI network type - - - pi_network_name (True, str, None) - (Required for new resource) PI network name - - pi_dns (False, list, None) List of PI network DNS name @@ -52,6 +40,18 @@ Parameters PI network gateway + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + + pi_network_type (True, str, None) + (Required for new resource) PI network type + + + pi_network_name (True, str, None) + (Required for new resource) PI network name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_network_info.rst b/docs/ibm_pi_network_info.rst index 5341a5eed..7ca6989e7 100644 --- a/docs/ibm_pi_network_info.rst +++ b/docs/ibm_pi_network_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_network_name (True, str, None) - Network Name to be used for pvminstances - - pi_cloud_instance_id (True, str, None) None + pi_network_name (True, str, None) + Network Name to be used for pvminstances + + zone (False, str, None) Denotes which IBM Cloud zone to connect to in multizone environment. This can also be provided via the environment variable 'IC_ZONE'. diff --git a/docs/ibm_pi_network_port.rst b/docs/ibm_pi_network_port.rst index d3b2f68a0..1818a2225 100644 --- a/docs/ibm_pi_network_port.rst +++ b/docs/ibm_pi_network_port.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_network_name (True, str, None) + (Required for new resource) + + pi_cloud_instance_id (True, str, None) (Required for new resource) @@ -40,10 +44,6 @@ Parameters None - pi_network_name (True, str, None) - (Required for new resource) - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_network_port_attach.rst b/docs/ibm_pi_network_port_attach.rst index 45b436ffa..b10e934ff 100644 --- a/docs/ibm_pi_network_port_attach.rst +++ b/docs/ibm_pi_network_port_attach.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - port_id (True, str, None) - (Required for new resource) - - pi_cloud_instance_id (True, str, None) (Required for new resource) @@ -48,6 +44,10 @@ Parameters A human readable description for this network Port + port_id (True, str, None) + (Required for new resource) + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_network_port_info.rst b/docs/ibm_pi_network_port_info.rst index 49b0f0d03..48cffc285 100644 --- a/docs/ibm_pi_network_port_info.rst +++ b/docs/ibm_pi_network_port_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_operations.rst b/docs/ibm_pi_operations.rst index c4f49ef35..8f856d541 100644 --- a/docs/ibm_pi_operations.rst +++ b/docs/ibm_pi_operations.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_operation (True, str, None) + (Required for new resource) PI instance operation type + + pi_cloud_instance_id (True, str, None) (Required for new resource) PI Cloud instnce id @@ -36,10 +40,6 @@ Parameters (Required for new resource) PI instance Operation server name - pi_operation (True, str, None) - (Required for new resource) PI instance operation type - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_public_network_info.rst b/docs/ibm_pi_public_network_info.rst index 85b6c9ed7..8f8c7c1e5 100644 --- a/docs/ibm_pi_public_network_info.rst +++ b/docs/ibm_pi_public_network_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_pvm_snapshots_info.rst b/docs/ibm_pi_pvm_snapshots_info.rst index 105547bc3..cd98a96bf 100644 --- a/docs/ibm_pi_pvm_snapshots_info.rst +++ b/docs/ibm_pi_pvm_snapshots_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_snapshot.rst b/docs/ibm_pi_snapshot.rst index 216d6141f..d9aa498a9 100644 --- a/docs/ibm_pi_snapshot.rst +++ b/docs/ibm_pi_snapshot.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -32,14 +32,14 @@ Parameters (Required for new resource) Unique name of the snapshot - pi_instance_name (True, str, None) - (Required for new resource) Instance name / id of the pvm - - pi_volume_ids (False, list, None) List of PI volumes + pi_instance_name (True, str, None) + (Required for new resource) Instance name / id of the pvm + + pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. diff --git a/docs/ibm_pi_tenant_info.rst b/docs/ibm_pi_tenant_info.rst index d8688e4bc..c5a3ee349 100644 --- a/docs/ibm_pi_tenant_info.rst +++ b/docs/ibm_pi_tenant_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume.rst b/docs/ibm_pi_volume.rst index 725d93797..cdcddd6e6 100644 --- a/docs/ibm_pi_volume.rst +++ b/docs/ibm_pi_volume.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_volume_type (True, str, None) + (Required for new resource) Volume type + + + pi_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. + + pi_volume_name (True, str, None) (Required for new resource) Volume Name to create @@ -40,14 +48,6 @@ Parameters (Required for new resource) Size of the volume in GB - pi_volume_type (True, str, None) - (Required for new resource) Volume type - - - pi_cloud_instance_id (True, str, None) - (Required for new resource) Cloud Instance ID - This is the service_instance_id. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_volume_attach.rst b/docs/ibm_pi_volume_attach.rst index aff2cde68..b3a10b278 100644 --- a/docs/ibm_pi_volume_attach.rst +++ b/docs/ibm_pi_volume_attach.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + volumeattachid (False, str, None) + Volume attachment ID + + pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -48,10 +52,6 @@ Parameters None - volumeattachid (False, str, None) - Volume attachment ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_volume_info.rst b/docs/ibm_pi_volume_info.rst index f6b8fb1b9..dc8f53d48 100644 --- a/docs/ibm_pi_volume_info.rst +++ b/docs/ibm_pi_volume_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_group.rst b/docs/ibm_resource_group.rst index b66bacd9f..ccb0828a3 100644 --- a/docs/ibm_resource_group.rst +++ b/docs/ibm_resource_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The name of the resource group - - tags (False, list, None) None + name (True, str, None) + (Required for new resource) The name of the resource group + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_resource_group_info.rst b/docs/ibm_resource_group_info.rst index 139a23bec..d4e080488 100644 --- a/docs/ibm_resource_group_info.rst +++ b/docs/ibm_resource_group_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,14 +26,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - is_default (False, bool, None) - Default Resource group - - name (False, str, None) Resource group name + is_default (False, bool, None) + Default Resource group + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_resource_instance.rst b/docs/ibm_resource_instance.rst index 6be1641ab..075cf20dd 100644 --- a/docs/ibm_resource_instance.rst +++ b/docs/ibm_resource_instance.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,18 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - service_endpoints (False, str, None) Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - resource_group_id (False, str, None) - The resource group id - - parameters (False, dict, None) Arbitrary parameters to pass. Must be a JSON object @@ -48,8 +40,8 @@ Parameters (Required for new resource) A name for the resource instance - service (True, str, None) - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + resource_group_id (False, str, None) + The resource group id plan (True, str, None) @@ -60,6 +52,14 @@ Parameters (Required for new resource) The location where the instance available + tags (False, list, None) + None + + + service (True, str, None) + (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_resource_instance_info.rst b/docs/ibm_resource_instance_info.rst index 82ee74af4..8e58c99fc 100644 --- a/docs/ibm_resource_instance_info.rst +++ b/docs/ibm_resource_instance_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,10 +26,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - The id of the resource group in which the instance is present - - location (False, str, None) The location or the environment in which instance exists @@ -38,6 +34,10 @@ Parameters The service type of the instance + resource_group_id (False, str, None) + The id of the resource group in which the instance is present + + name (True, str, None) Resource instance name for example, myobjectstorage diff --git a/docs/ibm_resource_key.rst b/docs/ibm_resource_key.rst index 96c6e22ca..5a6e335ed 100644 --- a/docs/ibm_resource_key.rst +++ b/docs/ibm_resource_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,18 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - role (True, str, None) - (Required for new resource) Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. - - - resource_alias_id (False, str, None) - The id of the resource alias for which to create resource key - - - name (True, str, None) - (Required for new resource) The name of the resource key - - resource_instance_id (False, str, None) The id of the resource instance for which to create resource key @@ -52,6 +40,18 @@ Parameters None + name (True, str, None) + (Required for new resource) The name of the resource key + + + role (True, str, None) + (Required for new resource) Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + + + resource_alias_id (False, str, None) + The id of the resource alias for which to create resource key + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_resource_key_info.rst b/docs/ibm_resource_key_info.rst index 853b6addc..9bfddba6a 100644 --- a/docs/ibm_resource_key_info.rst +++ b/docs/ibm_resource_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_quota_info.rst b/docs/ibm_resource_quota_info.rst index 8e0bc775a..04b8662fc 100644 --- a/docs/ibm_resource_quota_info.rst +++ b/docs/ibm_resource_quota_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_output_info.rst b/docs/ibm_schematics_output_info.rst index 868495e61..974ef5dcc 100644 --- a/docs/ibm_schematics_output_info.rst +++ b/docs/ibm_schematics_output_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_state_info.rst b/docs/ibm_schematics_state_info.rst index c6319fd40..3e6d9cc8f 100644 --- a/docs/ibm_schematics_state_info.rst +++ b/docs/ibm_schematics_state_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_workspace_info.rst b/docs/ibm_schematics_workspace_info.rst index ff5eb3d42..bb48435bc 100644 --- a/docs/ibm_schematics_workspace_info.rst +++ b/docs/ibm_schematics_workspace_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_security_group.rst b/docs/ibm_security_group.rst index fdcfc23e5..efc3861c8 100644 --- a/docs/ibm_security_group.rst +++ b/docs/ibm_security_group.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_security_group_info.rst b/docs/ibm_security_group_info.rst index f8c931da6..170703134 100644 --- a/docs/ibm_security_group_info.rst +++ b/docs/ibm_security_group_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,6 +26,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + The name of the security group + + description (False, str, None) The description of the security group @@ -34,10 +38,6 @@ Parameters If true and multiple entries are found, the most recently created group is used. If false, an error is returned - name (True, str, None) - The name of the security group - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_service_instance.rst b/docs/ibm_service_instance.rst index 631481757..2d21c6b16 100644 --- a/docs/ibm_service_instance.rst +++ b/docs/ibm_service_instance.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,14 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (False, dict, None) - Arbitrary parameters to pass along to the service broker. Must be a JSON object - - name (True, str, None) (Required for new resource) A name for the service instance + wait_time_minutes (False, int, 10) + Define timeout to wait for the service instances to succeeded/deleted etc. + + space_guid (True, str, None) (Required for new resource) The guid of the space in which the instance will be created @@ -44,6 +44,10 @@ Parameters (Required for new resource) The name of the service offering like speech_to_text, text_to_speech etc + parameters (False, dict, None) + Arbitrary parameters to pass along to the service broker. Must be a JSON object + + plan (True, str, None) (Required for new resource) The plan type of the service @@ -52,10 +56,6 @@ Parameters None - wait_time_minutes (False, int, 10) - Define timeout to wait for the service instances to succeeded/deleted etc. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_service_instance_info.rst b/docs/ibm_service_instance_info.rst index 89dac0a9a..52f4cba6d 100644 --- a/docs/ibm_service_instance_info.rst +++ b/docs/ibm_service_instance_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_service_key.rst b/docs/ibm_service_key.rst index 1973f1159..0dd741e61 100644 --- a/docs/ibm_service_key.rst +++ b/docs/ibm_service_key.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + None + + name (True, str, None) (Required for new resource) The name of the service key @@ -40,10 +44,6 @@ Parameters Arbitrary parameters to pass along to the service broker. Must be a JSON object - tags (False, list, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_service_key_info.rst b/docs/ibm_service_key_info.rst index 6ca78ca0b..58df47030 100644 --- a/docs/ibm_service_key_info.rst +++ b/docs/ibm_service_key_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -26,6 +26,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + space_guid (True, str, None) + The guid of the space in which the service instance is present + + name (True, str, None) The name of the service key @@ -34,10 +38,6 @@ Parameters Service instance name for example, speech_to_text - space_guid (True, str, None) - The guid of the space in which the service instance is present - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_service_plan_info.rst b/docs/ibm_service_plan_info.rst index 6f45aeafe..af19f385b 100644 --- a/docs/ibm_service_plan_info.rst +++ b/docs/ibm_service_plan_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_space.rst b/docs/ibm_space.rst index 9aeaba8e0..fc22d4694 100644 --- a/docs/ibm_space.rst +++ b/docs/ibm_space.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,10 +28,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - auditors (False, list, None) - The IBMID of the users who will have auditor role in this space, ex - user@example.com - - managers (False, list, None) The IBMID of the users who will have manager role in this space, ex - user@example.com @@ -56,6 +52,10 @@ Parameters (Required for new resource) The org this space belongs to + auditors (False, list, None) + The IBMID of the users who will have auditor role in this space, ex - user@example.com + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_space_info.rst b/docs/ibm_space_info.rst index 2db32a76c..ff710fba9 100644 --- a/docs/ibm_space_info.rst +++ b/docs/ibm_space_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_ssl_certificate.rst b/docs/ibm_ssl_certificate.rst index 2f20d852c..2bf9b32fc 100644 --- a/docs/ibm_ssl_certificate.rst +++ b/docs/ibm_ssl_certificate.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,20 +28,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - technical_contact_same_as_org_address_flag (False, bool, False) - Technical contact same as org address flag - - billing_address_same_as_organization_flag (False, bool, False) billing address same as organization flag - technical_contact (True, list, None) - (Required for new resource) Technical contact info - - - validity_months (True, int, None) - (Required for new resource) vslidity of the ssl certificate in month + administrative_contact (False, list, None) + None ssl_type (True, str, None) @@ -52,44 +44,52 @@ Parameters Renewal flag - order_approver_email_address (True, str, None) - (Required for new resource) Email address of the approver + technical_contact_same_as_org_address_flag (False, bool, False) + Technical contact same as org address flag billing_contact (False, list, None) None - administrative_contact (False, list, None) - None - - - server_type (True, str, None) - (Required for new resource) server type + validity_months (True, int, None) + (Required for new resource) vslidity of the ssl certificate in month - administrative_address_same_as_organization_flag (False, bool, False) - administrative address same as organization flag + order_approver_email_address (True, str, None) + (Required for new resource) Email address of the approver - organization_information (True, list, None) - (Required for new resource) Organization information + administrative_contact_same_as_technical_flag (False, bool, False) + Administrative contact same as technical flag billing_contact_same_as_technical_flag (False, bool, False) billing contact + server_count (True, int, None) + (Required for new resource) Server count + + + server_type (True, str, None) + (Required for new resource) server type + + certificate_signing_request (True, str, None) (Required for new resource) certificate signing request info - administrative_contact_same_as_technical_flag (False, bool, False) - Administrative contact same as technical flag + administrative_address_same_as_organization_flag (False, bool, False) + administrative address same as organization flag - server_count (True, int, None) - (Required for new resource) Server count + organization_information (True, list, None) + (Required for new resource) Organization information + + + technical_contact (True, list, None) + (Required for new resource) Technical contact info id (False, str, None) diff --git a/docs/ibm_storage_block.rst b/docs/ibm_storage_block.rst index 09868acae..00c682816 100644 --- a/docs/ibm_storage_block.rst +++ b/docs/ibm_storage_block.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,52 +28,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name - - - snapshot_capacity (False, int, None) - Snapshot capacity in GB - - - allowed_virtual_guest_ids (False, list, None) - List of allowed virtual guest IDs - - allowed_hardware_ids (False, list, None) List of allowe hardware IDs - hourly_billing (False, bool, False) - Billing done hourly, if set to true + allowed_ip_addresses (False, list, None) + Allowed IP addresses type (True, str, None) (Required for new resource) Storage block type - notes (False, str, None) - Additional note info + datacenter (True, str, None) + (Required for new resource) Datacenter name + + + snapshot_capacity (False, int, None) + Snapshot capacity in GB tags (False, list, None) List of tags associated with the resource + hourly_billing (False, bool, False) + Billing done hourly, if set to true + + iops (True, float, None) (Required for new resource) IOPS value required - allowed_ip_addresses (False, list, None) - Allowed IP addresses + os_format_type (True, str, None) + (Required for new resource) OS formatr type + + + notes (False, str, None) + Additional note info capacity (True, int, None) (Required for new resource) Storage block size - os_format_type (True, str, None) - (Required for new resource) OS formatr type + allowed_virtual_guest_ids (False, list, None) + List of allowed virtual guest IDs id (False, str, None) diff --git a/docs/ibm_storage_evault.rst b/docs/ibm_storage_evault.rst index b6a917899..da6701470 100644 --- a/docs/ibm_storage_evault.rst +++ b/docs/ibm_storage_evault.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_storage_file.rst b/docs/ibm_storage_file.rst index 9951cbd61..e6d1e5773 100644 --- a/docs/ibm_storage_file.rst +++ b/docs/ibm_storage_file.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,56 +28,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name - - - iops (True, float, None) - (Required for new resource) iops rate - - allowed_subnets (False, list, None) Allowed network subnets - hourly_billing (False, bool, False) - Hourly based billing type + allowed_ip_addresses (False, list, None) + Allowed range of IP addresses - snapshot_schedule (False, list, None) - None + type (True, str, None) + (Required for new resource) Storage type + + + capacity (True, int, None) + (Required for new resource) Storage capacity tags (False, list, None) Tags set for the storage volume - capacity (True, int, None) - (Required for new resource) Storage capacity + snapshot_capacity (False, int, None) + Snapshot capacity allowed_hardware_ids (False, list, None) Hardaware ID - notes (False, str, None) - Notes + iops (True, float, None) + (Required for new resource) iops rate - type (True, str, None) - (Required for new resource) Storage type + allowed_virtual_guest_ids (False, list, None) + Virtual guest ID - snapshot_capacity (False, int, None) - Snapshot capacity + notes (False, str, None) + Notes - allowed_virtual_guest_ids (False, list, None) - Virtual guest ID + snapshot_schedule (False, list, None) + None - allowed_ip_addresses (False, list, None) - Allowed range of IP addresses + hourly_billing (False, bool, False) + Hourly based billing type + + + datacenter (True, str, None) + (Required for new resource) Datacenter name id (False, str, None) diff --git a/docs/ibm_subnet.rst b/docs/ibm_subnet.rst index 6d6f01bab..03d46fb06 100644 --- a/docs/ibm_subnet.rst +++ b/docs/ibm_subnet.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,8 +28,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - capacity (True, int, None) - (Required for new resource) number of ip addresses in the subnet + tags (False, list, None) + tags set for the resource type (True, str, None) @@ -40,10 +40,18 @@ Parameters ip version + capacity (True, int, None) + (Required for new resource) number of ip addresses in the subnet + + vlan_id (False, int, None) VLAN ID for the subnet + private (False, bool, False) + private subnet + + endpoint_ip (False, str, None) endpoint IP @@ -52,14 +60,6 @@ Parameters Notes - tags (False, list, None) - tags set for the resource - - - private (False, bool, False) - private subnet - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_connection.rst b/docs/ibm_tg_connection.rst index 64e42ede9..ea8c956ee 100644 --- a/docs/ibm_tg_connection.rst +++ b/docs/ibm_tg_connection.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + network_id (False, str, None) + The ID of the network being connected via this connection. This field is required for some types, such as 'vpc'. For network type 'vpc' this is the CRN of the VPC to be connected. This field is required to be unspecified for network type 'classic'. + + + network_account_id (False, str, None) + The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. + + gateway (True, str, None) (Required for new resource) The Transit Gateway identifier @@ -36,18 +44,10 @@ Parameters (Required for new resource) Defines what type of network is connected via this connection.Allowable values (classic,vpc) - network_id (False, str, None) - The ID of the network being connected via this connection. This field is required for some types, such as 'vpc'. For network type 'vpc' this is the CRN of the VPC to be connected. This field is required to be unspecified for network type 'classic'. - - name (False, str, None) The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). - network_account_id (False, str, None) - The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_gateway.rst b/docs/ibm_tg_gateway.rst index 4545b4a5e..9547616e2 100644 --- a/docs/ibm_tg_gateway.rst +++ b/docs/ibm_tg_gateway.rst @@ -20,7 +20,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 @@ -28,6 +28,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + global_ (False, bool, False) + Allow global routing for a Transit Gateway. If unspecified, the default value is false + + tags (False, list, None) Tags for the transit gateway instance @@ -36,18 +40,14 @@ Parameters (Required for new resource) Name Transit Gateway Services - global_ (False, bool, False) - Allow global routing for a Transit Gateway. If unspecified, the default value is false + resource_group (False, str, None) + None location (True, str, None) (Required for new resource) Location of Transit Gateway Services - resource_group (False, str, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_gateway_info.rst b/docs/ibm_tg_gateway_info.rst index f732ee210..ba848833e 100644 --- a/docs/ibm_tg_gateway_info.rst +++ b/docs/ibm_tg_gateway_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_gateways_info.rst b/docs/ibm_tg_gateways_info.rst index 5dbe34b11..a4da0b29c 100644 --- a/docs/ibm_tg_gateways_info.rst +++ b/docs/ibm_tg_gateways_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_location_info.rst b/docs/ibm_tg_location_info.rst index c8f8fa19f..e48772922 100644 --- a/docs/ibm_tg_location_info.rst +++ b/docs/ibm_tg_location_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_locations_info.rst b/docs/ibm_tg_locations_info.rst index 5f508a5e3..4ac54c34d 100644 --- a/docs/ibm_tg_locations_info.rst +++ b/docs/ibm_tg_locations_info.rst @@ -18,7 +18,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.19.0 +- IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 diff --git a/plugins/modules/ibm_account_info.py b/plugins/modules/ibm_account_info.py index 77816c461..2fd495534 100644 --- a/plugins/modules/ibm_account_info.py +++ b/plugins/modules/ibm_account_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_account' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_account', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_api_gateway_endpoint.py b/plugins/modules/ibm_api_gateway_endpoint.py index 109cc71e9..acd2e7435 100644 --- a/plugins/modules/ibm_api_gateway_endpoint.py +++ b/plugins/modules/ibm_api_gateway_endpoint.py @@ -16,13 +16,13 @@ - Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + service_instance_crn: description: - - (Required for new resource) Endpoint name + - (Required for new resource) Api Gateway Service Instance Crn required: True type: str routes: @@ -31,22 +31,22 @@ required: False type: list elements: str - service_instance_crn: + managed: description: - - (Required for new resource) Api Gateway Service Instance Crn - required: True - type: str + - Managed indicates if endpoint is online or offline. + required: False + type: bool + default: False open_api_doc_name: description: - (Required for new resource) Json File path required: True type: str - managed: + name: description: - - Managed indicates if endpoint is online or offline. - required: False - type: bool - default: False + - (Required for new resource) Endpoint name + required: True + type: str provider_id: description: - Provider ID of an endpoint allowable values user-defined and whisk @@ -105,18 +105,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('service_instance_crn', 'str'), ('open_api_doc_name', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'routes', 'service_instance_crn', - 'open_api_doc_name', + 'routes', 'managed', + 'open_api_doc_name', + 'name', 'provider_id', 'type', ] @@ -135,22 +135,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + service_instance_crn=dict( required=False, type='str'), routes=dict( required=False, elements='', type='list'), - service_instance_crn=dict( + managed=dict( required=False, - type='str'), + type='bool'), open_api_doc_name=dict( required=False, type='str'), - managed=dict( + name=dict( required=False, - type='bool'), + type='str'), provider_id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_api_gateway_endpoint', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_api_gateway_endpoint_subscription.py b/plugins/modules/ibm_api_gateway_endpoint_subscription.py index 76e2cedc0..3c11777b1 100644 --- a/plugins/modules/ibm_api_gateway_endpoint_subscription.py +++ b/plugins/modules/ibm_api_gateway_endpoint_subscription.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint_subscription' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - artifact_id: - description: - - (Required for new resource) Endpoint ID - required: True - type: str client_id: description: - Subscription Id, API key that is used to create subscription @@ -50,6 +45,11 @@ - Indicates if Client Sercret has to be autogenerated required: False type: bool + artifact_id: + description: + - (Required for new resource) Endpoint ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,19 +96,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('artifact_id', 'str'), ('name', 'str'), ('type', 'str'), + ('artifact_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'artifact_id', 'client_id', 'name', 'type', 'client_secret', 'generate_secret', + 'artifact_id', ] # Params for Data source @@ -127,9 +127,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - artifact_id=dict( - required=False, - type='str'), client_id=dict( required=False, type='str'), @@ -145,6 +142,9 @@ generate_secret=dict( required=False, type='bool'), + artifact_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -210,7 +210,7 @@ def run_module(): resource_type='ibm_api_gateway_endpoint_subscription', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_api_gateway_info.py b/plugins/modules/ibm_api_gateway_info.py index bc9fcd259..a67063ae4 100644 --- a/plugins/modules/ibm_api_gateway_info.py +++ b/plugins/modules/ibm_api_gateway_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_api_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_api_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app.py b/plugins/modules/ibm_app.py index 420fd804a..0f46f18f9 100644 --- a/plugins/modules/ibm_app.py +++ b/plugins/modules/ibm_app.py @@ -16,79 +16,74 @@ - Create, update or destroy an IBM Cloud 'ibm_app' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - command: - description: - - The initial command for the app - required: False - type: str - memory: - description: - - The amount of memory each instance should have. In megabytes. - required: False - type: int - disk_quota: + health_check_timeout: description: - - The maximum amount of disk available to an instance of an app. In megabytes. + - Timeout in seconds for health checking of an staged app when starting up. required: False type: int - buildpack: + name: description: - - Buildpack to build the app. 3 options: a) Blank means autodetection; b) A Git Url pointing to a buildpack; c) Name of an installed buildpack. - required: False + - (Required for new resource) The name for the app + required: True type: str - health_check_http_endpoint: + instances: description: - - Endpoint called to determine if the app is healthy. + - The number of instances required: False - type: str + type: int + default: 1 health_check_type: description: - Type of health check to perform. required: False type: str default: port - health_check_timeout: + app_path: description: - - Timeout in seconds for health checking of an staged app when starting up. + - (Required for new resource) Define the path of the zip file of the application. + required: True + type: str + memory: + description: + - The amount of memory each instance should have. In megabytes. required: False type: int - wait_time_minutes: + disk_quota: description: - - Define timeout to wait for the app instances to start/update/restage etc. + - The maximum amount of disk available to an instance of an app. In megabytes. required: False type: int - default: 20 - instances: + environment_json: description: - - The number of instances + - Key/value pairs of all the environment variables to run in your app. Does not include any system or service variables. + required: False + type: dict + wait_time_minutes: + description: + - Define timeout to wait for the app instances to start/update/restage etc. required: False type: int - default: 1 + default: 20 route_guid: description: - Define the route guids which should be bound to the application. required: False type: list elements: str - app_version: - description: - - Version of the application - required: False - type: str service_instance_guid: description: - Define the service instance guids that should be bound to this application. required: False type: list elements: str - app_path: + command: description: - - (Required for new resource) Define the path of the zip file of the application. - required: True + - The initial command for the app + required: False type: str tags: description: @@ -96,21 +91,26 @@ required: False type: list elements: str - name: + health_check_http_endpoint: description: - - (Required for new resource) The name for the app - required: True + - Endpoint called to determine if the app is healthy. + required: False type: str space_guid: description: - (Required for new resource) Define space guid to which app belongs required: True type: str - environment_json: + buildpack: description: - - Key/value pairs of all the environment variables to run in your app. Does not include any system or service variables. + - Buildpack to build the app. 3 options: a) Blank means autodetection; b) A Git Url pointing to a buildpack; c) Name of an installed buildpack. required: False - type: dict + type: str + app_version: + description: + - Version of the application + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -157,41 +157,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('app_path', 'str'), ('name', 'str'), + ('app_path', 'str'), ('space_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'command', + 'health_check_timeout', + 'name', + 'instances', + 'health_check_type', + 'app_path', 'memory', 'disk_quota', - 'buildpack', - 'health_check_http_endpoint', - 'health_check_type', - 'health_check_timeout', + 'environment_json', 'wait_time_minutes', - 'instances', 'route_guid', - 'app_version', 'service_instance_guid', - 'app_path', + 'command', 'tags', - 'name', + 'health_check_http_endpoint', 'space_guid', - 'environment_json', + 'buildpack', + 'app_version', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('space_guid', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'space_guid', + 'name', ] TL_CONFLICTS_MAP = { @@ -201,60 +201,60 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - command=dict( - required=False, - type='str'), - memory=dict( - required=False, - type='int'), - disk_quota=dict( + health_check_timeout=dict( required=False, type='int'), - buildpack=dict( + name=dict( required=False, type='str'), - health_check_http_endpoint=dict( + instances=dict( required=False, - type='str'), + type='int'), health_check_type=dict( required=False, type='str'), - health_check_timeout=dict( + app_path=dict( + required=False, + type='str'), + memory=dict( required=False, type='int'), - wait_time_minutes=dict( + disk_quota=dict( required=False, type='int'), - instances=dict( + environment_json=dict( + required=False, + type='dict'), + wait_time_minutes=dict( required=False, type='int'), route_guid=dict( required=False, elements='', type='list'), - app_version=dict( - required=False, - type='str'), service_instance_guid=dict( required=False, elements='', type='list'), - app_path=dict( + command=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - name=dict( + health_check_http_endpoint=dict( required=False, type='str'), space_guid=dict( required=False, type='str'), - environment_json=dict( + buildpack=dict( required=False, - type='dict'), + type='str'), + app_version=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -320,7 +320,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -329,7 +329,7 @@ def run_module(): resource_type='ibm_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_domain_private.py b/plugins/modules/ibm_app_domain_private.py index e0564e7de..e8e258fda 100644 --- a/plugins/modules/ibm_app_domain_private.py +++ b/plugins/modules/ibm_app_domain_private.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_private' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_domain_private_info.py b/plugins/modules/ibm_app_domain_private_info.py index cf3948154..9665a21a5 100644 --- a/plugins/modules/ibm_app_domain_private_info.py +++ b/plugins/modules/ibm_app_domain_private_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_domain_private' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_domain_shared.py b/plugins/modules/ibm_app_domain_shared.py index bd3474d83..72e04a504 100644 --- a/plugins/modules/ibm_app_domain_shared.py +++ b/plugins/modules/ibm_app_domain_shared.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_shared' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_domain_shared_info.py b/plugins/modules/ibm_app_domain_shared_info.py index e32c1cf08..b1b06af2b 100644 --- a/plugins/modules/ibm_app_domain_shared_info.py +++ b/plugins/modules/ibm_app_domain_shared_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_domain_shared' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_info.py b/plugins/modules/ibm_app_info.py index ec26f382c..e384c5000 100644 --- a/plugins/modules/ibm_app_info.py +++ b/plugins/modules/ibm_app_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_app' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + space_guid: description: - - The name for the app + - Define space guid to which app belongs required: True type: str - space_guid: + name: description: - - Define space guid to which app belongs + - The name for the app required: True type: str iaas_classic_username: @@ -62,14 +62,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('space_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'space_guid', + 'name', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + space_guid=dict( required=True, type='str'), - space_guid=dict( + name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_route.py b/plugins/modules/ibm_app_route.py index 216404f38..e3ac71d66 100644 --- a/plugins/modules/ibm_app_route.py +++ b/plugins/modules/ibm_app_route.py @@ -16,10 +16,25 @@ - Create, update or destroy an IBM Cloud 'ibm_app_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + host: + description: + - The host portion of the route. Required for shared-domains. + required: False + type: str + space_guid: + description: + - (Required for new resource) The guid of the associated space + required: True + type: str + domain_guid: + description: + - (Required for new resource) The guid of the associated domain + required: True + type: str port: description: - The port of the route. Supported for domains of TCP router groups only. @@ -36,21 +51,6 @@ required: False type: list elements: str - host: - description: - - The host portion of the route. Required for shared-domains. - required: False - type: str - space_guid: - description: - - (Required for new resource) The guid of the associated space - required: True - type: str - domain_guid: - description: - - (Required for new resource) The guid of the associated domain - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,12 +103,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'port', - 'path', - 'tags', 'host', 'space_guid', 'domain_guid', + 'port', + 'path', + 'tags', ] # Params for Data source @@ -118,11 +118,11 @@ ] TL_ALL_PARAMETERS_DS = [ - 'space_guid', - 'domain_guid', 'host', 'path', 'port', + 'space_guid', + 'domain_guid', ] TL_CONFLICTS_MAP = { @@ -132,6 +132,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + host=dict( + required=False, + type='str'), + space_guid=dict( + required=False, + type='str'), + domain_guid=dict( + required=False, + type='str'), port=dict( required=False, type='int'), @@ -142,15 +151,6 @@ required=False, elements='', type='list'), - host=dict( - required=False, - type='str'), - space_guid=dict( - required=False, - type='str'), - domain_guid=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_route_info.py b/plugins/modules/ibm_app_route_info.py index 5db1656f5..0d808482b 100644 --- a/plugins/modules/ibm_app_route_info.py +++ b/plugins/modules/ibm_app_route_info.py @@ -15,20 +15,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - space_guid: - description: - - The guid of the space - required: True - type: str - domain_guid: - description: - - The guid of the domain - required: True - type: str host: description: - The host of the route @@ -44,6 +34,16 @@ - The port of the route required: False type: str + space_guid: + description: + - The guid of the space + required: True + type: str + domain_guid: + description: + - The guid of the domain + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -83,11 +83,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'space_guid', - 'domain_guid', 'host', 'path', 'port', + 'space_guid', + 'domain_guid', ] @@ -98,12 +98,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - space_guid=dict( - required=True, - type='str'), - domain_guid=dict( - required=True, - type='str'), host=dict( required=False, type='str'), @@ -113,6 +107,12 @@ port=dict( required=False, type='str'), + space_guid=dict( + required=True, + type='str'), + domain_guid=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -147,7 +147,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cdn.py b/plugins/modules/ibm_cdn.py index 0bbd9eea0..8e48dffd6 100644 --- a/plugins/modules/ibm_cdn.py +++ b/plugins/modules/ibm_cdn.py @@ -16,70 +16,63 @@ - Create, update or destroy an IBM Cloud 'ibm_cdn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - vendor_name: - description: - - Vendor name - required: False - type: str - default: akamai origin_type: description: - Origin type info required: False type: str default: HOST_SERVER - http_port: - description: - - HTTP port number - required: False - type: int - default: 80 - https_port: - description: - - HTTPS port number - required: False - type: int - default: 443 file_extension: description: - File extension info required: False type: str + host_name: + description: + - (Required for new resource) Host name + required: True + type: str cache_key_query_rule: description: - query rule info required: False type: str default: include-all - host_name: + certificate_type: description: - - (Required for new resource) Host name - required: True + - Certificate type + required: False + type: str + path: + description: + - Path details + required: False type: str + default: /* origin_address: description: - (Required for new resource) origin address info required: True type: str - protocol: + http_port: description: - - Protocol name + - HTTP port number required: False - type: str - default: HTTP - respect_headers: + type: int + default: 80 + https_port: description: - - respect headers info + - HTTPS port number required: False - type: bool - default: True - bucket_name: + type: int + default: 443 + header: description: - - Bucket name + - Header info required: False type: str cname: @@ -87,28 +80,35 @@ - cname info required: False type: str - certificate_type: + respect_headers: description: - - Certificate type + - respect headers info required: False - type: str + type: bool + default: True performance_configuration: description: - performance configuration info required: False type: str default: General web delivery - header: + vendor_name: description: - - Header info + - Vendor name required: False type: str - path: + default: akamai + bucket_name: description: - - Path details + - Bucket name required: False type: str - default: /* + protocol: + description: + - Protocol name + required: False + type: str + default: HTTP id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -161,22 +161,22 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vendor_name', 'origin_type', - 'http_port', - 'https_port', 'file_extension', - 'cache_key_query_rule', 'host_name', + 'cache_key_query_rule', + 'certificate_type', + 'path', 'origin_address', - 'protocol', - 'respect_headers', - 'bucket_name', + 'http_port', + 'https_port', + 'header', 'cname', - 'certificate_type', + 'respect_headers', 'performance_configuration', - 'header', - 'path', + 'vendor_name', + 'bucket_name', + 'protocol', ] # Params for Data source @@ -193,52 +193,52 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vendor_name=dict( - required=False, - type='str'), origin_type=dict( required=False, type='str'), - http_port=dict( - required=False, - type='int'), - https_port=dict( - required=False, - type='int'), file_extension=dict( required=False, type='str'), + host_name=dict( + required=False, + type='str'), cache_key_query_rule=dict( required=False, type='str'), - host_name=dict( + certificate_type=dict( required=False, type='str'), - origin_address=dict( + path=dict( required=False, type='str'), - protocol=dict( + origin_address=dict( required=False, type='str'), - respect_headers=dict( + http_port=dict( required=False, - type='bool'), - bucket_name=dict( + type='int'), + https_port=dict( + required=False, + type='int'), + header=dict( required=False, type='str'), cname=dict( required=False, type='str'), - certificate_type=dict( + respect_headers=dict( required=False, - type='str'), + type='bool'), performance_configuration=dict( required=False, type='str'), - header=dict( + vendor_name=dict( required=False, type='str'), - path=dict( + bucket_name=dict( + required=False, + type='str'), + protocol=dict( required=False, type='str'), id=dict( @@ -306,7 +306,7 @@ def run_module(): resource_type='ibm_cdn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_certificate_info.py b/plugins/modules/ibm_certificate_manager_certificate_info.py index 4b9c28262..6059591ae 100644 --- a/plugins/modules/ibm_certificate_manager_certificate_info.py +++ b/plugins/modules/ibm_certificate_manager_certificate_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_certificate_manager_certificate' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_certificate_manager_certificate', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_certificates_info.py b/plugins/modules/ibm_certificate_manager_certificates_info.py index 00bea5b1d..7d65fb416 100644 --- a/plugins/modules/ibm_certificate_manager_certificates_info.py +++ b/plugins/modules/ibm_certificate_manager_certificates_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_certificate_manager_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_certificate_manager_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_import.py b/plugins/modules/ibm_certificate_manager_import.py index 46a7e14f7..bd0656bc4 100644 --- a/plugins/modules/ibm_certificate_manager_import.py +++ b/plugins/modules/ibm_certificate_manager_import.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_certificate_manager_import' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,11 +25,6 @@ - (Required for new resource) Instance ID of the certificate manager resource required: True type: str - description: - description: - - Description of the certificate instance - required: False - type: str name: description: - (Required for new resource) Name of the instance @@ -41,6 +36,11 @@ required: True type: dict elements: dict + description: + description: + - Description of the certificate instance + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,9 +95,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'certificate_manager_instance_id', - 'description', 'name', 'data', + 'description', ] # Params for Data source @@ -117,9 +117,6 @@ certificate_manager_instance_id=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -127,6 +124,9 @@ required=False, elements='', type='dict'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_certificate_manager_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_order.py b/plugins/modules/ibm_certificate_manager_order.py index 8e47f2594..b655bd9a6 100644 --- a/plugins/modules/ibm_certificate_manager_order.py +++ b/plugins/modules/ibm_certificate_manager_order.py @@ -16,60 +16,60 @@ - Create, update or destroy an IBM Cloud 'ibm_certificate_manager_order' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - rotate_keys: + renew_certificate: description: - - Keys are sorated if set to true + - Invokes renew functionality required: False type: bool default: False - key_algorithm: - description: - - Keyalgorithm info - required: False - type: str - default: rsaEncryption 2048 bit - description: - description: - - Certicate description - required: False - type: str domain_validation_method: description: - Domain validation methods required: False type: str default: dns-01 - name: + auto_renew_enabled: description: - - (Required for new resource) Certificate name - required: True - type: str - renew_certificate: + - None + required: False + type: bool + default: False + rotate_keys: description: - - Invokes renew functionality + - Keys are sorated if set to true required: False type: bool default: False + description: + description: + - Certicate description + required: False + type: str dns_provider_instance_crn: description: - DNS provider instance CRN required: False type: str - auto_renew_enabled: + key_algorithm: description: - - None + - Keyalgorithm info required: False - type: bool - default: False + type: str + default: rsaEncryption 2048 bit certificate_manager_instance_id: description: - (Required for new resource) Certificate manager instance ID required: True type: str + name: + description: + - (Required for new resource) Certificate name + required: True + type: str domains: description: - (Required for new resource) List of domain names @@ -122,22 +122,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('certificate_manager_instance_id', 'str'), + ('name', 'str'), ('domains', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'renew_certificate', + 'domain_validation_method', + 'auto_renew_enabled', 'rotate_keys', - 'key_algorithm', 'description', - 'domain_validation_method', - 'name', - 'renew_certificate', 'dns_provider_instance_crn', - 'auto_renew_enabled', + 'key_algorithm', 'certificate_manager_instance_id', + 'name', 'domains', ] @@ -155,33 +155,33 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - rotate_keys=dict( + renew_certificate=dict( required=False, type='bool'), - key_algorithm=dict( - required=False, - type='str'), - description=dict( - required=False, - type='str'), domain_validation_method=dict( required=False, type='str'), - name=dict( + auto_renew_enabled=dict( required=False, - type='str'), - renew_certificate=dict( + type='bool'), + rotate_keys=dict( required=False, type='bool'), + description=dict( + required=False, + type='str'), dns_provider_instance_crn=dict( required=False, type='str'), - auto_renew_enabled=dict( + key_algorithm=dict( required=False, - type='bool'), + type='str'), certificate_manager_instance_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), domains=dict( required=False, elements='', @@ -251,7 +251,7 @@ def run_module(): resource_type='ibm_certificate_manager_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis.py b/plugins/modules/ibm_cis.py index aec8118ea..90f4048a7 100644 --- a/plugins/modules/ibm_cis.py +++ b/plugins/modules/ibm_cis.py @@ -16,36 +16,36 @@ - Create, update or destroy an IBM Cloud 'ibm_cis' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) A name for the resource instance - required: True - type: str - plan: - description: - - (Required for new resource) The plan type of the service - required: True - type: str location: description: - (Required for new resource) The location where the instance available required: True type: str - resource_group_id: - description: - - The resource group id - required: False - type: str tags: description: - None required: False type: list elements: str + resource_group_id: + description: + - The resource group id + required: False + type: str + name: + description: + - (Required for new resource) A name for the resource instance + required: True + type: str + plan: + description: + - (Required for new resource) The plan type of the service + required: True + type: str parameters: description: - Arbitrary parameters to pass. Must be a JSON object @@ -97,18 +97,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('location', 'str'), ('name', 'str'), ('plan', 'str'), - ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'plan', 'location', - 'resource_group_id', 'tags', + 'resource_group_id', + 'name', + 'plan', 'parameters', ] @@ -129,22 +129,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + location=dict( required=False, type='str'), - plan=dict( + tags=dict( required=False, - type='str'), - location=dict( + elements='', + type='list'), + resource_group_id=dict( required=False, type='str'), - resource_group_id=dict( + name=dict( required=False, type='str'), - tags=dict( + plan=dict( required=False, - elements='', - type='list'), + type='str'), parameters=dict( required=False, type='dict'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_cis', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_cache_settings.py b/plugins/modules/ibm_cis_cache_settings.py index 291d78ff0..392a82fd6 100644 --- a/plugins/modules/ibm_cis_cache_settings.py +++ b/plugins/modules/ibm_cis_cache_settings.py @@ -16,15 +16,30 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_cache_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str caching_level: description: - Cache level setting required: False type: str + development_mode: + description: + - Development mode setting + required: False + type: str + query_string_sort: + description: + - Query String sort setting + required: False + type: str purge_by_tags: description: - Purge by tags @@ -47,16 +62,6 @@ - Browser Expiration setting required: False type: int - development_mode: - description: - - Development mode setting - required: False - type: str - query_string_sort: - description: - - Query String sort setting - required: False - type: str purge_all: description: - Purge all setting @@ -68,11 +73,6 @@ required: False type: list elements: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -119,22 +119,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain_id', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'domain_id', 'caching_level', + 'development_mode', + 'query_string_sort', 'purge_by_tags', 'purge_by_hosts', 'cis_id', 'browser_expiration', - 'development_mode', - 'query_string_sort', 'purge_all', 'purge_by_urls', - 'domain_id', ] # Params for Data source @@ -155,9 +155,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + domain_id=dict( + required=False, + type='str'), caching_level=dict( required=False, type='str'), + development_mode=dict( + required=False, + type='str'), + query_string_sort=dict( + required=False, + type='str'), purge_by_tags=dict( required=False, elements='', @@ -172,12 +181,6 @@ browser_expiration=dict( required=False, type='int'), - development_mode=dict( - required=False, - type='str'), - query_string_sort=dict( - required=False, - type='str'), purge_all=dict( required=False, type='bool'), @@ -185,9 +188,6 @@ required=False, elements='', type='list'), - domain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_certificate_order.py b/plugins/modules/ibm_cis_certificate_order.py index d5b928f3c..0385c77a8 100644 --- a/plugins/modules/ibm_cis_certificate_order.py +++ b/plugins/modules/ibm_cis_certificate_order.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_certificate_order' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cis_certificate_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_certificate_upload.py b/plugins/modules/ibm_cis_certificate_upload.py index adfcf4dbc..f303ae538 100644 --- a/plugins/modules/ibm_cis_certificate_upload.py +++ b/plugins/modules/ibm_cis_certificate_upload.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_certificate_upload' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,19 +25,14 @@ - (Required for new resource) CIS instance crn required: True type: str - private_key: + domain_id: description: - - (Required for new resource) Certificate private key + - (Required for new resource) Associated CIS domain required: True type: str - priority: - description: - - Certificate priority - required: False - type: int - domain_id: + private_key: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) Certificate private key required: True type: str certificate: @@ -51,6 +46,11 @@ required: False type: str default: ubiquitous + priority: + description: + - Certificate priority + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,19 +98,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cis_id', 'str'), - ('private_key', 'str'), ('domain_id', 'str'), + ('private_key', 'str'), ('certificate', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cis_id', - 'private_key', - 'priority', 'domain_id', + 'private_key', 'certificate', 'bundle_method', + 'priority', ] # Params for Data source @@ -130,13 +130,10 @@ cis_id=dict( required=False, type='str'), - private_key=dict( + domain_id=dict( required=False, type='str'), - priority=dict( - required=False, - type='int'), - domain_id=dict( + private_key=dict( required=False, type='str'), certificate=dict( @@ -145,6 +142,9 @@ bundle_method=dict( required=False, type='str'), + priority=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -210,7 +210,7 @@ def run_module(): resource_type='ibm_cis_certificate_upload', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_certificates_info.py b/plugins/modules/ibm_cis_certificates_info.py index 003fba53b..8c740eaa1 100644 --- a/plugins/modules/ibm_cis_certificates_info.py +++ b/plugins/modules/ibm_cis_certificates_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_custom_certificates_info.py b/plugins/modules/ibm_cis_custom_certificates_info.py index 34a4ec2db..02edb2020 100644 --- a/plugins/modules/ibm_cis_custom_certificates_info.py +++ b/plugins/modules/ibm_cis_custom_certificates_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_custom_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_custom_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_custom_page.py b/plugins/modules/ibm_cis_custom_page.py index 6411485d7..612ad1d03 100644 --- a/plugins/modules/ibm_cis_custom_page.py +++ b/plugins/modules/ibm_cis_custom_page.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_custom_page' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - page_id: - description: - - (Required for new resource) Custom page identifier - required: True - type: str cis_id: description: - (Required for new resource) CIS instance crn @@ -35,6 +30,11 @@ - (Required for new resource) Associated CIS domain required: True type: str + page_id: + description: + - (Required for new resource) Custom page identifier + required: True + type: str url: description: - (Required for new resource) Custom page url @@ -86,17 +86,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('page_id', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), + ('page_id', 'str'), ('url', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'page_id', 'cis_id', 'domain_id', + 'page_id', 'url', ] @@ -114,15 +114,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - page_id=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), domain_id=dict( required=False, type='str'), + page_id=dict( + required=False, + type='str'), url=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_cis_custom_page', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_custom_pages_info.py b/plugins/modules/ibm_cis_custom_pages_info.py index 72766d10e..0277956ad 100644 --- a/plugins/modules/ibm_cis_custom_pages_info.py +++ b/plugins/modules/ibm_cis_custom_pages_info.py @@ -15,16 +15,16 @@ description: - Retrieve an IBM Cloud 'ibm_cis_custom_pages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - domain_id: + cis_id: description: - None required: True type: str - cis_id: + domain_id: description: - None required: True @@ -62,14 +62,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', 'cis_id', + 'domain_id', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( + cis_id=dict( required=True, type='str'), - cis_id=dict( + domain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_custom_pages', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_dns_record.py b/plugins/modules/ibm_cis_dns_record.py index 2b09e9489..ad1068a8e 100644 --- a/plugins/modules/ibm_cis_dns_record.py +++ b/plugins/modules/ibm_cis_dns_record.py @@ -16,58 +16,58 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_dns_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - content: + domain_id: description: - - DNS record content - required: False + - (Required for new resource) Associated CIS domain + required: True type: str - proxied: - description: - - Boolean value true if proxied else flase - required: False - type: bool - default: False ttl: description: - TTL value required: False type: int default: 1 - domain_id: + cis_id: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) CIS object id or CRN required: True type: str + name: + description: + - DNS record name + required: False + type: str type: description: - (Required for new resource) Record type required: True type: str + content: + description: + - DNS record content + required: False + type: str priority: description: - Priority Value required: False type: int - name: + proxied: description: - - DNS record name + - Boolean value true if proxied else flase required: False - type: str + type: bool + default: False data: description: - None required: False type: dict elements: dict - cis_id: - description: - - (Required for new resource) CIS object id or CRN - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,21 +115,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('domain_id', 'str'), - ('type', 'str'), ('cis_id', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'content', - 'proxied', - 'ttl', 'domain_id', + 'ttl', + 'cis_id', + 'name', 'type', + 'content', 'priority', - 'name', + 'proxied', 'data', - 'cis_id', ] # Params for Data source @@ -148,34 +148,34 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - content=dict( + domain_id=dict( required=False, type='str'), - proxied=dict( - required=False, - type='bool'), ttl=dict( required=False, type='int'), - domain_id=dict( + cis_id=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), type=dict( required=False, type='str'), + content=dict( + required=False, + type='str'), priority=dict( required=False, type='int'), - name=dict( + proxied=dict( required=False, - type='str'), + type='bool'), data=dict( required=False, elements='', type='dict'), - cis_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_cis_dns_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_dns_records_import.py b/plugins/modules/ibm_cis_dns_records_import.py index 989b8d1f7..2ec5d6a24 100644 --- a/plugins/modules/ibm_cis_dns_records_import.py +++ b/plugins/modules/ibm_cis_dns_records_import.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_dns_records_import' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -181,7 +181,7 @@ def run_module(): resource_type='ibm_cis_dns_records_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_dns_records_info.py b/plugins/modules/ibm_cis_dns_records_info.py index 9a482f2ca..45bfce973 100644 --- a/plugins/modules/ibm_cis_dns_records_info.py +++ b/plugins/modules/ibm_cis_dns_records_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_dns_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_cis_dns_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_domain.py b/plugins/modules/ibm_cis_domain.py index fb312182e..c47b51b2d 100644 --- a/plugins/modules/ibm_cis_domain.py +++ b/plugins/modules/ibm_cis_domain.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_domain_info.py b/plugins/modules/ibm_cis_domain_info.py index e8700ddae..3d1eddca2 100644 --- a/plugins/modules/ibm_cis_domain_info.py +++ b/plugins/modules/ibm_cis_domain_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_domain_settings.py b/plugins/modules/ibm_cis_domain_settings.py index f9bd56506..7cf7817fc 100644 --- a/plugins/modules/ibm_cis_domain_settings.py +++ b/plugins/modules/ibm_cis_domain_settings.py @@ -16,13 +16,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_domain_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - response_buffering: + always_use_https: description: - - response_buffering setting + - always_use_https setting required: False type: str websockets: @@ -30,50 +30,40 @@ - websockets setting required: False type: str - cipher: + minify: description: - - Cipher settings + - Minify setting required: False type: list - elements: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str - waf: + elements: dict + ssl: description: - - WAF setting + - SSL/TLS setting required: False type: str - automatic_https_rewrites: + image_load_optimization: description: - - automatic_https_rewrites setting + - image_load_optimization setting required: False type: str - pseudo_ipv4: + image_size_optimization: description: - - pseudo_ipv4 setting + - image_size_optimization setting required: False type: str - image_load_optimization: + ip_geolocation: description: - - image_load_optimization setting + - ip_geolocation setting required: False type: str - max_upload: - description: - - Maximum upload - required: False - type: int - always_use_https: + origin_error_page_pass_thru: description: - - always_use_https setting + - origin_error_page_pass_thru setting required: False type: str - hotlink_protection: + server_side_exclude: description: - - hotlink_protection setting + - server_side_exclude setting required: False type: str tls_client_auth: @@ -87,24 +77,14 @@ required: False type: list elements: dict - ssl: - description: - - SSL/TLS setting - required: False - type: str - opportunistic_encryption: - description: - - opportunistic_encryption setting - required: False - type: str - origin_error_page_pass_thru: + browser_check: description: - - origin_error_page_pass_thru setting + - browser_check setting required: False type: str - minify: + mobile_redirect: description: - - Minify setting + - None required: False type: list elements: dict @@ -113,20 +93,25 @@ - cname_flattening setting required: False type: str + waf: + description: + - WAF setting + required: False + type: str ipv6: description: - ipv6 setting required: False type: str - image_size_optimization: + true_client_ip_header: description: - - image_size_optimization setting + - true_client_ip_header setting required: False type: str - prefetch_preload: + domain_id: description: - - prefetch_preload setting - required: False + - (Required for new resource) Associated CIS domain + required: True type: str brotli: description: @@ -143,46 +128,40 @@ - Challenge TTL setting required: False type: int - mobile_redirect: - description: - - None - required: False - type: list - elements: dict dnssec: description: - DNS Sec setting required: False type: str - server_side_exclude: + hotlink_protection: description: - - server_side_exclude setting + - hotlink_protection setting required: False type: str - true_client_ip_header: + response_buffering: description: - - true_client_ip_header setting + - response_buffering setting required: False type: str - ip_geolocation: + min_tls_version: description: - - ip_geolocation setting + - Minimum version of TLS required required: False type: str - cis_id: + default: 1.1 + opportunistic_encryption: description: - - (Required for new resource) CIS instance crn - required: True + - opportunistic_encryption setting + required: False type: str - min_tls_version: + prefetch_preload: description: - - Minimum version of TLS required + - prefetch_preload setting required: False type: str - default: 1.1 - browser_check: + automatic_https_rewrites: description: - - browser_check setting + - automatic_https_rewrites setting required: False type: str http2: @@ -190,6 +169,27 @@ - http2 setting required: False type: str + pseudo_ipv4: + description: + - pseudo_ipv4 setting + required: False + type: str + max_upload: + description: + - Maximum upload + required: False + type: int + cipher: + description: + - Cipher settings + required: False + type: list + elements: str + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -242,39 +242,39 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'response_buffering', + 'always_use_https', 'websockets', - 'cipher', - 'domain_id', - 'waf', - 'automatic_https_rewrites', - 'pseudo_ipv4', + 'minify', + 'ssl', 'image_load_optimization', - 'max_upload', - 'always_use_https', - 'hotlink_protection', + 'image_size_optimization', + 'ip_geolocation', + 'origin_error_page_pass_thru', + 'server_side_exclude', 'tls_client_auth', 'security_header', - 'ssl', - 'opportunistic_encryption', - 'origin_error_page_pass_thru', - 'minify', + 'browser_check', + 'mobile_redirect', 'cname_flattening', + 'waf', 'ipv6', - 'image_size_optimization', - 'prefetch_preload', + 'true_client_ip_header', + 'domain_id', 'brotli', 'script_load_optimization', 'challenge_ttl', - 'mobile_redirect', 'dnssec', - 'server_side_exclude', - 'true_client_ip_header', - 'ip_geolocation', - 'cis_id', + 'hotlink_protection', + 'response_buffering', 'min_tls_version', - 'browser_check', + 'opportunistic_encryption', + 'prefetch_preload', + 'automatic_https_rewrites', 'http2', + 'pseudo_ipv4', + 'max_upload', + 'cipher', + 'cis_id', ] # Params for Data source @@ -291,38 +291,32 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - response_buffering=dict( + always_use_https=dict( required=False, type='str'), websockets=dict( required=False, type='str'), - cipher=dict( + minify=dict( required=False, elements='', type='list'), - domain_id=dict( - required=False, - type='str'), - waf=dict( + ssl=dict( required=False, type='str'), - automatic_https_rewrites=dict( + image_load_optimization=dict( required=False, type='str'), - pseudo_ipv4=dict( + image_size_optimization=dict( required=False, type='str'), - image_load_optimization=dict( + ip_geolocation=dict( required=False, type='str'), - max_upload=dict( - required=False, - type='int'), - always_use_https=dict( + origin_error_page_pass_thru=dict( required=False, type='str'), - hotlink_protection=dict( + server_side_exclude=dict( required=False, type='str'), tls_client_auth=dict( @@ -332,29 +326,26 @@ required=False, elements='', type='list'), - ssl=dict( - required=False, - type='str'), - opportunistic_encryption=dict( - required=False, - type='str'), - origin_error_page_pass_thru=dict( + browser_check=dict( required=False, type='str'), - minify=dict( + mobile_redirect=dict( required=False, elements='', type='list'), cname_flattening=dict( required=False, type='str'), + waf=dict( + required=False, + type='str'), ipv6=dict( required=False, type='str'), - image_size_optimization=dict( + true_client_ip_header=dict( required=False, type='str'), - prefetch_preload=dict( + domain_id=dict( required=False, type='str'), brotli=dict( @@ -366,34 +357,43 @@ challenge_ttl=dict( required=False, type='int'), - mobile_redirect=dict( - required=False, - elements='', - type='list'), dnssec=dict( required=False, type='str'), - server_side_exclude=dict( + hotlink_protection=dict( required=False, type='str'), - true_client_ip_header=dict( + response_buffering=dict( required=False, type='str'), - ip_geolocation=dict( + min_tls_version=dict( required=False, type='str'), - cis_id=dict( + opportunistic_encryption=dict( required=False, type='str'), - min_tls_version=dict( + prefetch_preload=dict( required=False, type='str'), - browser_check=dict( + automatic_https_rewrites=dict( required=False, type='str'), http2=dict( required=False, type='str'), + pseudo_ipv4=dict( + required=False, + type='str'), + max_upload=dict( + required=False, + type='int'), + cipher=dict( + required=False, + elements='', + type='list'), + cis_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -459,7 +459,7 @@ def run_module(): resource_type='ibm_cis_domain_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_action.py b/plugins/modules/ibm_cis_edge_functions_action.py index e80ae96fd..4ea253671 100644 --- a/plugins/modules/ibm_cis_edge_functions_action.py +++ b/plugins/modules/ibm_cis_edge_functions_action.py @@ -16,10 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_edge_functions_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS Intance CRN + required: True + type: str domain_id: description: - (Required for new resource) CIS Domain ID @@ -35,11 +40,6 @@ - (Required for new resource) Edge function action script required: True type: str - cis_id: - description: - - (Required for new resource) CIS Intance CRN - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -86,18 +86,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('cis_id', 'str'), ('domain_id', 'str'), ('action_name', 'str'), ('script', 'str'), - ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', 'domain_id', 'action_name', 'script', - 'cis_id', ] # Params for Data source @@ -114,6 +114,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + cis_id=dict( + required=False, + type='str'), domain_id=dict( required=False, type='str'), @@ -123,9 +126,6 @@ script=dict( required=False, type='str'), - cis_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_actions_info.py b/plugins/modules/ibm_cis_edge_functions_actions_info.py index 253ff677c..836e33741 100644 --- a/plugins/modules/ibm_cis_edge_functions_actions_info.py +++ b/plugins/modules/ibm_cis_edge_functions_actions_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_trigger.py b/plugins/modules/ibm_cis_edge_functions_trigger.py index 61c55e479..1b85c532d 100644 --- a/plugins/modules/ibm_cis_edge_functions_trigger.py +++ b/plugins/modules/ibm_cis_edge_functions_trigger.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_edge_functions_trigger' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -190,7 +190,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_triggers_info.py b/plugins/modules/ibm_cis_edge_functions_triggers_info.py index d349bc08b..82b549a99 100644 --- a/plugins/modules/ibm_cis_edge_functions_triggers_info.py +++ b/plugins/modules/ibm_cis_edge_functions_triggers_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_triggers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_triggers', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_firewall.py b/plugins/modules/ibm_cis_firewall.py index e8f6b44b1..88f8d0dfb 100644 --- a/plugins/modules/ibm_cis_firewall.py +++ b/plugins/modules/ibm_cis_firewall.py @@ -16,10 +16,20 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_firewall' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS object id + required: True + type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str firewall_type: description: - (Required for new resource) Type of firewall.Allowable values are access-rules,ua-rules,lockdowns @@ -43,16 +53,6 @@ required: False type: list elements: dict - cis_id: - description: - - (Required for new resource) CIS object id - required: True - type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,32 +99,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('firewall_type', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), + ('firewall_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', + 'domain_id', 'firewall_type', 'lockdown', 'access_rule', 'ua_rule', - 'cis_id', - 'domain_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('firewall_type', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('firewall_type', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'firewall_type', 'cis_id', 'domain_id', - 'firewall_type', ] TL_CONFLICTS_MAP = { @@ -134,6 +134,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + cis_id=dict( + required=False, + type='str'), + domain_id=dict( + required=False, + type='str'), firewall_type=dict( required=False, type='str'), @@ -149,12 +155,6 @@ required=False, elements='', type='list'), - cis_id=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_firewall_info.py b/plugins/modules/ibm_cis_firewall_info.py index 8ad9d6cef..0d1d1cb49 100644 --- a/plugins/modules/ibm_cis_firewall_info.py +++ b/plugins/modules/ibm_cis_firewall_info.py @@ -15,10 +15,15 @@ description: - Retrieve an IBM Cloud 'ibm_cis_firewall' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + firewall_type: + description: + - Type of firewall.Allowable values are access-rules,ua-rules,lockdowns + required: True + type: str cis_id: description: - CIS object id @@ -29,11 +34,6 @@ - Associated CIS domain required: True type: str - firewall_type: - description: - - Type of firewall.Allowable values are access-rules,ua-rules,lockdowns - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -67,16 +67,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('firewall_type', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('firewall_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'firewall_type', 'cis_id', 'domain_id', - 'firewall_type', ] @@ -87,13 +87,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( + firewall_type=dict( required=True, type='str'), - domain_id=dict( + cis_id=dict( required=True, type='str'), - firewall_type=dict( + domain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_global_load_balancer.py b/plugins/modules/ibm_cis_global_load_balancer.py index 1630e354b..278af1a5f 100644 --- a/plugins/modules/ibm_cis_global_load_balancer.py +++ b/plugins/modules/ibm_cis_global_load_balancer.py @@ -16,77 +16,77 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_global_load_balancer' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - ttl: + fallback_pool_id: description: - - TTL value + - (Required for new resource) fallback pool ID + required: True + type: str + name: + description: + - (Required for new resource) name + required: True + type: str + session_affinity: + description: + - Session affinity info required: False - type: int - default: 60 + type: str + default: none pop_pools: description: - None required: False type: list elements: dict + enabled: + description: + - set to true of LB needs to enabled + required: False + type: bool + default: True region_pools: description: - None required: False type: list elements: dict - description: - description: - - Description for the load balancer instance - required: False - type: str cis_id: description: - (Required for new resource) CIS instance crn required: True type: str - domain_id: + default_pool_ids: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) List of default Pool IDs required: True - type: str + type: list + elements: str proxied: description: - set to true if proxy needs to be enabled required: False type: bool default: False - name: - description: - - (Required for new resource) name - required: True - type: str - fallback_pool_id: + domain_id: description: - - (Required for new resource) fallback pool ID + - (Required for new resource) Associated CIS domain required: True type: str - default_pool_ids: - description: - - (Required for new resource) List of default Pool IDs - required: True - type: list - elements: str - session_affinity: + description: description: - - Session affinity info + - Description for the load balancer instance required: False type: str - default: none - enabled: + ttl: description: - - set to true of LB needs to enabled + - TTL value required: False - type: bool - default: True + type: int + default: 60 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -133,27 +133,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('domain_id', 'str'), - ('name', 'str'), ('fallback_pool_id', 'str'), + ('name', 'str'), + ('cis_id', 'str'), ('default_pool_ids', 'list'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ttl', + 'fallback_pool_id', + 'name', + 'session_affinity', 'pop_pools', + 'enabled', 'region_pools', - 'description', 'cis_id', - 'domain_id', - 'proxied', - 'name', - 'fallback_pool_id', 'default_pool_ids', - 'session_affinity', - 'enabled', + 'proxied', + 'domain_id', + 'description', + 'ttl', ] # Params for Data source @@ -164,53 +164,53 @@ ] TL_CONFLICTS_MAP = { - 'ttl': ['proxied'], 'proxied': ['ttl'], + 'ttl': ['proxied'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ttl=dict( + fallback_pool_id=dict( required=False, - type='int'), + type='str'), + name=dict( + required=False, + type='str'), + session_affinity=dict( + required=False, + type='str'), pop_pools=dict( required=False, elements='', type='list'), + enabled=dict( + required=False, + type='bool'), region_pools=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), - domain_id=dict( + default_pool_ids=dict( required=False, - type='str'), + elements='', + type='list'), proxied=dict( required=False, type='bool'), - name=dict( - required=False, - type='str'), - fallback_pool_id=dict( + domain_id=dict( required=False, type='str'), - default_pool_ids=dict( - required=False, - elements='', - type='list'), - session_affinity=dict( + description=dict( required=False, type='str'), - enabled=dict( + ttl=dict( required=False, - type='bool'), + type='int'), id=dict( required=False, type='str'), @@ -276,7 +276,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancer', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_global_load_balancers_info.py b/plugins/modules/ibm_cis_global_load_balancers_info.py index 4db3b94d0..82173a030 100644 --- a/plugins/modules/ibm_cis_global_load_balancers_info.py +++ b/plugins/modules/ibm_cis_global_load_balancers_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_global_load_balancers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancers', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_healthcheck.py b/plugins/modules/ibm_cis_healthcheck.py index 171a806f7..5b6c1f225 100644 --- a/plugins/modules/ibm_cis_healthcheck.py +++ b/plugins/modules/ibm_cis_healthcheck.py @@ -16,28 +16,38 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_healthcheck' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - allow_insecure: + cis_id: description: - - allow_insecure - required: False - type: bool - default: False - type: + - (Required for new resource) CIS instance crn + required: True + type: str + expected_codes: description: - - type + - expected_codes required: False type: str - default: http - path: + method: description: - - path + - method required: False type: str - default: / + default: GET + retries: + description: + - retries + required: False + type: int + default: 2 + allow_insecure: + description: + - allow_insecure + required: False + type: bool + default: False expected_body: description: - expected_body @@ -49,57 +59,47 @@ required: False type: str default: - timeout: - description: - - timeout - required: False - type: int - default: 5 - retries: - description: - - retries - required: False - type: int - default: 2 follow_redirects: description: - follow_redirects required: False type: bool default: False - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - headers: + path: description: - - None + - path required: False - type: list - elements: dict + type: str + default: / interval: description: - interval required: False type: int default: 60 - method: - description: - - method - required: False - type: str - default: GET port: description: - port number required: False type: int - expected_codes: + headers: description: - - expected_codes + - None + required: False + type: list + elements: dict + type: + description: + - type required: False type: str + default: http + timeout: + description: + - timeout + required: False + type: int + default: 5 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -151,20 +151,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', + 'expected_codes', + 'method', + 'retries', 'allow_insecure', - 'type', - 'path', 'expected_body', 'description', - 'timeout', - 'retries', 'follow_redirects', - 'cis_id', - 'headers', + 'path', 'interval', - 'method', 'port', - 'expected_codes', + 'headers', + 'type', + 'timeout', ] # Params for Data source @@ -181,49 +181,49 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - allow_insecure=dict( + cis_id=dict( required=False, - type='bool'), - type=dict( + type='str'), + expected_codes=dict( required=False, type='str'), - path=dict( + method=dict( required=False, type='str'), + retries=dict( + required=False, + type='int'), + allow_insecure=dict( + required=False, + type='bool'), expected_body=dict( required=False, type='str'), description=dict( required=False, type='str'), - timeout=dict( - required=False, - type='int'), - retries=dict( - required=False, - type='int'), follow_redirects=dict( required=False, type='bool'), - cis_id=dict( + path=dict( required=False, type='str'), - headers=dict( - required=False, - elements='', - type='list'), interval=dict( required=False, type='int'), - method=dict( - required=False, - type='str'), port=dict( required=False, type='int'), - expected_codes=dict( + headers=dict( + required=False, + elements='', + type='list'), + type=dict( required=False, type='str'), + timeout=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_cis_healthcheck', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_healthchecks_info.py b/plugins/modules/ibm_cis_healthchecks_info.py index 4697cda9e..70f6ae3f8 100644 --- a/plugins/modules/ibm_cis_healthchecks_info.py +++ b/plugins/modules/ibm_cis_healthchecks_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_healthchecks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_cis_healthchecks', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_info.py b/plugins/modules/ibm_cis_info.py index 96a91dbd7..ce76fe13f 100644 --- a/plugins/modules/ibm_cis_info.py +++ b/plugins/modules/ibm_cis_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_ip_addresses_info.py b/plugins/modules/ibm_cis_ip_addresses_info.py index 41bab5c79..6de8db106 100644 --- a/plugins/modules/ibm_cis_ip_addresses_info.py +++ b/plugins/modules/ibm_cis_ip_addresses_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_ip_addresses' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_cis_ip_addresses', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_pool.py b/plugins/modules/ibm_cis_origin_pool.py index ea5f86f56..db53bd247 100644 --- a/plugins/modules/ibm_cis_origin_pool.py +++ b/plugins/modules/ibm_cis_origin_pool.py @@ -16,47 +16,27 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_origin_pool' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - minimum_origins: - description: - - Minimum number of Origins - required: False - type: int - default: 1 - name: - description: - - (Required for new resource) name - required: True - type: str - enabled: - description: - - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled - required: True - type: bool cis_id: description: - (Required for new resource) CIS instance crn required: True type: str - monitor: - description: - - Monitor value - required: False - type: str check_regions: description: - (Required for new resource) List of regions required: True type: list elements: str - description: + minimum_origins: description: - - Description of the CIS Origin Pool + - Minimum number of Origins required: False - type: str + type: int + default: 1 notification_email: description: - Email address configured to recieve the notifications @@ -68,6 +48,26 @@ required: True type: list elements: dict + enabled: + description: + - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled + required: True + type: bool + name: + description: + - (Required for new resource) name + required: True + type: str + description: + description: + - Description of the CIS Origin Pool + required: False + type: str + monitor: + description: + - Monitor value + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,24 +114,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('enabled', 'bool'), ('cis_id', 'str'), ('check_regions', 'list'), ('origins', 'list'), + ('enabled', 'bool'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'minimum_origins', - 'name', - 'enabled', 'cis_id', - 'monitor', 'check_regions', - 'description', + 'minimum_origins', 'notification_email', 'origins', + 'enabled', + 'name', + 'description', + 'monitor', ] # Params for Data source @@ -148,28 +148,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - minimum_origins=dict( - required=False, - type='int'), - name=dict( - required=False, - type='str'), - enabled=dict( - required=False, - type='bool'), cis_id=dict( required=False, type='str'), - monitor=dict( - required=False, - type='str'), check_regions=dict( required=False, elements='', type='list'), - description=dict( + minimum_origins=dict( required=False, - type='str'), + type='int'), notification_email=dict( required=False, type='str'), @@ -177,6 +165,18 @@ required=False, elements='', type='list'), + enabled=dict( + required=False, + type='bool'), + name=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + monitor=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_cis_origin_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_pools_info.py b/plugins/modules/ibm_cis_origin_pools_info.py index 04be1799a..70e268d99 100644 --- a/plugins/modules/ibm_cis_origin_pools_info.py +++ b/plugins/modules/ibm_cis_origin_pools_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_origin_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_cis_origin_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_page_rule.py b/plugins/modules/ibm_cis_page_rule.py index 3370d5c51..6a42fb90c 100644 --- a/plugins/modules/ibm_cis_page_rule.py +++ b/plugins/modules/ibm_cis_page_rule.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_page_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - actions: - description: - - (Required for new resource) Page rule actions - required: True - type: list - elements: dict cis_id: description: - (Required for new resource) CIS instance crn @@ -54,6 +48,12 @@ required: True type: list elements: dict + actions: + description: + - (Required for new resource) Page rule actions + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,20 +100,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('actions', 'list'), ('cis_id', 'str'), ('domain_id', 'str'), ('targets', 'list'), + ('actions', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'actions', 'cis_id', 'domain_id', 'priority', 'status', 'targets', + 'actions', ] # Params for Data source @@ -130,10 +130,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - actions=dict( - required=False, - elements='', - type='list'), cis_id=dict( required=False, type='str'), @@ -150,6 +146,10 @@ required=False, elements='', type='list'), + actions=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_cis_page_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_page_rules_info.py b/plugins/modules/ibm_cis_page_rules_info.py index 24231ac43..f7737356b 100644 --- a/plugins/modules/ibm_cis_page_rules_info.py +++ b/plugins/modules/ibm_cis_page_rules_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_page_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_page_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_range_app.py b/plugins/modules/ibm_cis_range_app.py index 006a2775d..aa254994f 100644 --- a/plugins/modules/ibm_cis_range_app.py +++ b/plugins/modules/ibm_cis_range_app.py @@ -16,34 +16,45 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_range_app' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - ip_firewall: + dns_type: description: - - Enables the IP Firewall for this application. Only available for TCP applications. - required: False - type: bool - edge_ips_type: + - (Required for new resource) Type of the DNS record for this application + required: True + type: str + edge_ips_connectivity: description: - - The type of edge IP configuration. + - Specifies the IP version. required: False type: str - default: dynamic + default: all cis_id: description: - (Required for new resource) CIS Intance CRN required: True type: str - protocol: + dns: description: - - (Required for new resource) Defines the protocol and port for this application + - (Required for new resource) Name of the DNS record for this application required: True type: str - dns_type: + origin_dns: description: - - (Required for new resource) Type of the DNS record for this application + - DNS record pointing to the origin for this Range application. + required: False + type: str + edge_ips_type: + description: + - The type of edge IP configuration. + required: False + type: str + default: dynamic + domain_id: + description: + - (Required for new resource) CIS Domain ID required: True type: str origin_port: @@ -51,10 +62,15 @@ - Port at the origin that listens to traffic required: False type: int - domain_id: + ip_firewall: description: - - (Required for new resource) CIS Domain ID - required: True + - Enables the IP Firewall for this application. Only available for TCP applications. + required: False + type: bool + proxy_protocol: + description: + - Allows for the true client IP to be passed to the service. + required: False type: str traffic_type: description: @@ -62,39 +78,23 @@ required: False type: str default: direct - dns: - description: - - (Required for new resource) Name of the DNS record for this application - required: True - type: str tls: description: - Configure if and how TLS connections are terminated at the edge. required: False type: str default: off + protocol: + description: + - (Required for new resource) Defines the protocol and port for this application + required: True + type: str origin_direct: description: - IP address and port of the origin for this Range application. required: False type: list elements: str - origin_dns: - description: - - DNS record pointing to the origin for this Range application. - required: False - type: str - proxy_protocol: - description: - - Allows for the true client IP to be passed to the service. - required: False - type: str - edge_ips_connectivity: - description: - - Specifies the IP version. - required: False - type: str - default: all id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -141,29 +141,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('protocol', 'str'), ('dns_type', 'str'), - ('domain_id', 'str'), + ('cis_id', 'str'), ('dns', 'str'), + ('domain_id', 'str'), + ('protocol', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ip_firewall', - 'edge_ips_type', - 'cis_id', - 'protocol', 'dns_type', - 'origin_port', + 'edge_ips_connectivity', + 'cis_id', + 'dns', + 'origin_dns', + 'edge_ips_type', 'domain_id', + 'origin_port', + 'ip_firewall', + 'proxy_protocol', 'traffic_type', - 'dns', 'tls', + 'protocol', 'origin_direct', - 'origin_dns', - 'proxy_protocol', - 'edge_ips_connectivity', ] # Params for Data source @@ -181,49 +181,49 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ip_firewall=dict( + dns_type=dict( required=False, - type='bool'), - edge_ips_type=dict( + type='str'), + edge_ips_connectivity=dict( required=False, type='str'), cis_id=dict( required=False, type='str'), - protocol=dict( + dns=dict( required=False, type='str'), - dns_type=dict( + origin_dns=dict( + required=False, + type='str'), + edge_ips_type=dict( + required=False, + type='str'), + domain_id=dict( required=False, type='str'), origin_port=dict( required=False, type='int'), - domain_id=dict( + ip_firewall=dict( + required=False, + type='bool'), + proxy_protocol=dict( required=False, type='str'), traffic_type=dict( required=False, type='str'), - dns=dict( + tls=dict( required=False, type='str'), - tls=dict( + protocol=dict( required=False, type='str'), origin_direct=dict( required=False, elements='', type='list'), - origin_dns=dict( - required=False, - type='str'), - proxy_protocol=dict( - required=False, - type='str'), - edge_ips_connectivity=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_cis_range_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_range_apps_info.py b/plugins/modules/ibm_cis_range_apps_info.py index d5963cd9d..012622eff 100644 --- a/plugins/modules/ibm_cis_range_apps_info.py +++ b/plugins/modules/ibm_cis_range_apps_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_range_apps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_range_apps', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_rate_limit.py b/plugins/modules/ibm_cis_rate_limit.py index dd53214e8..d2f74420e 100644 --- a/plugins/modules/ibm_cis_rate_limit.py +++ b/plugins/modules/ibm_cis_rate_limit.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_rate_limit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -31,21 +31,12 @@ required: False type: bool default: False - description: + bypass: description: - - A note that you can use to describe the reason for a rate limiting rule. + - Bypass URL required: False - type: str - threshold: - description: - - (Required for new resource) Rate Limiting Threshold - required: True - type: int - period: - description: - - (Required for new resource) Rate Limiting Period - required: True - type: int + type: list + elements: dict correlate: description: - Ratelimiting Correlate @@ -57,12 +48,21 @@ - (Required for new resource) CIS Domain ID required: True type: str - bypass: + description: description: - - Bypass URL + - A note that you can use to describe the reason for a rate limiting rule. required: False - type: list - elements: dict + type: str + threshold: + description: + - (Required for new resource) Rate Limiting Threshold + required: True + type: int + period: + description: + - (Required for new resource) Rate Limiting Period + required: True + type: int action: description: - (Required for new resource) Rate Limiting Action @@ -122,9 +122,9 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cis_id', 'str'), + ('domain_id', 'str'), ('threshold', 'int'), ('period', 'int'), - ('domain_id', 'str'), ('action', 'list'), ] @@ -132,12 +132,12 @@ TL_ALL_PARAMETERS = [ 'cis_id', 'disabled', + 'bypass', + 'correlate', + 'domain_id', 'description', 'threshold', 'period', - 'correlate', - 'domain_id', - 'bypass', 'action', 'match', ] @@ -166,15 +166,10 @@ disabled=dict( required=False, type='bool'), - description=dict( - required=False, - type='str'), - threshold=dict( - required=False, - type='int'), - period=dict( + bypass=dict( required=False, - type='int'), + elements='', + type='list'), correlate=dict( required=False, elements='', @@ -182,10 +177,15 @@ domain_id=dict( required=False, type='str'), - bypass=dict( + description=dict( required=False, - elements='', - type='list'), + type='str'), + threshold=dict( + required=False, + type='int'), + period=dict( + required=False, + type='int'), action=dict( required=False, elements='', @@ -259,7 +259,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -268,7 +268,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_rate_limit_info.py b/plugins/modules/ibm_cis_rate_limit_info.py index 2f4b73de7..2afe6dcb1 100644 --- a/plugins/modules/ibm_cis_rate_limit_info.py +++ b/plugins/modules/ibm_cis_rate_limit_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_rate_limit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_routing.py b/plugins/modules/ibm_cis_routing.py index 674e07807..2c2adb08c 100644 --- a/plugins/modules/ibm_cis_routing.py +++ b/plugins/modules/ibm_cis_routing.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_routing' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -180,7 +180,7 @@ def run_module(): resource_type='ibm_cis_routing', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_tls_settings.py b/plugins/modules/ibm_cis_tls_settings.py index d388046ce..9e4e9f678 100644 --- a/plugins/modules/ibm_cis_tls_settings.py +++ b/plugins/modules/ibm_cis_tls_settings.py @@ -16,21 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_tls_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - tls_1_3: - description: - - TLS 1.3 setting - required: False - type: str - min_tls_version: - description: - - Minimum version of TLS required - required: False - type: str - default: 1.1 cis_id: description: - (Required for new resource) CIS instance crn @@ -46,6 +35,17 @@ - Universal SSL setting required: False type: bool + tls_1_3: + description: + - TLS 1.3 setting + required: False + type: str + min_tls_version: + description: + - Minimum version of TLS required + required: False + type: str + default: 1.1 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,11 +98,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tls_1_3', - 'min_tls_version', 'cis_id', 'domain_id', 'universal_ssl', + 'tls_1_3', + 'min_tls_version', ] # Params for Data source @@ -119,12 +119,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tls_1_3=dict( - required=False, - type='str'), - min_tls_version=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), @@ -134,6 +128,12 @@ universal_ssl=dict( required=False, type='bool'), + tls_1_3=dict( + required=False, + type='str'), + min_tls_version=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_cis_tls_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_group.py b/plugins/modules/ibm_cis_waf_group.py index f0ced8e66..2f1076b1b 100644 --- a/plugins/modules/ibm_cis_waf_group.py +++ b/plugins/modules/ibm_cis_waf_group.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_waf_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_waf_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_groups_info.py b/plugins/modules/ibm_cis_waf_groups_info.py index 3a42d44cb..2fb05cb77 100644 --- a/plugins/modules/ibm_cis_waf_groups_info.py +++ b/plugins/modules/ibm_cis_waf_groups_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_cis_waf_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_package.py b/plugins/modules/ibm_cis_waf_package.py index d878c3f2e..58ea179bf 100644 --- a/plugins/modules/ibm_cis_waf_package.py +++ b/plugins/modules/ibm_cis_waf_package.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_waf_package' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_waf_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_packages_info.py b/plugins/modules/ibm_cis_waf_packages_info.py index e3d50435b..a0dd7ed0e 100644 --- a/plugins/modules/ibm_cis_waf_packages_info.py +++ b/plugins/modules/ibm_cis_waf_packages_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_packages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_cis_waf_packages', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_rule.py b/plugins/modules/ibm_cis_waf_rule.py index ccf31d5d2..c3f254fba 100644 --- a/plugins/modules/ibm_cis_waf_rule.py +++ b/plugins/modules/ibm_cis_waf_rule.py @@ -16,28 +16,28 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_waf_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - cis_id: + rule_id: description: - - (Required for new resource) CIS Intance CRN + - (Required for new resource) CIS WAF Rule id required: True type: str - domain_id: + mode: description: - - (Required for new resource) CIS Domain ID + - (Required for new resource) CIS WAF Rule mode required: True type: str - mode: + cis_id: description: - - (Required for new resource) CIS WAF Rule mode + - (Required for new resource) CIS Intance CRN required: True type: str - rule_id: + domain_id: description: - - (Required for new resource) CIS WAF Rule id + - (Required for new resource) CIS Domain ID required: True type: str package_id: @@ -91,19 +91,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('rule_id', 'str'), + ('mode', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('mode', 'str'), - ('rule_id', 'str'), ('package_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'rule_id', + 'mode', 'cis_id', 'domain_id', - 'mode', - 'rule_id', 'package_id', ] @@ -121,16 +121,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( + rule_id=dict( required=False, type='str'), - domain_id=dict( + mode=dict( required=False, type='str'), - mode=dict( + cis_id=dict( required=False, type='str'), - rule_id=dict( + domain_id=dict( required=False, type='str'), package_id=dict( @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_waf_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_rules_info.py b/plugins/modules/ibm_cis_waf_rules_info.py index 713d9ce72..1828f31b4 100644 --- a/plugins/modules/ibm_cis_waf_rules_info.py +++ b/plugins/modules/ibm_cis_waf_rules_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_cis_waf_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_autoscale_group.py b/plugins/modules/ibm_compute_autoscale_group.py index 5a46ef7cd..8b9bff050 100644 --- a/plugins/modules/ibm_compute_autoscale_group.py +++ b/plugins/modules/ibm_compute_autoscale_group.py @@ -16,35 +16,18 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_autoscale_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - termination_policy: + regional_group: description: - - (Required for new resource) Termination policy + - (Required for new resource) regional group required: True type: str - port: - description: - - Port number - required: False - type: int - health_check: - description: - - None - required: False - type: dict - elements: dict - network_vlan_ids: - description: - - List of network VLAN ids - required: False - type: list - elements: int - maximum_member_count: + minimum_member_count: description: - - (Required for new resource) Maximum member count + - (Required for new resource) Minimum member count required: True type: int cooldown: @@ -52,16 +35,12 @@ - (Required for new resource) Cooldown value required: True type: int - minimum_member_count: - description: - - (Required for new resource) Minimum member count - required: True - type: int - virtual_server_id: + network_vlan_ids: description: - - virtual server ID + - List of network VLAN ids required: False - type: int + type: list + elements: int virtual_guest_member_template: description: - (Required for new resource) Virtual guest member template @@ -79,11 +58,32 @@ - (Required for new resource) Name required: True type: str - regional_group: + maximum_member_count: description: - - (Required for new resource) regional group + - (Required for new resource) Maximum member count + required: True + type: int + termination_policy: + description: + - (Required for new resource) Termination policy required: True type: str + virtual_server_id: + description: + - virtual server ID + required: False + type: int + port: + description: + - Port number + required: False + type: int + health_check: + description: + - None + required: False + type: dict + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -130,29 +130,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('termination_policy', 'str'), - ('maximum_member_count', 'int'), - ('cooldown', 'int'), + ('regional_group', 'str'), ('minimum_member_count', 'int'), + ('cooldown', 'int'), ('virtual_guest_member_template', 'list'), ('name', 'str'), - ('regional_group', 'str'), + ('maximum_member_count', 'int'), + ('termination_policy', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'termination_policy', - 'port', - 'health_check', - 'network_vlan_ids', - 'maximum_member_count', - 'cooldown', + 'regional_group', 'minimum_member_count', - 'virtual_server_id', + 'cooldown', + 'network_vlan_ids', 'virtual_guest_member_template', 'tags', 'name', - 'regional_group', + 'maximum_member_count', + 'termination_policy', + 'virtual_server_id', + 'port', + 'health_check', ] # Params for Data source @@ -169,32 +169,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - termination_policy=dict( + regional_group=dict( required=False, type='str'), - port=dict( + minimum_member_count=dict( required=False, type='int'), - health_check=dict( + cooldown=dict( required=False, - elements='', - type='dict'), + type='int'), network_vlan_ids=dict( required=False, elements='', type='list'), - maximum_member_count=dict( - required=False, - type='int'), - cooldown=dict( - required=False, - type='int'), - minimum_member_count=dict( - required=False, - type='int'), - virtual_server_id=dict( - required=False, - type='int'), virtual_guest_member_template=dict( required=False, elements='', @@ -206,9 +193,22 @@ name=dict( required=False, type='str'), - regional_group=dict( + maximum_member_count=dict( + required=False, + type='int'), + termination_policy=dict( required=False, type='str'), + virtual_server_id=dict( + required=False, + type='int'), + port=dict( + required=False, + type='int'), + health_check=dict( + required=False, + elements='', + type='dict'), id=dict( required=False, type='str'), @@ -274,7 +274,7 @@ def run_module(): resource_type='ibm_compute_autoscale_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_autoscale_policy.py b/plugins/modules/ibm_compute_autoscale_policy.py index a9c08259d..8d75dcae3 100644 --- a/plugins/modules/ibm_compute_autoscale_policy.py +++ b/plugins/modules/ibm_compute_autoscale_policy.py @@ -16,20 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_autoscale_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name - required: True - type: str - scale_type: - description: - - (Required for new resource) scale type - required: True - type: str scale_amount: description: - (Required for new resource) Scale amount @@ -57,6 +47,16 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) Name + required: True + type: str + scale_type: + description: + - (Required for new resource) scale type + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,21 +103,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('scale_type', 'str'), ('scale_amount', 'int'), ('scale_group_id', 'int'), + ('name', 'str'), + ('scale_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'scale_type', 'scale_amount', 'cooldown', 'scale_group_id', 'triggers', 'tags', + 'name', + 'scale_type', ] # Params for Data source @@ -134,12 +134,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - scale_type=dict( - required=False, - type='str'), scale_amount=dict( required=False, type='int'), @@ -157,6 +151,12 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + scale_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_compute_autoscale_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_bare_metal.py b/plugins/modules/ibm_compute_bare_metal.py index 300555e0f..dd82f7f90 100644 --- a/plugins/modules/ibm_compute_bare_metal.py +++ b/plugins/modules/ibm_compute_bare_metal.py @@ -16,106 +16,121 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_bare_metal' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - ipv6_static_enabled: + os_key_name: description: - - boolean value true if ipv6 static is enabled else false + - None required: False - type: bool - default: False + type: str + gpu_key_name: + description: + - None + required: False + type: str + public_vlan_id: + description: + - None + required: False + type: int notes: description: - Optional notes info required: False type: str - redundant_power_supply: + post_install_script_uri: description: - None required: False - type: bool - gpu_key_name: + type: str + fixed_config_preset: description: - - None + - Fixed config preset value required: False type: str - unbonded_network: + tcp_monitoring: description: - - None + - TCP monitoring enabled if set as true required: False type: bool default: False - extended_hardware_testing: + redundant_power_supply: description: - None required: False type: bool - default: False - public_vlan_id: + software_guard_extensions: description: - None required: False - type: int - public_subnet: + type: bool + default: False + gpu_secondary_key_name: description: - None required: False type: str - block_storage_ids: + unbonded_network: description: - None required: False - type: list - elements: int - os_key_name: + type: bool + default: False + extended_hardware_testing: description: - None required: False - type: str - ipv6_enabled: - description: - - Boolean value true if IPV6 ia enabled or false - required: False type: bool default: False + storage_groups: + description: + - None + required: False + type: list + elements: dict secondary_ip_count: description: - Secondary IP addresses count required: False type: int - ssh_key_ids: + hostname: description: - - SSH KEY IDS list + - Host name required: False - type: list - elements: int - post_install_script_uri: + type: str + datacenter: description: - None required: False type: str - tcp_monitoring: + restricted_network: description: - - TCP monitoring enabled if set as true + - None required: False type: bool default: False - package_key_name: + public_bandwidth: description: - None required: False - type: str - process_key_name: + type: int + quote_id: description: - - None + - Quote ID for Quote based provisioning required: False - type: str - private_subnet: + type: int + disk_key_names: description: - None required: False + type: list + elements: str + user_metadata: + description: + - User metadata info + required: False type: str file_storage_ids: description: @@ -123,120 +138,105 @@ required: False type: list elements: int - os_reference_code: - description: - - OS refernece code value - required: False - type: str - image_template_id: - description: - - OS image template ID - required: False - type: int - hourly_billing: - description: - - Enables hourly billing - required: False - type: bool - default: True - private_vlan_id: + block_storage_ids: description: - None required: False - type: int - user_metadata: + type: list + elements: int + os_reference_code: description: - - User metadata info + - OS refernece code value required: False type: str - tags: - description: - - None - required: False - type: list - elements: str network_speed: description: - Network speed in MBPS required: False type: int default: 100 - redundant_network: + private_network_only: description: - - None + - only private network configured if is true required: False type: bool default: False - disk_key_names: + package_key_name: description: - None required: False - type: list - elements: str + type: str memory: description: - None required: False type: int - hostname: + public_subnet: description: - - Host name + - None required: False type: str - domain: + private_subnet: description: - - (Required for new resource) Domain name - required: True + - None + required: False type: str - software_guard_extensions: + ipv6_static_enabled: description: - - None + - boolean value true if ipv6 static is enabled else false required: False type: bool default: False - gpu_secondary_key_name: + tags: description: - None required: False - type: str - public_bandwidth: + type: list + elements: str + redundant_network: description: - None required: False - type: int - storage_groups: + type: bool + default: False + ssh_key_ids: description: - - None + - SSH KEY IDS list required: False type: list - elements: dict - fixed_config_preset: + elements: int + hourly_billing: description: - - Fixed config preset value + - Enables hourly billing required: False - type: str - datacenter: + type: bool + default: True + private_vlan_id: description: - None required: False - type: str - private_network_only: + type: int + ipv6_enabled: description: - - only private network configured if is true + - Boolean value true if IPV6 ia enabled or false required: False type: bool default: False - restricted_network: + domain: description: - - None - required: False - type: bool - default: False - quote_id: + - (Required for new resource) Domain name + required: True + type: str + image_template_id: description: - - Quote ID for Quote based provisioning + - OS image template ID required: False type: int + process_key_name: + description: + - None + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -288,46 +288,46 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ipv6_static_enabled', - 'notes', - 'redundant_power_supply', + 'os_key_name', 'gpu_key_name', - 'unbonded_network', - 'extended_hardware_testing', 'public_vlan_id', - 'public_subnet', - 'block_storage_ids', - 'os_key_name', - 'ipv6_enabled', - 'secondary_ip_count', - 'ssh_key_ids', + 'notes', 'post_install_script_uri', + 'fixed_config_preset', 'tcp_monitoring', - 'package_key_name', - 'process_key_name', - 'private_subnet', - 'file_storage_ids', - 'os_reference_code', - 'image_template_id', - 'hourly_billing', - 'private_vlan_id', - 'user_metadata', - 'tags', - 'network_speed', - 'redundant_network', - 'disk_key_names', - 'memory', - 'hostname', - 'domain', + 'redundant_power_supply', 'software_guard_extensions', 'gpu_secondary_key_name', - 'public_bandwidth', + 'unbonded_network', + 'extended_hardware_testing', 'storage_groups', - 'fixed_config_preset', + 'secondary_ip_count', + 'hostname', 'datacenter', - 'private_network_only', 'restricted_network', + 'public_bandwidth', 'quote_id', + 'disk_key_names', + 'user_metadata', + 'file_storage_ids', + 'block_storage_ids', + 'os_reference_code', + 'network_speed', + 'private_network_only', + 'package_key_name', + 'memory', + 'public_subnet', + 'private_subnet', + 'ipv6_static_enabled', + 'tags', + 'redundant_network', + 'ssh_key_ids', + 'hourly_billing', + 'private_vlan_id', + 'ipv6_enabled', + 'domain', + 'image_template_id', + 'process_key_name', ] # Params for Data source @@ -335,10 +335,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'most_recent', 'domain', - 'hostname', 'global_identifier', + 'hostname', + 'most_recent', ] TL_CONFLICTS_MAP = { @@ -350,132 +350,132 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ipv6_static_enabled=dict( - required=False, - type='bool'), - notes=dict( + os_key_name=dict( required=False, type='str'), - redundant_power_supply=dict( - required=False, - type='bool'), gpu_key_name=dict( required=False, type='str'), - unbonded_network=dict( - required=False, - type='bool'), - extended_hardware_testing=dict( - required=False, - type='bool'), public_vlan_id=dict( required=False, type='int'), - public_subnet=dict( + notes=dict( required=False, type='str'), - block_storage_ids=dict( + post_install_script_uri=dict( required=False, - elements='', - type='list'), - os_key_name=dict( + type='str'), + fixed_config_preset=dict( required=False, type='str'), - ipv6_enabled=dict( + tcp_monitoring=dict( required=False, type='bool'), - secondary_ip_count=dict( - required=False, - type='int'), - ssh_key_ids=dict( - required=False, - elements='', - type='list'), - post_install_script_uri=dict( + redundant_power_supply=dict( required=False, - type='str'), - tcp_monitoring=dict( + type='bool'), + software_guard_extensions=dict( required=False, type='bool'), - package_key_name=dict( + gpu_secondary_key_name=dict( required=False, type='str'), - process_key_name=dict( + unbonded_network=dict( required=False, - type='str'), - private_subnet=dict( + type='bool'), + extended_hardware_testing=dict( required=False, - type='str'), - file_storage_ids=dict( + type='bool'), + storage_groups=dict( required=False, elements='', type='list'), - os_reference_code=dict( + secondary_ip_count=dict( + required=False, + type='int'), + hostname=dict( required=False, type='str'), - image_template_id=dict( + datacenter=dict( required=False, - type='int'), - hourly_billing=dict( + type='str'), + restricted_network=dict( required=False, type='bool'), - private_vlan_id=dict( + public_bandwidth=dict( required=False, type='int'), + quote_id=dict( + required=False, + type='int'), + disk_key_names=dict( + required=False, + elements='', + type='list'), user_metadata=dict( required=False, type='str'), - tags=dict( + file_storage_ids=dict( + required=False, + elements='', + type='list'), + block_storage_ids=dict( required=False, elements='', type='list'), + os_reference_code=dict( + required=False, + type='str'), network_speed=dict( required=False, type='int'), - redundant_network=dict( + private_network_only=dict( required=False, type='bool'), - disk_key_names=dict( + package_key_name=dict( required=False, - elements='', - type='list'), + type='str'), memory=dict( required=False, type='int'), - hostname=dict( + public_subnet=dict( required=False, type='str'), - domain=dict( + private_subnet=dict( required=False, type='str'), - software_guard_extensions=dict( + ipv6_static_enabled=dict( required=False, type='bool'), - gpu_secondary_key_name=dict( + tags=dict( required=False, - type='str'), - public_bandwidth=dict( + elements='', + type='list'), + redundant_network=dict( required=False, - type='int'), - storage_groups=dict( + type='bool'), + ssh_key_ids=dict( required=False, elements='', type='list'), - fixed_config_preset=dict( + hourly_billing=dict( required=False, - type='str'), - datacenter=dict( + type='bool'), + private_vlan_id=dict( required=False, - type='str'), - private_network_only=dict( + type='int'), + ipv6_enabled=dict( required=False, type='bool'), - restricted_network=dict( + domain=dict( required=False, - type='bool'), - quote_id=dict( + type='str'), + image_template_id=dict( required=False, type='int'), + process_key_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -541,7 +541,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -550,7 +550,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_bare_metal_info.py b/plugins/modules/ibm_compute_bare_metal_info.py index 6634d42eb..54da35151 100644 --- a/plugins/modules/ibm_compute_bare_metal_info.py +++ b/plugins/modules/ibm_compute_bare_metal_info.py @@ -15,31 +15,31 @@ description: - Retrieve an IBM Cloud 'ibm_compute_bare_metal' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - most_recent: - description: - - If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned - required: False - type: bool - default: False domain: description: - The domain of the bare metal server required: False type: str + global_identifier: + description: + - The unique global identifier of the bare metal server + required: False + type: str hostname: description: - The hostname of the bare metal server required: False type: str - global_identifier: + most_recent: description: - - The unique global identifier of the bare metal server + - If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned required: False - type: str + type: bool + default: False iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -77,36 +77,36 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'most_recent', 'domain', - 'hostname', 'global_identifier', + 'hostname', + 'most_recent', ] TL_CONFLICTS_MAP = { - 'most_recent': ['global_identifier'], 'domain': ['global_identifier'], - 'hostname': ['global_identifier'], 'global_identifier': ['hostname', 'domain', 'most_recent'], + 'hostname': ['global_identifier'], + 'most_recent': ['global_identifier'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - most_recent=dict( - required=False, - type='bool'), domain=dict( required=False, type='str'), - hostname=dict( + global_identifier=dict( required=False, type='str'), - global_identifier=dict( + hostname=dict( required=False, type='str'), + most_recent=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_dedicated_host.py b/plugins/modules/ibm_compute_dedicated_host.py index c27041bd9..84c8ad676 100644 --- a/plugins/modules/ibm_compute_dedicated_host.py +++ b/plugins/modules/ibm_compute_dedicated_host.py @@ -16,54 +16,54 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_dedicated_host' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - router_hostname: - description: - - (Required for new resource) The hostname of the primary router that the dedicated host is associated with. - required: True - type: str - tags: + wait_time_minutes: description: - None required: False - type: list - elements: str - hostname: - description: - - (Required for new resource) The host name of dedicatated host. - required: True - type: str + type: int + default: 90 domain: description: - (Required for new resource) The domain of dedicatated host. required: True type: str + flavor: + description: + - The flavor of the dedicatated host. + required: False + type: str + default: 56_CORES_X_242_RAM_X_1_4_TB hourly_billing: description: - The billing type for the dedicatated host. required: False type: bool default: True - wait_time_minutes: + router_hostname: + description: + - (Required for new resource) The hostname of the primary router that the dedicated host is associated with. + required: True + type: str + tags: description: - None required: False - type: int - default: 90 - datacenter: + type: list + elements: str + hostname: description: - - (Required for new resource) The data center in which the dedicatated host is to be provisioned. + - (Required for new resource) The host name of dedicatated host. required: True type: str - flavor: + datacenter: description: - - The flavor of the dedicatated host. - required: False + - (Required for new resource) The data center in which the dedicatated host is to be provisioned. + required: True type: str - default: 56_CORES_X_242_RAM_X_1_4_TB id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,22 +110,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('domain', 'str'), ('router_hostname', 'str'), ('hostname', 'str'), - ('domain', 'str'), ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'wait_time_minutes', + 'domain', + 'flavor', + 'hourly_billing', 'router_hostname', 'tags', 'hostname', - 'domain', - 'hourly_billing', - 'wait_time_minutes', 'datacenter', - 'flavor', ] # Params for Data source @@ -142,29 +142,29 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - router_hostname=dict( - required=False, - type='str'), - tags=dict( + wait_time_minutes=dict( required=False, - elements='', - type='list'), - hostname=dict( + type='int'), + domain=dict( required=False, type='str'), - domain=dict( + flavor=dict( required=False, type='str'), hourly_billing=dict( required=False, type='bool'), - wait_time_minutes=dict( + router_hostname=dict( required=False, - type='int'), - datacenter=dict( + type='str'), + tags=dict( + required=False, + elements='', + type='list'), + hostname=dict( required=False, type='str'), - flavor=dict( + datacenter=dict( required=False, type='str'), id=dict( @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_compute_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_image_template_info.py b/plugins/modules/ibm_compute_image_template_info.py index d8b540f24..bf61fbeb2 100644 --- a/plugins/modules/ibm_compute_image_template_info.py +++ b/plugins/modules/ibm_compute_image_template_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_image_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_compute_image_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_monitor.py b/plugins/modules/ibm_compute_monitor.py index a95ff5660..3e832c733 100644 --- a/plugins/modules/ibm_compute_monitor.py +++ b/plugins/modules/ibm_compute_monitor.py @@ -16,20 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - query_type_id: - description: - - (Required for new resource) Query Type ID - required: True - type: int - response_action_id: - description: - - (Required for new resource) Response action ID - required: True - type: int wait_cycles: description: - wait cycles count @@ -57,6 +47,16 @@ - IP Address required: False type: str + query_type_id: + description: + - (Required for new resource) Query Type ID + required: True + type: int + response_action_id: + description: + - (Required for new resource) Response action ID + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,20 +103,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('guest_id', 'int'), ('query_type_id', 'int'), ('response_action_id', 'int'), - ('guest_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'query_type_id', - 'response_action_id', 'wait_cycles', 'notified_users', 'tags', 'guest_id', 'ip_address', + 'query_type_id', + 'response_action_id', ] # Params for Data source @@ -133,12 +133,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - query_type_id=dict( - required=False, - type='int'), - response_action_id=dict( - required=False, - type='int'), wait_cycles=dict( required=False, type='int'), @@ -156,6 +150,12 @@ ip_address=dict( required=False, type='str'), + query_type_id=dict( + required=False, + type='int'), + response_action_id=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -221,7 +221,7 @@ def run_module(): resource_type='ibm_compute_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_placement_group.py b/plugins/modules/ibm_compute_placement_group.py index 45b3052a7..fd8c5f45a 100644 --- a/plugins/modules/ibm_compute_placement_group.py +++ b/plugins/modules/ibm_compute_placement_group.py @@ -16,10 +16,20 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + datacenter: + description: + - (Required for new resource) Dataceneter name + required: True + type: str + pod: + description: + - (Required for new resource) Pod name + required: True + type: str name: description: - (Required for new resource) Name @@ -37,16 +47,6 @@ required: False type: list elements: str - datacenter: - description: - - (Required for new resource) Dataceneter name - required: True - type: str - pod: - description: - - (Required for new resource) Pod name - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,18 +93,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('datacenter', 'str'), ('pod', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'datacenter', + 'pod', 'name', 'rule', 'tags', - 'datacenter', - 'pod', ] # Params for Data source @@ -123,6 +123,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + datacenter=dict( + required=False, + type='str'), + pod=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -133,12 +139,6 @@ required=False, elements='', type='list'), - datacenter=dict( - required=False, - type='str'), - pod=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_placement_group_info.py b/plugins/modules/ibm_compute_placement_group_info.py index 08e6b67d1..029d012ba 100644 --- a/plugins/modules/ibm_compute_placement_group_info.py +++ b/plugins/modules/ibm_compute_placement_group_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_provisioning_hook.py b/plugins/modules/ibm_compute_provisioning_hook.py index 93df467fb..a3d168a95 100644 --- a/plugins/modules/ibm_compute_provisioning_hook.py +++ b/plugins/modules/ibm_compute_provisioning_hook.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_provisioning_hook' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_compute_provisioning_hook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_ssh_key.py b/plugins/modules/ibm_compute_ssh_key.py index 7cb5593a0..7b3563d74 100644 --- a/plugins/modules/ibm_compute_ssh_key.py +++ b/plugins/modules/ibm_compute_ssh_key.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - label: - description: - - (Required for new resource) SSH Key label - required: True - type: str public_key: description: - (Required for new resource) Plublic Key info @@ -41,6 +36,11 @@ required: False type: list elements: str + label: + description: + - (Required for new resource) SSH Key label + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -87,16 +87,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('label', 'str'), ('public_key', 'str'), + ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'label', 'public_key', 'notes', 'tags', + 'label', ] # Params for Data source @@ -116,9 +116,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - label=dict( - required=False, - type='str'), public_key=dict( required=False, type='str'), @@ -129,6 +126,9 @@ required=False, elements='', type='list'), + label=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_ssh_key_info.py b/plugins/modules/ibm_compute_ssh_key_info.py index f7511fc33..0fd112eec 100644 --- a/plugins/modules/ibm_compute_ssh_key_info.py +++ b/plugins/modules/ibm_compute_ssh_key_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_ssh_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_ssl_certificate.py b/plugins/modules/ibm_compute_ssl_certificate.py index 41eaa2621..ffadc9e89 100644 --- a/plugins/modules/ibm_compute_ssl_certificate.py +++ b/plugins/modules/ibm_compute_ssl_certificate.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_ssl_certificate' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - tags: - description: - - Tags set for resource - required: False - type: list - elements: str certificate: description: - (Required for new resource) SSL Certifcate @@ -41,6 +35,12 @@ - (Required for new resource) SSL Private Key required: True type: str + tags: + description: + - Tags set for resource + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,10 +93,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'certificate', 'intermediate_certificate', 'private_key', + 'tags', ] # Params for Data source @@ -113,10 +113,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), certificate=dict( required=False, type='str'), @@ -126,6 +122,10 @@ private_key=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_compute_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_user.py b/plugins/modules/ibm_compute_user.py index c14652fe8..c3cef2999 100644 --- a/plugins/modules/ibm_compute_user.py +++ b/plugins/modules/ibm_compute_user.py @@ -16,61 +16,75 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_user' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - first_name: + username: description: - - (Required for new resource) First name of the user + - user name + required: False + type: str + state_: + description: + - (Required for new resource) Satate name required: True type: str - company_name: + api_key: description: - - (Required for new resource) comapany name + - API key for the user + required: False + type: str + tags: + description: + - Tags set for the resources + required: False + type: list + elements: str + last_name: + description: + - (Required for new resource) Last name of the user required: True type: str - address1: + email: description: - - (Required for new resource) Address info of the user + - (Required for new resource) email address of the user required: True type: str - country: + address1: description: - - (Required for new resource) Country name + - (Required for new resource) Address info of the user required: True type: str - user_status: + address2: description: - - user status info + - Address info of the user required: False type: str - default: ACTIVE - password: + first_name: description: - - password for the user - required: False + - (Required for new resource) First name of the user + required: True type: str - username: + company_name: description: - - user name - required: False + - (Required for new resource) comapany name + required: True type: str - tags: + city: description: - - Tags set for the resources - required: False - type: list - elements: str + - (Required for new resource) City name + required: True + type: str timezone: description: - (Required for new resource) time zone info required: True type: str - city: + password: description: - - (Required for new resource) City name - required: True + - password for the user + required: False type: str permissions: description: @@ -78,37 +92,23 @@ required: False type: list elements: str - has_api_key: - description: - - API Key info of the user - required: False - type: bool - default: False - email: + country: description: - - (Required for new resource) email address of the user + - (Required for new resource) Country name required: True type: str - address2: + user_status: description: - - Address info of the user + - user status info required: False type: str - state_: - description: - - (Required for new resource) Satate name - required: True - type: str - api_key: + default: ACTIVE + has_api_key: description: - - API key for the user + - API Key info of the user required: False - type: str - last_name: - description: - - (Required for new resource) Last name of the user - required: True - type: str + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -155,36 +155,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('state_', 'str'), + ('last_name', 'str'), + ('email', 'str'), + ('address1', 'str'), ('first_name', 'str'), ('company_name', 'str'), - ('address1', 'str'), - ('country', 'str'), - ('timezone', 'str'), ('city', 'str'), - ('email', 'str'), - ('state_', 'str'), - ('last_name', 'str'), + ('timezone', 'str'), + ('country', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'first_name', - 'company_name', - 'address1', - 'country', - 'user_status', - 'password', 'username', + 'state_', + 'api_key', 'tags', - 'timezone', + 'last_name', + 'email', + 'address1', + 'address2', + 'first_name', + 'company_name', 'city', + 'timezone', + 'password', 'permissions', + 'country', + 'user_status', 'has_api_key', - 'email', - 'address2', - 'state_', - 'api_key', - 'last_name', ] # Params for Data source @@ -201,59 +201,59 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - first_name=dict( + username=dict( required=False, type='str'), - company_name=dict( + state_=dict( required=False, type='str'), - address1=dict( + api_key=dict( required=False, type='str'), - country=dict( + tags=dict( + required=False, + elements='', + type='list'), + last_name=dict( required=False, type='str'), - user_status=dict( + email=dict( required=False, type='str'), - password=dict( + address1=dict( required=False, type='str'), - username=dict( + address2=dict( required=False, type='str'), - tags=dict( + first_name=dict( required=False, - elements='', - type='list'), - timezone=dict( + type='str'), + company_name=dict( required=False, type='str'), city=dict( required=False, type='str'), - permissions=dict( - required=False, - elements='', - type='list'), - has_api_key=dict( - required=False, - type='bool'), - email=dict( + timezone=dict( required=False, type='str'), - address2=dict( + password=dict( required=False, type='str'), - state_=dict( + permissions=dict( required=False, - type='str'), - api_key=dict( + elements='', + type='list'), + country=dict( required=False, type='str'), - last_name=dict( + user_status=dict( required=False, type='str'), + has_api_key=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -319,7 +319,7 @@ def run_module(): resource_type='ibm_compute_user', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_vm_instance.py b/plugins/modules/ibm_compute_vm_instance.py index bc6d7f155..bd1639364 100644 --- a/plugins/modules/ibm_compute_vm_instance.py +++ b/plugins/modules/ibm_compute_vm_instance.py @@ -16,129 +16,117 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_vm_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - cores: + tags: + description: + - None + required: False + type: list + elements: str + wait_time_minutes: description: - None required: False type: int - private_network_only: + default: 90 + hourly_billing: description: - None required: False type: bool - default: False - placement_group_name: + default: True + private_security_group_ids: description: - - The placement group name + - None required: False - type: str - private_subnet: + type: list + elements: int + disks: description: - None required: False - type: str - domain: + type: list + elements: int + post_install_script_uri: description: - None required: False type: str - hourly_billing: + transient: description: - None required: False type: bool - default: True - memory: - description: - - None - required: False - type: int - os_reference_code: + public_subnet: description: - None required: False type: str - flavor_key_name: - description: - - Flavor key name used to provision vm. - required: False - type: str - secondary_ip_count: + public_security_group_ids: description: - None required: False - type: int - notes: + type: list + elements: int + datacenter: description: - None required: False type: str - public_vlan_id: + ipv6_static_enabled: description: - None required: False - type: int + type: bool + default: False file_storage_ids: description: - None required: False type: list elements: int - disks: + datacenter_choice: description: - - None + - The user provided datacenter options required: False type: list - elements: int - ipv6_enabled: + elements: dict + user_metadata: description: - None required: False - type: bool - default: False - public_bandwidth_unlimited: + type: str + evault: description: - None required: False - type: bool - default: False - placement_group_id: - description: - - The placement group id - required: False type: int - transient: - description: - - None - required: False - type: bool - image_id: + network_speed: description: - None required: False type: int - evault: + default: 100 + private_subnet: description: - None required: False - type: int - network_speed: + type: str + public_bandwidth_limited: description: - None required: False type: int - default: 100 - local_disk: + public_bandwidth_unlimited: description: - None required: False type: bool - default: True - post_install_script_uri: + default: False + hostname: description: - None required: False @@ -149,99 +137,111 @@ required: False type: list elements: dict - public_security_group_ids: + os_reference_code: description: - None required: False - type: list - elements: int - private_vlan_id: + type: str + private_network_only: + description: + - None + required: False + type: bool + default: False + placement_group_id: + description: + - The placement group id + required: False + type: int + dedicated_host_id: description: - None required: False type: int - hostname: + domain: description: - None required: False type: str - tags: + memory: description: - None required: False - type: list - elements: str - datacenter: + type: int + dedicated_host_name: description: - None required: False type: str - dedicated_host_name: + ipv6_enabled: description: - None required: False - type: str - block_storage_ids: + type: bool + default: False + ssh_key_ids: description: - None required: False type: list elements: int - wait_time_minutes: + block_storage_ids: description: - None required: False - type: int - default: 90 - dedicated_acct_host_only: + type: list + elements: int + notes: description: - None required: False - type: bool - dedicated_host_id: + type: str + image_id: description: - None required: False type: int - datacenter_choice: + public_vlan_id: description: - - The user provided datacenter options + - None required: False - type: list - elements: dict - private_security_group_ids: + type: int + secondary_ip_count: description: - None required: False - type: list - elements: int - ipv6_static_enabled: + type: int + local_disk: description: - None required: False type: bool - default: False - ssh_key_ids: + default: True + placement_group_name: description: - - None + - The placement group name required: False - type: list - elements: int - public_subnet: + type: str + private_vlan_id: description: - None required: False - type: str - user_metadata: + type: int + flavor_key_name: description: - - None + - Flavor key name used to provision vm. required: False type: str - public_bandwidth_limited: + cores: description: - None required: False type: int + dedicated_acct_host_only: + description: + - None + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -292,220 +292,220 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cores', - 'private_network_only', - 'placement_group_name', - 'private_subnet', - 'domain', + 'tags', + 'wait_time_minutes', 'hourly_billing', - 'memory', - 'os_reference_code', - 'flavor_key_name', - 'secondary_ip_count', - 'notes', - 'public_vlan_id', - 'file_storage_ids', + 'private_security_group_ids', 'disks', - 'ipv6_enabled', - 'public_bandwidth_unlimited', - 'placement_group_id', + 'post_install_script_uri', 'transient', - 'image_id', + 'public_subnet', + 'public_security_group_ids', + 'datacenter', + 'ipv6_static_enabled', + 'file_storage_ids', + 'datacenter_choice', + 'user_metadata', 'evault', 'network_speed', - 'local_disk', - 'post_install_script_uri', - 'bulk_vms', - 'public_security_group_ids', - 'private_vlan_id', + 'private_subnet', + 'public_bandwidth_limited', + 'public_bandwidth_unlimited', 'hostname', - 'tags', - 'datacenter', + 'bulk_vms', + 'os_reference_code', + 'private_network_only', + 'placement_group_id', + 'dedicated_host_id', + 'domain', + 'memory', 'dedicated_host_name', + 'ipv6_enabled', + 'ssh_key_ids', 'block_storage_ids', - 'wait_time_minutes', + 'notes', + 'image_id', + 'public_vlan_id', + 'secondary_ip_count', + 'local_disk', + 'placement_group_name', + 'private_vlan_id', + 'flavor_key_name', + 'cores', 'dedicated_acct_host_only', - 'dedicated_host_id', - 'datacenter_choice', - 'private_security_group_ids', - 'ipv6_static_enabled', - 'ssh_key_ids', - 'public_subnet', - 'user_metadata', - 'public_bandwidth_limited', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('hostname', 'str'), ('domain', 'str'), + ('hostname', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'hostname', - 'most_recent', 'domain', + 'most_recent', + 'hostname', ] TL_CONFLICTS_MAP = { - 'cores': ['flavor_key_name'], - 'placement_group_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_id'], - 'domain': ['bulk_vms'], - 'memory': ['flavor_key_name'], - 'os_reference_code': ['image_id'], - 'flavor_key_name': ['cores', 'memory'], - 'public_vlan_id': ['datacenter_choice'], + 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], + 'datacenter': ['datacenter_choice'], + 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id'], + 'public_bandwidth_limited': ['private_network_only', 'public_bandwidth_unlimited'], 'public_bandwidth_unlimited': ['private_network_only', 'public_bandwidth_limited'], + 'hostname': ['bulk_vms'], + 'bulk_vms': ['hostname', 'domain'], + 'os_reference_code': ['image_id'], 'placement_group_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name'], - 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], + 'dedicated_host_id': ['dedicated_acct_host_only', 'dedicated_host_name', 'placement_group_name', 'placement_group_id'], + 'domain': ['bulk_vms'], + 'memory': ['flavor_key_name'], + 'dedicated_host_name': ['dedicated_acct_host_only', 'dedicated_host_id', 'placement_group_name', 'placement_group_id'], 'image_id': ['os_reference_code'], - 'bulk_vms': ['hostname', 'domain'], + 'public_vlan_id': ['datacenter_choice'], + 'placement_group_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_id'], 'private_vlan_id': ['datacenter_choice'], - 'hostname': ['bulk_vms'], - 'datacenter': ['datacenter_choice'], - 'dedicated_host_name': ['dedicated_acct_host_only', 'dedicated_host_id', 'placement_group_name', 'placement_group_id'], + 'flavor_key_name': ['cores', 'memory'], + 'cores': ['flavor_key_name'], 'dedicated_acct_host_only': ['dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'placement_group_name'], - 'dedicated_host_id': ['dedicated_acct_host_only', 'dedicated_host_name', 'placement_group_name', 'placement_group_id'], - 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id'], - 'public_bandwidth_limited': ['private_network_only', 'public_bandwidth_unlimited'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cores=dict( + tags=dict( + required=False, + elements='', + type='list'), + wait_time_minutes=dict( required=False, type='int'), - private_network_only=dict( + hourly_billing=dict( required=False, type='bool'), - placement_group_name=dict( + private_security_group_ids=dict( required=False, - type='str'), - private_subnet=dict( + elements='', + type='list'), + disks=dict( required=False, - type='str'), - domain=dict( + elements='', + type='list'), + post_install_script_uri=dict( required=False, type='str'), - hourly_billing=dict( + transient=dict( required=False, type='bool'), - memory=dict( - required=False, - type='int'), - os_reference_code=dict( - required=False, - type='str'), - flavor_key_name=dict( + public_subnet=dict( required=False, type='str'), - secondary_ip_count=dict( + public_security_group_ids=dict( required=False, - type='int'), - notes=dict( + elements='', + type='list'), + datacenter=dict( required=False, type='str'), - public_vlan_id=dict( + ipv6_static_enabled=dict( required=False, - type='int'), + type='bool'), file_storage_ids=dict( required=False, elements='', type='list'), - disks=dict( + datacenter_choice=dict( required=False, elements='', type='list'), - ipv6_enabled=dict( - required=False, - type='bool'), - public_bandwidth_unlimited=dict( + user_metadata=dict( required=False, - type='bool'), - placement_group_id=dict( + type='str'), + evault=dict( required=False, type='int'), - transient=dict( - required=False, - type='bool'), - image_id=dict( + network_speed=dict( required=False, type='int'), - evault=dict( + private_subnet=dict( required=False, - type='int'), - network_speed=dict( + type='str'), + public_bandwidth_limited=dict( required=False, type='int'), - local_disk=dict( + public_bandwidth_unlimited=dict( required=False, type='bool'), - post_install_script_uri=dict( + hostname=dict( required=False, type='str'), bulk_vms=dict( required=False, elements='', type='list'), - public_security_group_ids=dict( + os_reference_code=dict( required=False, - elements='', - type='list'), - private_vlan_id=dict( + type='str'), + private_network_only=dict( required=False, - type='int'), - hostname=dict( + type='bool'), + placement_group_id=dict( required=False, - type='str'), - tags=dict( + type='int'), + dedicated_host_id=dict( required=False, - elements='', - type='list'), - datacenter=dict( + type='int'), + domain=dict( required=False, type='str'), + memory=dict( + required=False, + type='int'), dedicated_host_name=dict( required=False, type='str'), - block_storage_ids=dict( + ipv6_enabled=dict( + required=False, + type='bool'), + ssh_key_ids=dict( required=False, elements='', type='list'), - wait_time_minutes=dict( + block_storage_ids=dict( required=False, - type='int'), - dedicated_acct_host_only=dict( + elements='', + type='list'), + notes=dict( required=False, - type='bool'), - dedicated_host_id=dict( + type='str'), + image_id=dict( required=False, type='int'), - datacenter_choice=dict( + public_vlan_id=dict( required=False, - elements='', - type='list'), - private_security_group_ids=dict( + type='int'), + secondary_ip_count=dict( required=False, - elements='', - type='list'), - ipv6_static_enabled=dict( + type='int'), + local_disk=dict( required=False, type='bool'), - ssh_key_ids=dict( - required=False, - elements='', - type='list'), - public_subnet=dict( + placement_group_name=dict( required=False, type='str'), - user_metadata=dict( + private_vlan_id=dict( + required=False, + type='int'), + flavor_key_name=dict( required=False, type='str'), - public_bandwidth_limited=dict( + cores=dict( required=False, type='int'), + dedicated_acct_host_only=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -571,7 +571,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -580,7 +580,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_vm_instance_info.py b/plugins/modules/ibm_compute_vm_instance_info.py index 6192bdb33..3dd053e2f 100644 --- a/plugins/modules/ibm_compute_vm_instance_info.py +++ b/plugins/modules/ibm_compute_vm_instance_info.py @@ -15,13 +15,13 @@ description: - Retrieve an IBM Cloud 'ibm_compute_vm_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - hostname: + domain: description: - - The hostname of the virtual guest + - The domain of the virtual guest required: True type: str most_recent: @@ -30,9 +30,9 @@ required: False type: bool default: False - domain: + hostname: description: - - The domain of the virtual guest + - The hostname of the virtual guest required: True type: str iaas_classic_username: @@ -68,15 +68,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('hostname', 'str'), ('domain', 'str'), + ('hostname', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'hostname', - 'most_recent', 'domain', + 'most_recent', + 'hostname', ] @@ -87,13 +87,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - hostname=dict( + domain=dict( required=True, type='str'), most_recent=dict( required=False, type='bool'), - domain=dict( + hostname=dict( required=True, type='str'), iaas_classic_username=dict( @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_addons.py b/plugins/modules/ibm_container_addons.py index 8e7fb9dd8..b024b82d7 100644 --- a/plugins/modules/ibm_container_addons.py +++ b/plugins/modules/ibm_container_addons.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_addons' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -159,7 +159,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_addons_info.py b/plugins/modules/ibm_container_addons_info.py index 855a94358..a0eb61566 100644 --- a/plugins/modules/ibm_container_addons_info.py +++ b/plugins/modules/ibm_container_addons_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_addons' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -76,7 +76,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_alb.py b/plugins/modules/ibm_container_alb.py index 151a173d6..032e1600b 100644 --- a/plugins/modules/ibm_container_alb.py +++ b/plugins/modules/ibm_container_alb.py @@ -16,29 +16,29 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - alb_id: - description: - - (Required for new resource) ALB ID - required: True - type: str disable_deployment: description: - Set to true if ALB needs to be disabled required: False type: bool + user_ip: + description: + - IP assigned by the user + required: False + type: str enable: description: - set to true if ALB needs to be enabled required: False type: bool - user_ip: + alb_id: description: - - IP assigned by the user - required: False + - (Required for new resource) ALB ID + required: True type: str id: description: @@ -71,10 +71,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'alb_id', 'disable_deployment', - 'enable', 'user_ip', + 'enable', + 'alb_id', ] # Params for Data source @@ -95,16 +95,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - alb_id=dict( - required=False, - type='str'), disable_deployment=dict( required=False, type='bool'), + user_ip=dict( + required=False, + type='str'), enable=dict( required=False, type='bool'), - user_ip=dict( + alb_id=dict( required=False, type='str'), id=dict( @@ -158,7 +158,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_alb_cert.py b/plugins/modules/ibm_container_alb_cert.py index 3bf0ff1b5..085917d81 100644 --- a/plugins/modules/ibm_container_alb_cert.py +++ b/plugins/modules/ibm_container_alb_cert.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb_cert' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - secret_name: - description: - - (Required for new resource) Secret name - required: True - type: str cert_crn: description: - (Required for new resource) Certificate CRN id @@ -35,6 +30,11 @@ - (Required for new resource) Cluster ID required: True type: str + secret_name: + description: + - (Required for new resource) Secret name + required: True + type: str namespace: description: - Namespace of the secret @@ -72,30 +72,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('secret_name', 'str'), ('cert_crn', 'str'), ('cluster_id', 'str'), + ('secret_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'secret_name', 'cert_crn', 'cluster_id', + 'secret_name', 'namespace', 'persistence', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('secret_name', 'str'), ('cluster_id', 'str'), + ('secret_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'cluster_id', 'namespace', 'secret_name', - 'cluster_id', ] TL_CONFLICTS_MAP = { @@ -105,15 +105,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - secret_name=dict( - required=False, - type='str'), cert_crn=dict( required=False, type='str'), cluster_id=dict( required=False, type='str'), + secret_name=dict( + required=False, + type='str'), namespace=dict( required=False, type='str'), @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -180,7 +180,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_alb_cert_info.py b/plugins/modules/ibm_container_alb_cert_info.py index 074b9fb95..87e488c7f 100644 --- a/plugins/modules/ibm_container_alb_cert_info.py +++ b/plugins/modules/ibm_container_alb_cert_info.py @@ -15,10 +15,15 @@ description: - Retrieve an IBM Cloud 'ibm_container_alb_cert' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + cluster_id: + description: + - Cluster ID + required: True + type: str namespace: description: - Namespace of the secret @@ -30,11 +35,6 @@ - Secret name required: True type: str - cluster_id: - description: - - Cluster ID - required: True - type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -48,15 +48,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('secret_name', 'str'), ('cluster_id', 'str'), + ('secret_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cluster_id', 'namespace', 'secret_name', - 'cluster_id', ] @@ -67,15 +67,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + cluster_id=dict( + required=True, + type='str'), namespace=dict( required=False, type='str'), secret_name=dict( required=True, type='str'), - cluster_id=dict( - required=True, - type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_alb_info.py b/plugins/modules/ibm_container_alb_info.py index 3c59e25dc..508f56f1e 100644 --- a/plugins/modules/ibm_container_alb_info.py +++ b/plugins/modules/ibm_container_alb_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -76,7 +76,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_api_key_reset.py b/plugins/modules/ibm_container_api_key_reset.py index c79d93624..f6882087c 100644 --- a/plugins/modules/ibm_container_api_key_reset.py +++ b/plugins/modules/ibm_container_api_key_reset.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_api_key_reset' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - region: - description: - - (Required for new resource) Region which api key has to be reset - required: True - type: str resource_group_id: description: - ID of Resource Group @@ -36,6 +31,11 @@ required: False type: int default: 1 + region: + description: + - (Required for new resource) Region which api key has to be reset + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -67,9 +67,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'region', 'resource_group_id', 'reset_api_key', + 'region', ] # Params for Data source @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - region=dict( - required=False, - type='str'), resource_group_id=dict( required=False, type='str'), reset_api_key=dict( required=False, type='int'), + region=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -146,7 +146,7 @@ def run_module(): resource_type='ibm_container_api_key_reset', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_bind_service.py b/plugins/modules/ibm_container_bind_service.py index bf8c34a2b..c7d23edbe 100644 --- a/plugins/modules/ibm_container_bind_service.py +++ b/plugins/modules/ibm_container_bind_service.py @@ -16,14 +16,14 @@ - Create, update or destroy an IBM Cloud 'ibm_container_bind_service' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - service_instance_name: + cluster_name_id: description: - - serivice instance name - required: False + - (Required for new resource) Cluster name or ID + required: True type: str namespace_id: description: @@ -40,21 +40,21 @@ - Role info required: False type: str - service_instance_id: - description: - - Service instance ID - required: False - type: str tags: description: - List of tags for the resource required: False type: list elements: str - cluster_name_id: + service_instance_name: description: - - (Required for new resource) Cluster name or ID - required: True + - serivice instance name + required: False + type: str + service_instance_id: + description: + - Service instance ID + required: False type: str resource_group_id: description: @@ -87,19 +87,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('namespace_id', 'str'), ('cluster_name_id', 'str'), + ('namespace_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service_instance_name', + 'cluster_name_id', 'namespace_id', 'key', 'role', - 'service_instance_id', 'tags', - 'cluster_name_id', + 'service_instance_name', + 'service_instance_id', 'resource_group_id', ] @@ -125,7 +125,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - service_instance_name=dict( + cluster_name_id=dict( required=False, type='str'), namespace_id=dict( @@ -137,14 +137,14 @@ role=dict( required=False, type='str'), - service_instance_id=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - cluster_name_id=dict( + service_instance_name=dict( + required=False, + type='str'), + service_instance_id=dict( required=False, type='str'), resource_group_id=dict( @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -210,7 +210,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_bind_service_info.py b/plugins/modules/ibm_container_bind_service_info.py index 304948ef1..ae28bef81 100644 --- a/plugins/modules/ibm_container_bind_service_info.py +++ b/plugins/modules/ibm_container_bind_service_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_bind_service' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -106,7 +106,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster.py b/plugins/modules/ibm_container_cluster.py index 5baade6dc..bf6edd91d 100644 --- a/plugins/modules/ibm_container_cluster.py +++ b/plugins/modules/ibm_container_cluster.py @@ -16,25 +16,45 @@ - Create, update or destroy an IBM Cloud 'ibm_container_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) The cluster name + required: True + type: str + datacenter: + description: + - (Required for new resource) The datacenter where this cluster will be deployed + required: True + type: str default_pool_size: description: - The size of the default worker pool required: False type: int default: 1 - disk_encryption: + subnet_id: description: - - disc encryption done, if set to true. + - List of subnet IDs + required: False + type: list + elements: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + private_service_endpoint: + description: + - None required: False type: bool - default: True - kube_version: + public_vlan_id: description: - - Kubernetes version info + - Public VLAN ID required: False type: str wait_for_worker_update: @@ -43,23 +63,47 @@ required: False type: bool default: True - private_service_endpoint: + webhook: description: - None required: False + type: list + elements: dict + tags: + description: + - Tags for the resource + required: False + type: list + elements: str + force_delete_storage: + description: + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + required: False type: bool - kms_config: + default: False + labels: description: - - Enables KMS on a given cluster + - list of labels to the default worker pool + required: False + type: dict + elements: str + workers_info: + description: + - The IDs of the worker node required: False type: list elements: dict - gateway_enabled: + disk_encryption: description: - - Set true for gateway enabled clusters + - disc encryption done, if set to true. required: False type: bool - default: False + default: True + patch_version: + description: + - Kubernetes patch version + required: False + type: str machine_type: description: - Machine type @@ -71,41 +115,37 @@ required: False type: bool default: False - name: - description: - - (Required for new resource) The cluster name - required: True - type: str - public_vlan_id: - description: - - Public VLAN ID - required: False - type: str - webhook: + kms_config: description: - - None + - Enables KMS on a given cluster required: False type: list elements: dict - public_service_endpoint: + pod_subnet: description: - - None + - Custom subnet CIDR to provide private IP addresses for pods required: False - type: bool - hardware: - description: - - (Required for new resource) Hardware type - required: True type: str - force_delete_storage: + gateway_enabled: description: - - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + - Set true for gateway enabled clusters required: False type: bool default: False - datacenter: + update_all_workers: description: - - (Required for new resource) The datacenter where this cluster will be deployed + - Updates all the woker nodes if sets to true + required: False + type: bool + default: False + kube_version: + description: + - Kubernetes version info + required: False + type: str + hardware: + description: + - (Required for new resource) Hardware type required: True type: str private_vlan_id: @@ -118,41 +158,16 @@ - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - update_all_workers: - description: - - Updates all the woker nodes if sets to true - required: False - type: bool - default: False - labels: - description: - - list of labels to the default worker pool - required: False - type: dict - elements: str - workers_info: - description: - - The IDs of the worker node - required: False - type: list - elements: dict - resource_group_id: + service_subnet: description: - - ID of the resource group. + - Custom subnet CIDR to provide private IP addresses for services required: False type: str - subnet_id: - description: - - List of subnet IDs - required: False - type: list - elements: str - tags: + public_service_endpoint: description: - - Tags for the resource + - None required: False - type: list - elements: str + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -180,36 +195,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('hardware', 'str'), ('datacenter', 'str'), + ('hardware', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', + 'datacenter', 'default_pool_size', - 'disk_encryption', - 'kube_version', - 'wait_for_worker_update', + 'subnet_id', + 'resource_group_id', 'private_service_endpoint', - 'kms_config', - 'gateway_enabled', - 'machine_type', - 'no_subnet', - 'name', 'public_vlan_id', + 'wait_for_worker_update', 'webhook', - 'public_service_endpoint', - 'hardware', + 'tags', 'force_delete_storage', - 'datacenter', - 'private_vlan_id', - 'entitlement', - 'update_all_workers', 'labels', 'workers_info', - 'resource_group_id', - 'subnet_id', - 'tags', + 'disk_encryption', + 'patch_version', + 'machine_type', + 'no_subnet', + 'kms_config', + 'pod_subnet', + 'gateway_enabled', + 'update_all_workers', + 'kube_version', + 'hardware', + 'private_vlan_id', + 'entitlement', + 'service_subnet', + 'public_service_endpoint', ] # Params for Data source @@ -217,14 +235,14 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', - 'name', - 'cluster_name_id', - 'org_guid', + 'space_guid', 'alb_type', 'region', - 'space_guid', + 'resource_group_id', 'list_bounded_services', + 'name', + 'org_guid', + 'cluster_name_id', 'account_guid', ] @@ -235,54 +253,79 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), + datacenter=dict( + required=False, + type='str'), default_pool_size=dict( required=False, type='int'), - disk_encryption=dict( + subnet_id=dict( + required=False, + elements='', + type='list'), + resource_group_id=dict( + required=False, + type='str'), + private_service_endpoint=dict( required=False, type='bool'), - kube_version=dict( + public_vlan_id=dict( required=False, type='str'), wait_for_worker_update=dict( required=False, type='bool'), - private_service_endpoint=dict( + webhook=dict( + required=False, + elements='', + type='list'), + tags=dict( + required=False, + elements='', + type='list'), + force_delete_storage=dict( required=False, type='bool'), - kms_config=dict( + labels=dict( + required=False, + elements='', + type='dict'), + workers_info=dict( required=False, elements='', type='list'), - gateway_enabled=dict( + disk_encryption=dict( required=False, type='bool'), + patch_version=dict( + required=False, + type='str'), machine_type=dict( required=False, type='str'), no_subnet=dict( required=False, type='bool'), - name=dict( + kms_config=dict( required=False, - type='str'), - public_vlan_id=dict( + elements='', + type='list'), + pod_subnet=dict( required=False, type='str'), - webhook=dict( + gateway_enabled=dict( required=False, - elements='', - type='list'), - public_service_endpoint=dict( + type='bool'), + update_all_workers=dict( required=False, type='bool'), - hardware=dict( + kube_version=dict( required=False, type='str'), - force_delete_storage=dict( - required=False, - type='bool'), - datacenter=dict( + hardware=dict( required=False, type='str'), private_vlan_id=dict( @@ -291,28 +334,12 @@ entitlement=dict( required=False, type='str'), - update_all_workers=dict( - required=False, - type='bool'), - labels=dict( - required=False, - elements='', - type='dict'), - workers_info=dict( - required=False, - elements='', - type='list'), - resource_group_id=dict( + service_subnet=dict( required=False, type='str'), - subnet_id=dict( - required=False, - elements='', - type='list'), - tags=dict( + public_service_endpoint=dict( required=False, - elements='', - type='list'), + type='bool'), id=dict( required=False, type='str'), @@ -364,7 +391,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -373,7 +400,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_cluster_config_info.py b/plugins/modules/ibm_container_cluster_config_info.py index d26ce0111..7cffc64fb 100644 --- a/plugins/modules/ibm_container_cluster_config_info.py +++ b/plugins/modules/ibm_container_cluster_config_info.py @@ -15,31 +15,15 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_config' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str config_dir: description: - The directory where the cluster config to be downloaded. Default is home directory required: False type: str - download: - description: - - If set to false will not download the config, otherwise they are downloaded each time but onto the same path for a given cluster name/id - required: False - type: bool - default: True - cluster_name_id: - description: - - The name/id of the cluster - required: True - type: str admin: description: - If set to true will download the config for admin @@ -52,6 +36,22 @@ required: False type: bool default: False + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + download: + description: + - If set to false will not download the config, otherwise they are downloaded each time but onto the same path for a given cluster name/id + required: False + type: bool + default: True + cluster_name_id: + description: + - The name/id of the cluster + required: True + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -70,12 +70,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'config_dir', - 'download', - 'cluster_name_id', 'admin', 'network', + 'resource_group_id', + 'download', + 'cluster_name_id', ] @@ -86,10 +86,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( + config_dir=dict( required=False, type='str'), - config_dir=dict( + admin=dict( + required=False, + type='bool'), + network=dict( + required=False, + type='bool'), + resource_group_id=dict( required=False, type='str'), download=dict( @@ -98,12 +104,6 @@ cluster_name_id=dict( required=True, type='str'), - admin=dict( - required=False, - type='bool'), - network=dict( - required=False, - type='bool'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_container_cluster_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_feature.py b/plugins/modules/ibm_container_cluster_feature.py index 868a7d18d..e4cb69db1 100644 --- a/plugins/modules/ibm_container_cluster_feature.py +++ b/plugins/modules/ibm_container_cluster_feature.py @@ -16,39 +16,39 @@ - Create, update or destroy an IBM Cloud 'ibm_container_cluster_feature' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str public_service_endpoint: description: - None required: False type: bool - reload_workers: + private_service_endpoint: description: - - Boolean value set true if worker nodes to be reloaded + - None required: False type: bool - default: True + resource_group_id: + description: + - ID of the resource group. + required: False + type: str cluster: description: - (Required for new resource) Cluster name of ID required: True type: str - private_service_endpoint: + refresh_api_servers: description: - - None + - Boolean value true of API server to be refreshed in K8S cluster required: False type: bool - refresh_api_servers: + default: True + reload_workers: description: - - Boolean value true of API server to be refreshed in K8S cluster + - Boolean value set true if worker nodes to be reloaded required: False type: bool default: True @@ -83,12 +83,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'public_service_endpoint', - 'reload_workers', - 'cluster', 'private_service_endpoint', + 'resource_group_id', + 'cluster', 'refresh_api_servers', + 'reload_workers', ] # Params for Data source @@ -105,22 +105,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), public_service_endpoint=dict( required=False, type='bool'), - reload_workers=dict( + private_service_endpoint=dict( required=False, type='bool'), + resource_group_id=dict( + required=False, + type='str'), cluster=dict( required=False, type='str'), - private_service_endpoint=dict( + refresh_api_servers=dict( required=False, type='bool'), - refresh_api_servers=dict( + reload_workers=dict( required=False, type='bool'), id=dict( @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_container_cluster_feature', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_info.py b/plugins/modules/ibm_container_cluster_info.py index 6b467e609..6c8321a79 100644 --- a/plugins/modules/ibm_container_cluster_info.py +++ b/plugins/modules/ibm_container_cluster_info.py @@ -15,32 +15,32 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str - name: - description: - - Name or id of the cluster - required: False - type: str alb_type: description: - None required: False type: str default: all + resource_group_id: + description: + - ID of the resource group. + required: False + type: str list_bounded_services: description: - If set to false bounded services won't be listed. required: False type: bool default: True + name: + description: + - Name or id of the cluster + required: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -58,10 +58,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', - 'name', 'alb_type', + 'resource_group_id', 'list_bounded_services', + 'name', ] @@ -72,18 +72,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), - name=dict( + alb_type=dict( required=False, type='str'), - alb_type=dict( + resource_group_id=dict( required=False, type='str'), list_bounded_services=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -104,7 +104,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_versions_info.py b/plugins/modules/ibm_container_cluster_versions_info.py index 487664233..2812a0a41 100644 --- a/plugins/modules/ibm_container_cluster_versions_info.py +++ b/plugins/modules/ibm_container_cluster_versions_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_versions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -75,7 +75,7 @@ def run_module(): resource_type='ibm_container_cluster_versions', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_worker_info.py b/plugins/modules/ibm_container_cluster_worker_info.py index 209e69465..18946bd22 100644 --- a/plugins/modules/ibm_container_cluster_worker_info.py +++ b/plugins/modules/ibm_container_cluster_worker_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_worker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -85,7 +85,7 @@ def run_module(): resource_type='ibm_container_cluster_worker', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_alb.py b/plugins/modules/ibm_container_vpc_alb.py index d4b303c6c..885e666c0 100644 --- a/plugins/modules/ibm_container_vpc_alb.py +++ b/plugins/modules/ibm_container_vpc_alb.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - disable_deployment: - description: - - Disable the ALB instance in the cluster - required: False - type: bool alb_id: description: - (Required for new resource) ALB ID @@ -35,6 +30,11 @@ - Enable the ALB instance in the cluster required: False type: bool + disable_deployment: + description: + - Disable the ALB instance in the cluster + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -66,9 +66,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'disable_deployment', 'alb_id', 'enable', + 'disable_deployment', ] # Params for Data source @@ -81,23 +81,23 @@ ] TL_CONFLICTS_MAP = { - 'disable_deployment': ['enable'], 'enable': ['disable_deployment'], + 'disable_deployment': ['enable'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - disable_deployment=dict( - required=False, - type='bool'), alb_id=dict( required=False, type='str'), enable=dict( required=False, type='bool'), + disable_deployment=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -149,7 +149,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -158,7 +158,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_vpc_alb_info.py b/plugins/modules/ibm_container_vpc_alb_info.py index 83d6a2168..d24d0e75e 100644 --- a/plugins/modules/ibm_container_vpc_alb_info.py +++ b/plugins/modules/ibm_container_vpc_alb_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -76,7 +76,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster.py b/plugins/modules/ibm_container_vpc_cluster.py index e6d8ce9af..fe895b84a 100644 --- a/plugins/modules/ibm_container_vpc_cluster.py +++ b/plugins/modules/ibm_container_vpc_cluster.py @@ -16,37 +16,28 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The cluster name - required: True - type: str - kms_config: + tags: description: - - Enables KMS on a given cluster + - List of tags for the resources required: False type: list - elements: dict - kube_version: + elements: str + force_delete_storage: description: - - Kubernetes version + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered required: False - type: str + type: bool + default: False disable_public_service_endpoint: description: - Boolean value true if Public service endpoint to be disabled required: False type: bool default: False - cos_instance_crn: - description: - - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster - required: False - type: str worker_count: description: - Number of worker nodes in the cluster @@ -59,72 +50,86 @@ required: False type: dict elements: str - entitlement: + flavor: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters - required: False + - (Required for new resource) Cluster nodes flavour + required: True type: str - update_all_workers: + kms_config: description: - - Updates all the woker nodes if sets to true + - Enables KMS on a given cluster required: False - type: bool - default: False - wait_for_worker_update: + type: list + elements: dict + wait_till: description: - - Wait for worker node to update during kube version update. + - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready required: False - type: bool - default: True + type: str + default: IngressReady vpc_id: description: - (Required for new resource) The vpc id where the cluster is required: True type: str - tags: + update_all_workers: description: - - List of tags for the resources + - Updates all the woker nodes if sets to true required: False + type: bool + default: False + zones: + description: + - (Required for new resource) Zone info + required: True type: list - elements: str - service_subnet: + elements: dict + entitlement: description: - - Custom subnet CIDR to provide private IP addresses for services + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - wait_till: + patch_version: description: - - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + - Kubernetes patch version required: False type: str - default: IngressReady - zones: + service_subnet: description: - - (Required for new resource) Zone info + - Custom subnet CIDR to provide private IP addresses for services + required: False + type: str + name: + description: + - (Required for new resource) The cluster name required: True - type: list - elements: dict + type: str + kube_version: + description: + - Kubernetes version + required: False + type: str resource_group_id: description: - ID of the resource group. required: False type: str - flavor: + wait_for_worker_update: description: - - (Required for new resource) Cluster nodes flavour - required: True + - Wait for worker node to update during kube version update. + required: False + type: bool + default: True + cos_instance_crn: + description: + - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster + required: False type: str pod_subnet: description: - Custom subnet CIDR to provide private IP addresses for pods required: False type: str - force_delete_storage: - description: - - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - required: False - type: bool - default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -151,33 +156,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), + ('flavor', 'str'), ('vpc_id', 'str'), ('zones', 'list'), - ('flavor', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'kms_config', - 'kube_version', + 'tags', + 'force_delete_storage', 'disable_public_service_endpoint', - 'cos_instance_crn', 'worker_count', 'worker_labels', - 'entitlement', - 'update_all_workers', - 'wait_for_worker_update', - 'vpc_id', - 'tags', - 'service_subnet', + 'flavor', + 'kms_config', 'wait_till', + 'vpc_id', + 'update_all_workers', 'zones', + 'entitlement', + 'patch_version', + 'service_subnet', + 'name', + 'kube_version', 'resource_group_id', - 'flavor', + 'wait_for_worker_update', + 'cos_instance_crn', 'pod_subnet', - 'force_delete_storage', ] # Params for Data source @@ -185,10 +191,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', - 'cluster_name_id', 'name', 'alb_type', + 'resource_group_id', + 'cluster_name_id', ] TL_CONFLICTS_MAP = { @@ -198,22 +204,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - kms_config=dict( + tags=dict( required=False, elements='', type='list'), - kube_version=dict( + force_delete_storage=dict( required=False, - type='str'), + type='bool'), disable_public_service_endpoint=dict( required=False, type='bool'), - cos_instance_crn=dict( - required=False, - type='str'), worker_count=dict( required=False, type='int'), @@ -221,44 +221,53 @@ required=False, elements='', type='dict'), - entitlement=dict( + flavor=dict( required=False, type='str'), - update_all_workers=dict( + kms_config=dict( required=False, - type='bool'), - wait_for_worker_update=dict( + elements='', + type='list'), + wait_till=dict( required=False, - type='bool'), + type='str'), vpc_id=dict( required=False, type='str'), - tags=dict( + update_all_workers=dict( + required=False, + type='bool'), + zones=dict( required=False, elements='', type='list'), + entitlement=dict( + required=False, + type='str'), + patch_version=dict( + required=False, + type='str'), service_subnet=dict( required=False, type='str'), - wait_till=dict( + name=dict( required=False, type='str'), - zones=dict( + kube_version=dict( required=False, - elements='', - type='list'), + type='str'), resource_group_id=dict( required=False, type='str'), - flavor=dict( + wait_for_worker_update=dict( + required=False, + type='bool'), + cos_instance_crn=dict( required=False, type='str'), pod_subnet=dict( required=False, type='str'), - force_delete_storage=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -310,7 +319,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -319,7 +328,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_vpc_cluster_alb_info.py b/plugins/modules/ibm_container_vpc_cluster_alb_info.py index e997a7d94..02c7b506c 100644 --- a/plugins/modules/ibm_container_vpc_cluster_alb_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_alb_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -76,7 +76,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster_info.py b/plugins/modules/ibm_container_vpc_cluster_info.py index ef0ab468a..b600e0b97 100644 --- a/plugins/modules/ibm_container_vpc_cluster_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_info.py @@ -15,15 +15,10 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str name: description: - Name or id of the cluster @@ -35,6 +30,11 @@ required: False type: str default: all + resource_group_id: + description: + - ID of the resource group. + required: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -52,9 +52,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'name', 'alb_type', + 'resource_group_id', ] @@ -65,15 +65,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), alb_type=dict( required=False, type='str'), + resource_group_id=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -94,7 +94,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster_worker_info.py b/plugins/modules/ibm_container_vpc_cluster_worker_info.py index 619d7edb7..65ff346fc 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -24,16 +24,16 @@ - Name or ID of the cluster required: True type: str - resource_group_id: - description: - - ID of the resource group. - required: False - type: str worker_id: description: - ID of the worker required: True type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -54,8 +54,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cluster_name_id', - 'resource_group_id', 'worker_id', + 'resource_group_id', ] @@ -69,12 +69,12 @@ cluster_name_id=dict( required=True, type='str'), - resource_group_id=dict( - required=False, - type='str'), worker_id=dict( required=True, type='str'), + resource_group_id=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -95,7 +95,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_worker', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py b/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py index 66bd3a633..269e08cf3 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -86,7 +86,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_worker_pool.py b/plugins/modules/ibm_container_vpc_worker_pool.py index 478d76565..ade1465bf 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool.py +++ b/plugins/modules/ibm_container_vpc_worker_pool.py @@ -16,24 +16,34 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - flavor: + resource_group_id: description: - - (Required for new resource) cluster node falvor + - ID of the resource group. + required: False + type: str + vpc_id: + description: + - (Required for new resource) The vpc id where the cluster is required: True type: str + entitlement: + description: + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + required: False + type: str zones: description: - (Required for new resource) Zones info required: True type: list elements: dict - cluster: + flavor: description: - - (Required for new resource) Cluster name + - (Required for new resource) cluster node falvor required: True type: str worker_pool_name: @@ -47,25 +57,15 @@ required: False type: dict elements: str - resource_group_id: - description: - - ID of the resource group. - required: False - type: str - vpc_id: - description: - - (Required for new resource) The vpc id where the cluster is - required: True - type: str worker_count: description: - (Required for new resource) The number of workers required: True type: int - entitlement: + cluster: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters - required: False + - (Required for new resource) Cluster name + required: True type: str id: description: @@ -93,36 +93,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('flavor', 'str'), + ('vpc_id', 'str'), ('zones', 'list'), - ('cluster', 'str'), + ('flavor', 'str'), ('worker_pool_name', 'str'), - ('vpc_id', 'str'), ('worker_count', 'int'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'flavor', + 'resource_group_id', + 'vpc_id', + 'entitlement', 'zones', - 'cluster', + 'flavor', 'worker_pool_name', 'labels', - 'resource_group_id', - 'vpc_id', 'worker_count', - 'entitlement', + 'cluster', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('cluster', 'str'), ('worker_pool_name', 'str'), + ('cluster', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'cluster', 'worker_pool_name', + 'cluster', ] TL_CONFLICTS_MAP = { @@ -132,14 +132,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - flavor=dict( + resource_group_id=dict( + required=False, + type='str'), + vpc_id=dict( + required=False, + type='str'), + entitlement=dict( required=False, type='str'), zones=dict( required=False, elements='', type='list'), - cluster=dict( + flavor=dict( required=False, type='str'), worker_pool_name=dict( @@ -149,16 +155,10 @@ required=False, elements='', type='dict'), - resource_group_id=dict( - required=False, - type='str'), - vpc_id=dict( - required=False, - type='str'), worker_count=dict( required=False, type='int'), - entitlement=dict( + cluster=dict( required=False, type='str'), id=dict( @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -221,7 +221,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_vpc_worker_pool_info.py b/plugins/modules/ibm_container_vpc_worker_pool_info.py index b36499c22..e4361605a 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_worker_pool_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - cluster: + worker_pool_name: description: - - Cluster name + - worker pool name required: True type: str - worker_pool_name: + cluster: description: - - worker pool name + - Cluster name required: True type: str ibmcloud_api_key: @@ -42,14 +42,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('worker_pool_name', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'worker_pool_name', + 'cluster', ] @@ -60,10 +60,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cluster=dict( + worker_pool_name=dict( required=True, type='str'), - worker_pool_name=dict( + cluster=dict( required=True, type='str'), ibmcloud_api_key=dict( @@ -86,7 +86,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_worker_pool.py b/plugins/modules/ibm_container_worker_pool.py index ef14cb3a5..6b115ac91 100644 --- a/plugins/modules/ibm_container_worker_pool.py +++ b/plugins/modules/ibm_container_worker_pool.py @@ -16,13 +16,13 @@ - Create, update or destroy an IBM Cloud 'ibm_container_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - worker_pool_name: + machine_type: description: - - (Required for new resource) worker pool name + - (Required for new resource) worker nodes machine type required: True type: str size_per_zone: @@ -30,12 +30,17 @@ - (Required for new resource) Number of nodes per zone required: True type: int - disk_encryption: + entitlement: description: - - worker node disk encrypted if set to true + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False - type: bool - default: True + type: str + hardware: + description: + - Hardware type + required: False + type: str + default: shared labels: description: - list of labels to worker pool @@ -52,22 +57,17 @@ - (Required for new resource) Cluster name required: True type: str - machine_type: + worker_pool_name: description: - - (Required for new resource) worker nodes machine type + - (Required for new resource) worker pool name required: True type: str - entitlement: - description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters - required: False - type: str - hardware: + disk_encryption: description: - - Hardware type + - worker node disk encrypted if set to true required: False - type: str - default: shared + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,34 +94,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('worker_pool_name', 'str'), + ('machine_type', 'str'), ('size_per_zone', 'int'), ('cluster', 'str'), - ('machine_type', 'str'), + ('worker_pool_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'worker_pool_name', + 'machine_type', 'size_per_zone', - 'disk_encryption', + 'entitlement', + 'hardware', 'labels', 'resource_group_id', 'cluster', - 'machine_type', - 'entitlement', - 'hardware', + 'worker_pool_name', + 'disk_encryption', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('cluster', 'str'), ('worker_pool_name', 'str'), + ('cluster', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'cluster', 'worker_pool_name', + 'cluster', ] TL_CONFLICTS_MAP = { @@ -131,15 +131,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - worker_pool_name=dict( + machine_type=dict( required=False, type='str'), size_per_zone=dict( required=False, type='int'), - disk_encryption=dict( + entitlement=dict( required=False, - type='bool'), + type='str'), + hardware=dict( + required=False, + type='str'), labels=dict( required=False, elements='', @@ -150,15 +153,12 @@ cluster=dict( required=False, type='str'), - machine_type=dict( - required=False, - type='str'), - entitlement=dict( + worker_pool_name=dict( required=False, type='str'), - hardware=dict( + disk_encryption=dict( required=False, - type='str'), + type='bool'), id=dict( required=False, type='str'), @@ -210,7 +210,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_worker_pool_info.py b/plugins/modules/ibm_container_worker_pool_info.py index 77dfd659c..1f65586fb 100644 --- a/plugins/modules/ibm_container_worker_pool_info.py +++ b/plugins/modules/ibm_container_worker_pool_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_container_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - cluster: + worker_pool_name: description: - - Name or ID of the cluster + - worker pool name required: True type: str - worker_pool_name: + cluster: description: - - worker pool name + - Name or ID of the cluster required: True type: str ibmcloud_api_key: @@ -42,14 +42,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('worker_pool_name', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'worker_pool_name', + 'cluster', ] @@ -60,10 +60,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cluster=dict( + worker_pool_name=dict( required=True, type='str'), - worker_pool_name=dict( + cluster=dict( required=True, type='str'), ibmcloud_api_key=dict( @@ -86,7 +86,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_worker_pool_zone_attachment.py b/plugins/modules/ibm_container_worker_pool_zone_attachment.py index 5faac7fde..3227c9a13 100644 --- a/plugins/modules/ibm_container_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_container_worker_pool_zone_attachment.py @@ -16,19 +16,14 @@ - Create, update or destroy an IBM Cloud 'ibm_container_worker_pool_zone_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - zone: - description: - - (Required for new resource) Zone name - required: True - type: str - worker_pool: + private_vlan_id: description: - - (Required for new resource) Workerpool name - required: True + - None + required: False type: str public_vlan_id: description: @@ -41,15 +36,20 @@ required: False type: bool default: True + zone: + description: + - (Required for new resource) Zone name + required: True + type: str cluster: description: - (Required for new resource) cluster name or ID required: True type: str - private_vlan_id: + worker_pool: description: - - None - required: False + - (Required for new resource) Workerpool name + required: True type: str resource_group_id: description: @@ -83,18 +83,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('zone', 'str'), - ('worker_pool', 'str'), ('cluster', 'str'), + ('worker_pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', - 'worker_pool', + 'private_vlan_id', 'public_vlan_id', 'wait_till_albs', + 'zone', 'cluster', - 'private_vlan_id', + 'worker_pool', 'resource_group_id', ] @@ -112,10 +112,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - zone=dict( - required=False, - type='str'), - worker_pool=dict( + private_vlan_id=dict( required=False, type='str'), public_vlan_id=dict( @@ -124,10 +121,13 @@ wait_till_albs=dict( required=False, type='bool'), + zone=dict( + required=False, + type='str'), cluster=dict( required=False, type='str'), - private_vlan_id=dict( + worker_pool=dict( required=False, type='str'), resource_group_id=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_container_worker_pool_zone_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cos_bucket.py b/plugins/modules/ibm_cos_bucket.py index a7c0702d3..32c2b3d14 100644 --- a/plugins/modules/ibm_cos_bucket.py +++ b/plugins/modules/ibm_cos_bucket.py @@ -16,87 +16,87 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - key_protect: + resource_instance_id: description: - - CRN of the key you want to use data at rest encryption - required: False + - (Required for new resource) resource instance ID + required: True type: str - expire_rule: + cross_region_location: description: - - Enable configuration expire_rule to COS Bucket after a defined period of time + - Cros region location info required: False - type: list - elements: dict + type: str bucket_name: description: - (Required for new resource) COS Bucket name required: True type: str - allowed_ip: + single_site_location: description: - - List of IPv4 or IPv6 addresses + - single site location info required: False - type: list - elements: str - metrics_monitoring: + type: str + storage_class: description: - - Enables sending metrics to IBM Cloud Monitoring. + - (Required for new resource) Storage class info + required: True + type: str + expire_rule: + description: + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False type: list elements: dict - archive_rule: + key_protect: description: - - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time + - CRN of the key you want to use data at rest encryption required: False - type: list - elements: dict + type: str region_location: description: - Region Location info. required: False type: str - cross_region_location: + force_delete: description: - - Cros region location info + - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. required: False - type: str - storage_class: - description: - - (Required for new resource) Storage class info - required: True - type: str - resource_instance_id: - description: - - (Required for new resource) resource instance ID - required: True - type: str - single_site_location: + type: bool + default: True + archive_rule: description: - - single site location info + - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time required: False - type: str + type: list + elements: dict endpoint_type: description: - public or private required: False type: str default: public + allowed_ip: + description: + - List of IPv4 or IPv6 addresses + required: False + type: list + elements: str activity_tracking: description: - Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events required: False type: list elements: dict - force_delete: + metrics_monitoring: description: - - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + - Enables sending metrics to IBM Cloud Monitoring. required: False - type: bool - default: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -143,102 +143,102 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('resource_instance_id', 'str'), ('bucket_name', 'str'), ('storage_class', 'str'), - ('resource_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key_protect', - 'expire_rule', - 'bucket_name', - 'allowed_ip', - 'metrics_monitoring', - 'archive_rule', - 'region_location', - 'cross_region_location', - 'storage_class', 'resource_instance_id', + 'cross_region_location', + 'bucket_name', 'single_site_location', + 'storage_class', + 'expire_rule', + 'key_protect', + 'region_location', + 'force_delete', + 'archive_rule', 'endpoint_type', + 'allowed_ip', 'activity_tracking', - 'force_delete', + 'metrics_monitoring', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('bucket_type', 'str'), + ('bucket_region', 'str'), ('bucket_name', 'str'), ('resource_instance_id', 'str'), - ('bucket_region', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'bucket_type', - 'bucket_name', + 'bucket_region', 'endpoint_type', + 'bucket_name', 'resource_instance_id', - 'bucket_region', ] TL_CONFLICTS_MAP = { - 'region_location': ['cross_region_location', 'single_site_location'], 'cross_region_location': ['region_location', 'single_site_location'], 'single_site_location': ['region_location', 'cross_region_location'], + 'region_location': ['cross_region_location', 'single_site_location'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - key_protect=dict( + resource_instance_id=dict( required=False, type='str'), - expire_rule=dict( + cross_region_location=dict( required=False, - elements='', - type='list'), + type='str'), bucket_name=dict( required=False, type='str'), - allowed_ip=dict( + single_site_location=dict( required=False, - elements='', - type='list'), - metrics_monitoring=dict( + type='str'), + storage_class=dict( required=False, - elements='', - type='list'), - archive_rule=dict( + type='str'), + expire_rule=dict( required=False, elements='', type='list'), - region_location=dict( - required=False, - type='str'), - cross_region_location=dict( + key_protect=dict( required=False, type='str'), - storage_class=dict( + region_location=dict( required=False, type='str'), - resource_instance_id=dict( + force_delete=dict( required=False, - type='str'), - single_site_location=dict( + type='bool'), + archive_rule=dict( required=False, - type='str'), + elements='', + type='list'), endpoint_type=dict( required=False, type='str'), + allowed_ip=dict( + required=False, + elements='', + type='list'), activity_tracking=dict( required=False, elements='', type='list'), - force_delete=dict( + metrics_monitoring=dict( required=False, - type='bool'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -304,7 +304,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -313,7 +313,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cos_bucket_info.py b/plugins/modules/ibm_cos_bucket_info.py index 2d1e49aa2..4f9d5b87c 100644 --- a/plugins/modules/ibm_cos_bucket_info.py +++ b/plugins/modules/ibm_cos_bucket_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -24,7 +24,7 @@ - None required: True type: str - bucket_name: + bucket_region: description: - None required: True @@ -35,12 +35,12 @@ required: False type: str default: public - resource_instance_id: + bucket_name: description: - None required: True type: str - bucket_region: + resource_instance_id: description: - None required: True @@ -79,18 +79,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('bucket_type', 'str'), + ('bucket_region', 'str'), ('bucket_name', 'str'), ('resource_instance_id', 'str'), - ('bucket_region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'bucket_type', - 'bucket_name', + 'bucket_region', 'endpoint_type', + 'bucket_name', 'resource_instance_id', - 'bucket_region', ] @@ -104,16 +104,16 @@ bucket_type=dict( required=True, type='str'), - bucket_name=dict( + bucket_region=dict( required=True, type='str'), endpoint_type=dict( required=False, type='str'), - resource_instance_id=dict( + bucket_name=dict( required=True, type='str'), - bucket_region=dict( + resource_instance_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cr_namespace.py b/plugins/modules/ibm_cr_namespace.py index 498930eed..ce2042f89 100644 --- a/plugins/modules/ibm_cr_namespace.py +++ b/plugins/modules/ibm_cr_namespace.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cr_namespace' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -170,7 +170,7 @@ def run_module(): resource_type='ibm_cr_namespace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cr_namespaces_info.py b/plugins/modules/ibm_cr_namespaces_info.py index 8260c18db..d69bd1d2b 100644 --- a/plugins/modules/ibm_cr_namespaces_info.py +++ b/plugins/modules/ibm_cr_namespaces_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_cr_namespaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_cr_namespaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database.py b/plugins/modules/ibm_database.py index 9da3b3e23..5632d55ca 100644 --- a/plugins/modules/ibm_database.py +++ b/plugins/modules/ibm_database.py @@ -16,125 +16,125 @@ - Create, update or destroy an IBM Cloud 'ibm_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - service: + name: description: - - (Required for new resource) The name of the Cloud Internet database service + - (Required for new resource) Resource instance name for example, my Database instance required: True type: str - adminpassword: - description: - - The admin user password for the instance - required: False - type: str - members_memory_allocation_mb: - description: - - Memory allocation required for cluster - required: False - type: int - point_in_time_recovery_time: + plan: description: - - The point in time recovery time stamp of the deployed instance - required: False + - (Required for new resource) The plan type of the Database instance + required: True type: str - whitelist: + version: description: - - None + - The database version to provision if specified required: False - type: list - elements: dict - name: - description: - - (Required for new resource) Resource instance name for example, my Database instance - required: True type: str location: description: - (Required for new resource) The location or the region in which Database instance exists required: True type: str - plan: - description: - - (Required for new resource) The plan type of the Database instance - required: True - type: str - members_disk_allocation_mb: - description: - - Disk allocation required for cluster - required: False - type: int - backup_encryption_key_crn: + service_endpoints: description: - - The Backup Encryption Key CRN + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. required: False type: str + default: public tags: description: - None required: False type: list elements: str - users: + whitelist: description: - None required: False type: list elements: dict - key_protect_instance: + resource_group_id: description: - - The CRN of Key protect instance + - The id of the resource group in which the Database instance is present required: False type: str - point_in_time_recovery_deployment_id: + service: description: - - The CRN of source instance - required: False + - (Required for new resource) The name of the Cloud Internet database service + required: True type: str - resource_group_id: + remote_leader_id: description: - - The id of the resource group in which the Database instance is present + - The CRN of leader database required: False type: str - version: + auto_scaling: description: - - The database version to provision if specified + - ICD Auto Scaling + required: False + type: list + elements: dict + key_protect_key: + description: + - The CRN of Key protect key required: False type: str + members_memory_allocation_mb: + description: + - Memory allocation required for cluster + required: False + type: int members_cpu_allocation_count: description: - CPU allocation required for cluster required: False type: int - service_endpoints: + point_in_time_recovery_deployment_id: description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + - The CRN of source instance required: False type: str - default: public - backup_id: + point_in_time_recovery_time: description: - - The CRN of backup source database + - The point in time recovery time stamp of the deployed instance required: False type: str - remote_leader_id: + users: description: - - The CRN of leader database + - None + required: False + type: list + elements: dict + adminpassword: + description: + - The admin user password for the instance required: False type: str - key_protect_key: + members_disk_allocation_mb: description: - - The CRN of Key protect key + - Disk allocation required for cluster + required: False + type: int + backup_id: + description: + - The CRN of backup source database required: False type: str - auto_scaling: + key_protect_instance: description: - - ICD Auto Scaling + - The CRN of Key protect instance required: False - type: list - elements: dict + type: str + backup_encryption_key_crn: + description: + - The Backup Encryption Key CRN + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -181,36 +181,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('service', 'str'), ('name', 'str'), - ('location', 'str'), ('plan', 'str'), + ('location', 'str'), + ('service', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service', - 'adminpassword', - 'members_memory_allocation_mb', - 'point_in_time_recovery_time', - 'whitelist', 'name', - 'location', 'plan', - 'members_disk_allocation_mb', - 'backup_encryption_key_crn', - 'tags', - 'users', - 'key_protect_instance', - 'point_in_time_recovery_deployment_id', - 'resource_group_id', 'version', - 'members_cpu_allocation_count', + 'location', 'service_endpoints', - 'backup_id', + 'tags', + 'whitelist', + 'resource_group_id', + 'service', 'remote_leader_id', - 'key_protect_key', 'auto_scaling', + 'key_protect_key', + 'members_memory_allocation_mb', + 'members_cpu_allocation_count', + 'point_in_time_recovery_deployment_id', + 'point_in_time_recovery_time', + 'users', + 'adminpassword', + 'members_disk_allocation_mb', + 'backup_id', + 'key_protect_instance', + 'backup_encryption_key_crn', ] # Params for Data source @@ -219,11 +219,11 @@ ] TL_ALL_PARAMETERS_DS = [ - 'location', - 'tags', - 'name', 'service', + 'tags', 'resource_group_id', + 'name', + 'location', ] TL_CONFLICTS_MAP = { @@ -233,76 +233,76 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - service=dict( - required=False, - type='str'), - adminpassword=dict( + name=dict( required=False, type='str'), - members_memory_allocation_mb=dict( - required=False, - type='int'), - point_in_time_recovery_time=dict( + plan=dict( required=False, type='str'), - whitelist=dict( - required=False, - elements='', - type='list'), - name=dict( + version=dict( required=False, type='str'), location=dict( required=False, type='str'), - plan=dict( - required=False, - type='str'), - members_disk_allocation_mb=dict( - required=False, - type='int'), - backup_encryption_key_crn=dict( + service_endpoints=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - users=dict( + whitelist=dict( required=False, elements='', type='list'), - key_protect_instance=dict( + resource_group_id=dict( required=False, type='str'), - point_in_time_recovery_deployment_id=dict( + service=dict( required=False, type='str'), - resource_group_id=dict( + remote_leader_id=dict( required=False, type='str'), - version=dict( + auto_scaling=dict( + required=False, + elements='', + type='list'), + key_protect_key=dict( required=False, type='str'), + members_memory_allocation_mb=dict( + required=False, + type='int'), members_cpu_allocation_count=dict( required=False, type='int'), - service_endpoints=dict( + point_in_time_recovery_deployment_id=dict( required=False, type='str'), - backup_id=dict( + point_in_time_recovery_time=dict( required=False, type='str'), - remote_leader_id=dict( + users=dict( + required=False, + elements='', + type='list'), + adminpassword=dict( required=False, type='str'), - key_protect_key=dict( + members_disk_allocation_mb=dict( + required=False, + type='int'), + backup_id=dict( required=False, type='str'), - auto_scaling=dict( + key_protect_instance=dict( required=False, - elements='', - type='list'), + type='str'), + backup_encryption_key_crn=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -368,7 +368,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -377,7 +377,7 @@ def run_module(): resource_type='ibm_database', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_database_info.py b/plugins/modules/ibm_database_info.py index 3816fd873..c04ae39f8 100644 --- a/plugins/modules/ibm_database_info.py +++ b/plugins/modules/ibm_database_info.py @@ -15,13 +15,13 @@ description: - Retrieve an IBM Cloud 'ibm_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - location: + service: description: - - The location or the region in which the Database instance exists + - The name of the Cloud Internet database service required: False type: str tags: @@ -30,19 +30,19 @@ required: False type: list elements: str + resource_group_id: + description: + - The id of the resource group in which the Database instance is present + required: False + type: str name: description: - Resource instance name for example, my Database instance required: True type: str - service: - description: - - The name of the Cloud Internet database service - required: False - type: str - resource_group_id: + location: description: - - The id of the resource group in which the Database instance is present + - The location or the region in which the Database instance exists required: False type: str iaas_classic_username: @@ -83,11 +83,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', - 'tags', - 'name', 'service', + 'tags', 'resource_group_id', + 'name', + 'location', ] @@ -98,20 +98,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( + service=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), + resource_group_id=dict( + required=False, + type='str'), name=dict( required=True, type='str'), - service=dict( - required=False, - type='str'), - resource_group_id=dict( + location=dict( required=False, type='str'), iaas_classic_username=dict( @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_gateway.py b/plugins/modules/ibm_dl_gateway.py index 2c4afd5ea..f6a40020f 100644 --- a/plugins/modules/ibm_dl_gateway.py +++ b/plugins/modules/ibm_dl_gateway.py @@ -16,59 +16,59 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - bgp_cer_cidr: + bgp_base_cidr: description: - - BGP customer edge router CIDR + - BGP base CIDR required: False type: str - bgp_ibm_cidr: + metered: description: - - BGP IBM CIDR + - (Required for new resource) Metered billing option + required: True + type: bool + speed_mbps: + description: + - (Required for new resource) Gateway speed in megabits per second + required: True + type: int + customer_name: + description: + - Customer name required: False type: str - tags: + macsec_config: description: - - Tags for the direct link gateway + - MACsec configuration information required: False type: list - elements: str - name: + elements: dict + bgp_ibm_cidr: description: - - (Required for new resource) The unique user-defined name for this gateway - required: True + - BGP IBM CIDR + required: False type: str - bgp_base_cidr: + resource_group: description: - - BGP base CIDR + - Gateway resource group required: False type: str - global_: - description: - - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region - required: True - type: bool - location_name: + port: description: - - Gateway location + - Gateway port required: False type: str - metered: + global_: description: - - (Required for new resource) Metered billing option + - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region required: True type: bool - bgp_asn: - description: - - (Required for new resource) BGP ASN - required: True - type: int - port: + carrier_name: description: - - Gateway port + - Carrier name required: False type: str cross_connect_router: @@ -76,42 +76,42 @@ - Cross connect router required: False type: str - carrier_name: - description: - - Carrier name - required: False - type: str loa_reject_reason: description: - Loa reject reason required: False type: str - customer_name: + name: description: - - Customer name + - (Required for new resource) The unique user-defined name for this gateway + required: True + type: str + tags: + description: + - Tags for the direct link gateway + required: False + type: list + elements: str + bgp_cer_cidr: + description: + - BGP customer edge router CIDR required: False type: str - speed_mbps: + bgp_asn: description: - - (Required for new resource) Gateway speed in megabits per second + - (Required for new resource) BGP ASN required: True type: int + location_name: + description: + - Gateway location + required: False + type: str type: description: - (Required for new resource) Gateway type required: True type: str - macsec_config: - description: - - MACsec configuration information - required: False - type: list - elements: dict - resource_group: - description: - - Gateway resource group - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -158,34 +158,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('global_', 'bool'), ('metered', 'bool'), - ('bgp_asn', 'int'), ('speed_mbps', 'int'), + ('global_', 'bool'), + ('name', 'str'), + ('bgp_asn', 'int'), ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bgp_cer_cidr', - 'bgp_ibm_cidr', - 'tags', - 'name', 'bgp_base_cidr', - 'global_', - 'location_name', 'metered', - 'bgp_asn', + 'speed_mbps', + 'customer_name', + 'macsec_config', + 'bgp_ibm_cidr', + 'resource_group', 'port', - 'cross_connect_router', + 'global_', 'carrier_name', + 'cross_connect_router', 'loa_reject_reason', - 'customer_name', - 'speed_mbps', + 'name', + 'tags', + 'bgp_cer_cidr', + 'bgp_asn', + 'location_name', 'type', - 'macsec_config', - 'resource_group', ] # Params for Data source @@ -205,60 +205,60 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bgp_cer_cidr=dict( + bgp_base_cidr=dict( required=False, type='str'), - bgp_ibm_cidr=dict( + metered=dict( + required=False, + type='bool'), + speed_mbps=dict( + required=False, + type='int'), + customer_name=dict( required=False, type='str'), - tags=dict( + macsec_config=dict( required=False, elements='', type='list'), - name=dict( + bgp_ibm_cidr=dict( required=False, type='str'), - bgp_base_cidr=dict( + resource_group=dict( required=False, type='str'), - global_=dict( - required=False, - type='bool'), - location_name=dict( + port=dict( required=False, type='str'), - metered=dict( + global_=dict( required=False, type='bool'), - bgp_asn=dict( - required=False, - type='int'), - port=dict( + carrier_name=dict( required=False, type='str'), cross_connect_router=dict( required=False, type='str'), - carrier_name=dict( + loa_reject_reason=dict( required=False, type='str'), - loa_reject_reason=dict( + name=dict( required=False, type='str'), - customer_name=dict( + tags=dict( + required=False, + elements='', + type='list'), + bgp_cer_cidr=dict( required=False, type='str'), - speed_mbps=dict( + bgp_asn=dict( required=False, type='int'), - type=dict( + location_name=dict( required=False, type='str'), - macsec_config=dict( - required=False, - elements='', - type='list'), - resource_group=dict( + type=dict( required=False, type='str'), id=dict( @@ -326,7 +326,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -335,7 +335,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dl_gateway_info.py b/plugins/modules/ibm_dl_gateway_info.py index 5013ba427..1368c4904 100644 --- a/plugins/modules/ibm_dl_gateway_info.py +++ b/plugins/modules/ibm_dl_gateway_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_gateways_info.py b/plugins/modules/ibm_dl_gateways_info.py index 0c57b0f37..57ecb7382 100644 --- a/plugins/modules/ibm_dl_gateways_info.py +++ b/plugins/modules/ibm_dl_gateways_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_dl_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_locations_info.py b/plugins/modules/ibm_dl_locations_info.py index 80b669883..84400d1fd 100644 --- a/plugins/modules/ibm_dl_locations_info.py +++ b/plugins/modules/ibm_dl_locations_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dl_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_offering_speeds_info.py b/plugins/modules/ibm_dl_offering_speeds_info.py index 76d740cd2..92967bed0 100644 --- a/plugins/modules/ibm_dl_offering_speeds_info.py +++ b/plugins/modules/ibm_dl_offering_speeds_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_offering_speeds' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dl_offering_speeds', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_port_info.py b/plugins/modules/ibm_dl_port_info.py index 30e8e24ee..af5a4b4a8 100644 --- a/plugins/modules/ibm_dl_port_info.py +++ b/plugins/modules/ibm_dl_port_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dl_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_ports_info.py b/plugins/modules/ibm_dl_ports_info.py index 9062e946e..d5446076a 100644 --- a/plugins/modules/ibm_dl_ports_info.py +++ b/plugins/modules/ibm_dl_ports_info.py @@ -15,10 +15,15 @@ description: - Retrieve an IBM Cloud 'ibm_dl_ports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + location_name: + description: + - Direct Link location short name + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -56,6 +61,7 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'location_name', ] @@ -66,6 +72,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + location_name=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -100,7 +109,7 @@ def run_module(): resource_type='ibm_dl_ports', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_provider_gateway.py b/plugins/modules/ibm_dl_provider_gateway.py index 3a8555d51..664a69042 100644 --- a/plugins/modules/ibm_dl_provider_gateway.py +++ b/plugins/modules/ibm_dl_provider_gateway.py @@ -16,25 +16,31 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_provider_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + tags: description: - - (Required for new resource) The unique user-defined name for this gateway - required: True - type: str - customer_account_id: + - Tags for the direct link gateway + required: False + type: list + elements: str + bgp_asn: description: - - (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. + - (Required for new resource) BGP ASN required: True - type: str + type: int bgp_cer_cidr: description: - BGP customer edge router CIDR required: False type: str + speed_mbps: + description: + - (Required for new resource) Gateway speed in megabits per second + required: True + type: int bgp_ibm_cidr: description: - BGP IBM CIDR @@ -45,22 +51,16 @@ - (Required for new resource) Gateway port required: True type: str - tags: - description: - - Tags for the direct link gateway - required: False - type: list - elements: str - bgp_asn: + customer_account_id: description: - - (Required for new resource) BGP ASN + - (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. required: True - type: int - speed_mbps: + type: str + name: description: - - (Required for new resource) Gateway speed in megabits per second + - (Required for new resource) The unique user-defined name for this gateway required: True - type: int + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,23 +107,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('customer_account_id', 'str'), - ('port', 'str'), ('bgp_asn', 'int'), ('speed_mbps', 'int'), + ('port', 'str'), + ('customer_account_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'customer_account_id', - 'bgp_cer_cidr', - 'bgp_ibm_cidr', - 'port', 'tags', 'bgp_asn', + 'bgp_cer_cidr', 'speed_mbps', + 'bgp_ibm_cidr', + 'port', + 'customer_account_id', + 'name', ] # Params for Data source @@ -140,31 +140,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + tags=dict( required=False, - type='str'), - customer_account_id=dict( + elements='', + type='list'), + bgp_asn=dict( required=False, - type='str'), + type='int'), bgp_cer_cidr=dict( required=False, type='str'), + speed_mbps=dict( + required=False, + type='int'), bgp_ibm_cidr=dict( required=False, type='str'), port=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - bgp_asn=dict( + customer_account_id=dict( required=False, - type='int'), - speed_mbps=dict( + type='str'), + name=dict( required=False, - type='int'), + type='str'), id=dict( required=False, type='str'), @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_dl_provider_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_provider_gateways_info.py b/plugins/modules/ibm_dl_provider_gateways_info.py index a5026e046..d69d9442a 100644 --- a/plugins/modules/ibm_dl_provider_gateways_info.py +++ b/plugins/modules/ibm_dl_provider_gateways_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_provider_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_dl_provider_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_provider_ports_info.py b/plugins/modules/ibm_dl_provider_ports_info.py index 0b520d219..927d9faa1 100644 --- a/plugins/modules/ibm_dl_provider_ports_info.py +++ b/plugins/modules/ibm_dl_provider_ports_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_provider_ports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_dl_provider_ports', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_routers_info.py b/plugins/modules/ibm_dl_routers_info.py index e0e350e31..7b35155de 100644 --- a/plugins/modules/ibm_dl_routers_info.py +++ b/plugins/modules/ibm_dl_routers_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_routers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_dl_routers', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_virtual_connection.py b/plugins/modules/ibm_dl_virtual_connection.py index 8d727aa57..90f3af36e 100644 --- a/plugins/modules/ibm_dl_virtual_connection.py +++ b/plugins/modules/ibm_dl_virtual_connection.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_virtual_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -190,7 +190,7 @@ def run_module(): resource_type='ibm_dl_virtual_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_domain.py b/plugins/modules/ibm_dns_domain.py index 735f35028..a6da42b97 100644 --- a/plugins/modules/ibm_dns_domain.py +++ b/plugins/modules/ibm_dns_domain.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dns_domain_info.py b/plugins/modules/ibm_dns_domain_info.py index b8222177e..febdcb0b5 100644 --- a/plugins/modules/ibm_dns_domain_info.py +++ b/plugins/modules/ibm_dns_domain_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_domain_registration_info.py b/plugins/modules/ibm_dns_domain_registration_info.py index 45d78e76a..5182bad4f 100644 --- a/plugins/modules/ibm_dns_domain_registration_info.py +++ b/plugins/modules/ibm_dns_domain_registration_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_domain_registration' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dns_domain_registration', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_domain_registration_nameservers.py b/plugins/modules/ibm_dns_domain_registration_nameservers.py index 74111bd24..036a6881e 100644 --- a/plugins/modules/ibm_dns_domain_registration_nameservers.py +++ b/plugins/modules/ibm_dns_domain_registration_nameservers.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_domain_registration_nameservers' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_dns_domain_registration_nameservers', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb.py b/plugins/modules/ibm_dns_glb.py index 65f8ce86c..640c63c01 100644 --- a/plugins/modules/ibm_dns_glb.py +++ b/plugins/modules/ibm_dns_glb.py @@ -16,16 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - default_pools: + zone_id: description: - - (Required for new resource) A list of pool IDs ordered by their failover priority + - (Required for new resource) Zone Id required: True - type: list - elements: str + type: str name: description: - (Required for new resource) Name of the load balancer @@ -36,6 +35,12 @@ - Whether the load balancer is enabled required: False type: bool + ttl: + description: + - Time to live in second + required: False + type: int + default: 60 fallback_pool: description: - (Required for new resource) The pool ID to use when all other pools are detected as unhealthy @@ -46,22 +51,17 @@ - (Required for new resource) The GUID of the private DNS. required: True type: str - zone_id: - description: - - (Required for new resource) Zone Id - required: True - type: str description: description: - Descriptive text of the load balancer required: False type: str - ttl: + default_pools: description: - - Time to live in second - required: False - type: int - default: 60 + - (Required for new resource) A list of pool IDs ordered by their failover priority + required: True + type: list + elements: str az_pools: description: - Map availability zones to pool ID's. @@ -114,23 +114,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('default_pools', 'list'), + ('zone_id', 'str'), ('name', 'str'), ('fallback_pool', 'str'), ('instance_id', 'str'), - ('zone_id', 'str'), + ('default_pools', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'default_pools', + 'zone_id', 'name', 'enabled', + 'ttl', 'fallback_pool', 'instance_id', - 'zone_id', 'description', - 'ttl', + 'default_pools', 'az_pools', ] @@ -148,31 +148,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - default_pools=dict( + zone_id=dict( required=False, - elements='', - type='list'), + type='str'), name=dict( required=False, type='str'), enabled=dict( required=False, type='bool'), + ttl=dict( + required=False, + type='int'), fallback_pool=dict( required=False, type='str'), instance_id=dict( required=False, type='str'), - zone_id=dict( - required=False, - type='str'), description=dict( required=False, type='str'), - ttl=dict( + default_pools=dict( required=False, - type='int'), + elements='', + type='list'), az_pools=dict( required=False, elements='', @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_dns_glb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_monitor.py b/plugins/modules/ibm_dns_glb_monitor.py index 7a5ddb2bd..4e906f1c0 100644 --- a/plugins/modules/ibm_dns_glb_monitor.py +++ b/plugins/modules/ibm_dns_glb_monitor.py @@ -16,85 +16,85 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - instance_id: + type: description: - - (Required for new resource) Instance Id - required: True + - The protocol to use for the health check + required: False type: str + default: HTTP + port: + description: + - Port number to connect to for the health check + required: False + type: int retries: description: - The number of retries to attempt in case of a timeout before marking the origin as unhealthy required: False type: int default: 1 + path: + description: + - The endpoint path to health check against + required: False + type: str expected_codes: description: - The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS required: False type: str - interval: + timeout: description: - - The interval between each health check + - The timeout (in seconds) before marking the health check as failed required: False type: int - default: 60 + default: 5 method: description: - The method to use for the health check required: False type: str - path: - description: - - The endpoint path to health check against - required: False - type: str allow_insecure: description: - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. required: False type: bool - type: + instance_id: description: - - The protocol to use for the health check - required: False + - (Required for new resource) Instance Id + required: True type: str - default: HTTP - port: + interval: description: - - Port number to connect to for the health check + - The interval between each health check required: False type: int - headers: + default: 60 + name: description: - - The HTTP request headers to send in the health check - required: False - type: list - elements: dict + - (Required for new resource) The unique identifier of a service instance. + required: True + type: str description: description: - Descriptive text of the load balancer monitor required: False type: str - timeout: + headers: description: - - The timeout (in seconds) before marking the health check as failed + - The HTTP request headers to send in the health check required: False - type: int - default: 5 + type: list + elements: dict expected_body: description: - A case-insensitive sub-string to look for in the response body required: False type: str - name: - description: - - (Required for new resource) The unique identifier of a service instance. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -147,20 +147,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', + 'type', + 'port', 'retries', + 'path', 'expected_codes', - 'interval', + 'timeout', 'method', - 'path', 'allow_insecure', - 'type', - 'port', - 'headers', + 'instance_id', + 'interval', + 'name', 'description', - 'timeout', + 'headers', 'expected_body', - 'name', ] # Params for Data source @@ -177,49 +177,49 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + type=dict( required=False, type='str'), + port=dict( + required=False, + type='int'), retries=dict( required=False, type='int'), + path=dict( + required=False, + type='str'), expected_codes=dict( required=False, type='str'), - interval=dict( + timeout=dict( required=False, type='int'), method=dict( required=False, type='str'), - path=dict( - required=False, - type='str'), allow_insecure=dict( required=False, type='bool'), - type=dict( + instance_id=dict( required=False, type='str'), - port=dict( + interval=dict( required=False, type='int'), - headers=dict( + name=dict( required=False, - elements='', - type='list'), + type='str'), description=dict( required=False, type='str'), - timeout=dict( + headers=dict( required=False, - type='int'), + elements='', + type='list'), expected_body=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_dns_glb_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_monitors_info.py b/plugins/modules/ibm_dns_glb_monitors_info.py index 5ee2afff3..9d2c25954 100644 --- a/plugins/modules/ibm_dns_glb_monitors_info.py +++ b/plugins/modules/ibm_dns_glb_monitors_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glb_monitors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dns_glb_monitors', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_pool.py b/plugins/modules/ibm_dns_glb_pool.py index fa6d09bdb..35a756ea5 100644 --- a/plugins/modules/ibm_dns_glb_pool.py +++ b/plugins/modules/ibm_dns_glb_pool.py @@ -16,62 +16,62 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb_pool' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - instance_id: - description: - - (Required for new resource) Instance Id - required: True - type: str - name: - description: - - (Required for new resource) The unique identifier of a service instance. - required: True - type: str - healthy_origins_threshold: - description: - - The minimum number of origins that must be healthy for this pool to serve traffic - required: False - type: int monitor: description: - The ID of the load balancer monitor to be associated to this pool required: False type: str - healthcheck_region: + instance_id: description: - - Health check region of VSIs - required: False + - (Required for new resource) Instance Id + required: True type: str description: description: - Descriptive text of the load balancer pool required: False type: str - notification_channel: + healthcheck_subnets: description: - - The notification channel,It is a webhook url + - Health check subnet crn of VSIs required: False - type: str + type: list + elements: str enabled: description: - Whether the load balancer pool is enabled required: False type: bool + name: + description: + - (Required for new resource) The unique identifier of a service instance. + required: True + type: str + healthy_origins_threshold: + description: + - The minimum number of origins that must be healthy for this pool to serve traffic + required: False + type: int origins: description: - (Required for new resource) Origins info required: True type: list elements: dict - healthcheck_subnets: + notification_channel: description: - - Health check subnet crn of VSIs + - The notification channel,It is a webhook url required: False - type: list - elements: str + type: str + healthcheck_region: + description: + - Health check region of VSIs + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,16 +125,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'name', - 'healthy_origins_threshold', 'monitor', - 'healthcheck_region', + 'instance_id', 'description', - 'notification_channel', + 'healthcheck_subnets', 'enabled', + 'name', + 'healthy_origins_threshold', 'origins', - 'healthcheck_subnets', + 'notification_channel', + 'healthcheck_region', ] # Params for Data source @@ -151,38 +151,38 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), - healthy_origins_threshold=dict( - required=False, - type='int'), monitor=dict( required=False, type='str'), - healthcheck_region=dict( + instance_id=dict( required=False, type='str'), description=dict( required=False, type='str'), - notification_channel=dict( + healthcheck_subnets=dict( required=False, - type='str'), + elements='', + type='list'), enabled=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), + healthy_origins_threshold=dict( + required=False, + type='int'), origins=dict( required=False, elements='', type='list'), - healthcheck_subnets=dict( + notification_channel=dict( required=False, - elements='', - type='list'), + type='str'), + healthcheck_region=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -248,7 +248,7 @@ def run_module(): resource_type='ibm_dns_glb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_pools_info.py b/plugins/modules/ibm_dns_glb_pools_info.py index 86c166d8d..fbc9cc5a1 100644 --- a/plugins/modules/ibm_dns_glb_pools_info.py +++ b/plugins/modules/ibm_dns_glb_pools_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glb_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dns_glb_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glbs_info.py b/plugins/modules/ibm_dns_glbs_info.py index f4ba09f3b..8c7af13fe 100644 --- a/plugins/modules/ibm_dns_glbs_info.py +++ b/plugins/modules/ibm_dns_glbs_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glbs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_dns_glbs', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_permitted_network.py b/plugins/modules/ibm_dns_permitted_network.py index a647cd277..3d3157c6c 100644 --- a/plugins/modules/ibm_dns_permitted_network.py +++ b/plugins/modules/ibm_dns_permitted_network.py @@ -16,20 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_permitted_network' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - instance_id: - description: - - (Required for new resource) Instance Id - required: True - type: str - zone_id: - description: - - (Required for new resource) Zone Id - required: True - type: str type: description: - Network Type @@ -41,6 +31,16 @@ - (Required for new resource) VPC CRN id required: True type: str + instance_id: + description: + - (Required for new resource) Instance Id + required: True + type: str + zone_id: + description: + - (Required for new resource) Zone Id + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -87,17 +87,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('vpc_crn', 'str'), ('instance_id', 'str'), ('zone_id', 'str'), - ('vpc_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'zone_id', 'type', 'vpc_crn', + 'instance_id', + 'zone_id', ] # Params for Data source @@ -114,16 +114,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + type=dict( required=False, type='str'), - zone_id=dict( + vpc_crn=dict( required=False, type='str'), - type=dict( + instance_id=dict( required=False, type='str'), - vpc_crn=dict( + zone_id=dict( required=False, type='str'), id=dict( @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_dns_permitted_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_permitted_networks_info.py b/plugins/modules/ibm_dns_permitted_networks_info.py index c6ffcdcf5..e2dc34e60 100644 --- a/plugins/modules/ibm_dns_permitted_networks_info.py +++ b/plugins/modules/ibm_dns_permitted_networks_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_dns_permitted_networks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - instance_id: + zone_id: description: - - Instance ID + - Zone ID required: True type: str - zone_id: + instance_id: description: - - Zone ID + - Instance ID required: True type: str iaas_classic_username: @@ -62,14 +62,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('zone_id', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', 'zone_id', + 'instance_id', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + zone_id=dict( required=True, type='str'), - zone_id=dict( + instance_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_dns_permitted_networks', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_record.py b/plugins/modules/ibm_dns_record.py index 50318ce1a..20465c8b1 100644 --- a/plugins/modules/ibm_dns_record.py +++ b/plugins/modules/ibm_dns_record.py @@ -16,28 +16,28 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - host: + domain_id: description: - - (Required for new resource) Hostname + - (Required for new resource) Domain ID of dns record instance required: True - type: str - ttl: + type: int + refresh: description: - - (Required for new resource) TTL configuration - required: True + - refresh rate + required: False type: int - protocol: + responsible_person: description: - - protocol info + - Responsible person for DNS record required: False type: str - minimum_ttl: + retry: description: - - Minimun TTL configuration + - Retry count required: False type: int service: @@ -45,63 +45,51 @@ - service info required: False type: str - priority: - description: - - priority info - required: False - type: int - default: 0 - tags: - description: - - tags set for the resource - required: False - type: list - elements: str data: description: - (Required for new resource) DNS record data required: True type: str - expire: + minimum_ttl: description: - - DNS record expiry info + - Minimun TTL configuration required: False type: int - mx_priority: + ttl: description: - - Maximum priority - required: False + - (Required for new resource) TTL configuration + required: True type: int - default: 0 - weight: + priority: description: - - weight info + - priority info required: False type: int default: 0 - domain_id: + expire: description: - - (Required for new resource) Domain ID of dns record instance - required: True + - DNS record expiry info + required: False type: int - retry: + mx_priority: description: - - Retry count + - Maximum priority required: False type: int + default: 0 type: description: - (Required for new resource) DNS record type required: True type: str - refresh: + host: description: - - refresh rate - required: False - type: int - responsible_person: + - (Required for new resource) Hostname + required: True + type: str + protocol: description: - - Responsible person for DNS record + - protocol info required: False type: str port: @@ -109,6 +97,18 @@ - port number required: False type: int + weight: + description: + - weight info + required: False + type: int + default: 0 + tags: + description: + - tags set for the resource + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -155,32 +155,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('host', 'str'), - ('ttl', 'int'), - ('data', 'str'), ('domain_id', 'int'), + ('data', 'str'), + ('ttl', 'int'), ('type', 'str'), + ('host', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'host', - 'ttl', - 'protocol', - 'minimum_ttl', + 'domain_id', + 'refresh', + 'responsible_person', + 'retry', 'service', - 'priority', - 'tags', 'data', + 'minimum_ttl', + 'ttl', + 'priority', 'expire', 'mx_priority', - 'weight', - 'domain_id', - 'retry', 'type', - 'refresh', - 'responsible_person', + 'host', + 'protocol', 'port', + 'weight', + 'tags', ] # Params for Data source @@ -197,58 +197,58 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - host=dict( + domain_id=dict( required=False, - type='str'), - ttl=dict( + type='int'), + refresh=dict( required=False, type='int'), - protocol=dict( + responsible_person=dict( required=False, type='str'), - minimum_ttl=dict( + retry=dict( required=False, type='int'), service=dict( required=False, type='str'), - priority=dict( - required=False, - type='int'), - tags=dict( - required=False, - elements='', - type='list'), data=dict( required=False, type='str'), - expire=dict( + minimum_ttl=dict( required=False, type='int'), - mx_priority=dict( + ttl=dict( required=False, type='int'), - weight=dict( + priority=dict( required=False, type='int'), - domain_id=dict( + expire=dict( required=False, type='int'), - retry=dict( + mx_priority=dict( required=False, type='int'), type=dict( required=False, type='str'), - refresh=dict( + host=dict( required=False, - type='int'), - responsible_person=dict( + type='str'), + protocol=dict( required=False, type='str'), port=dict( required=False, type='int'), + weight=dict( + required=False, + type='int'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -314,7 +314,7 @@ def run_module(): resource_type='ibm_dns_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_resource_record.py b/plugins/modules/ibm_dns_resource_record.py index bb735e8c4..03f9da287 100644 --- a/plugins/modules/ibm_dns_resource_record.py +++ b/plugins/modules/ibm_dns_resource_record.py @@ -16,56 +16,34 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_resource_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - rdata: - description: - - (Required for new resource) DNS record Data - required: True - type: str - weight: - description: - - DNS server weight - required: False - type: int - default: 0 service: description: - Service info required: False type: str - instance_id: - description: - - (Required for new resource) Instance ID - required: True - type: str - type: - description: - - (Required for new resource) DNS record Type - required: True - type: str - ttl: - description: - - DNS record TTL - required: False - type: int - default: 900 preference: description: - DNS maximum preference required: False type: int default: 0 + rdata: + description: + - (Required for new resource) DNS record Data + required: True + type: str port: description: - DNS server Port required: False type: int - priority: + weight: description: - - DNS server Priority + - DNS server weight required: False type: int default: 0 @@ -74,16 +52,38 @@ - (Required for new resource) Zone ID required: True type: str + name: + description: + - (Required for new resource) DNS record name + required: True + type: str + priority: + description: + - DNS server Priority + required: False + type: int + default: 0 protocol: description: - Protocol required: False type: str - name: + instance_id: description: - - (Required for new resource) DNS record name + - (Required for new resource) Instance ID + required: True + type: str + type: + description: + - (Required for new resource) DNS record Type required: True type: str + ttl: + description: + - DNS record TTL + required: False + type: int + default: 900 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -131,26 +131,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('rdata', 'str'), - ('instance_id', 'str'), - ('type', 'str'), ('zone_id', 'str'), ('name', 'str'), + ('instance_id', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'rdata', - 'weight', 'service', - 'instance_id', - 'type', - 'ttl', 'preference', + 'rdata', 'port', - 'priority', + 'weight', 'zone_id', - 'protocol', 'name', + 'priority', + 'protocol', + 'instance_id', + 'type', + 'ttl', ] # Params for Data source @@ -167,42 +167,42 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - rdata=dict( - required=False, - type='str'), - weight=dict( - required=False, - type='int'), service=dict( required=False, type='str'), - instance_id=dict( + preference=dict( required=False, - type='str'), - type=dict( + type='int'), + rdata=dict( required=False, type='str'), - ttl=dict( + port=dict( required=False, type='int'), - preference=dict( + weight=dict( required=False, type='int'), - port=dict( + zone_id=dict( required=False, - type='int'), + type='str'), + name=dict( + required=False, + type='str'), priority=dict( required=False, type='int'), - zone_id=dict( + protocol=dict( required=False, type='str'), - protocol=dict( + instance_id=dict( required=False, type='str'), - name=dict( + type=dict( required=False, type='str'), + ttl=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -268,7 +268,7 @@ def run_module(): resource_type='ibm_dns_resource_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_resource_records_info.py b/plugins/modules/ibm_dns_resource_records_info.py index 63892dd9d..6a7898b8c 100644 --- a/plugins/modules/ibm_dns_resource_records_info.py +++ b/plugins/modules/ibm_dns_resource_records_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_resource_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_dns_resource_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_reverse_record.py b/plugins/modules/ibm_dns_reverse_record.py index 96533de84..43470fbc9 100644 --- a/plugins/modules/ibm_dns_reverse_record.py +++ b/plugins/modules/ibm_dns_reverse_record.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_reverse_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - ipaddress: - description: - - (Required for new resource) IP Address - required: True - type: str hostname: description: - (Required for new resource) Host name @@ -35,6 +30,11 @@ - TTL value required: False type: int + ipaddress: + description: + - (Required for new resource) IP Address + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -81,15 +81,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('ipaddress', 'str'), ('hostname', 'str'), + ('ipaddress', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ipaddress', 'hostname', 'ttl', + 'ipaddress', ] # Params for Data source @@ -106,15 +106,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ipaddress=dict( - required=False, - type='str'), hostname=dict( required=False, type='str'), ttl=dict( required=False, type='int'), + ipaddress=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -180,7 +180,7 @@ def run_module(): resource_type='ibm_dns_reverse_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_secondary.py b/plugins/modules/ibm_dns_secondary.py index d2f192dbd..730056b16 100644 --- a/plugins/modules/ibm_dns_secondary.py +++ b/plugins/modules/ibm_dns_secondary.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_secondary' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dns_secondary_info.py b/plugins/modules/ibm_dns_secondary_info.py index 66c2eebd7..db535f35d 100644 --- a/plugins/modules/ibm_dns_secondary_info.py +++ b/plugins/modules/ibm_dns_secondary_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_secondary' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_zone.py b/plugins/modules/ibm_dns_zone.py index 5d89862ff..6b1e3aab8 100644 --- a/plugins/modules/ibm_dns_zone.py +++ b/plugins/modules/ibm_dns_zone.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_zone' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_dns_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_zones_info.py b/plugins/modules/ibm_dns_zones_info.py index 22be2a14b..ad83fc015 100644 --- a/plugins/modules/ibm_dns_zones_info.py +++ b/plugins/modules/ibm_dns_zones_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_dns_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_event_streams_topic.py b/plugins/modules/ibm_event_streams_topic.py index fae565fcf..998b65f0e 100644 --- a/plugins/modules/ibm_event_streams_topic.py +++ b/plugins/modules/ibm_event_streams_topic.py @@ -16,10 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_event_streams_topic' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + partitions: + description: + - The number of partitions + required: False + type: int + default: 1 config: description: - The configuration parameters of a topic @@ -36,12 +42,6 @@ - (Required for new resource) The name of the topic required: True type: str - partitions: - description: - - The number of partitions - required: False - type: int - default: 1 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,21 +94,21 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'partitions', 'config', 'resource_instance_id', 'name', - 'partitions', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('resource_instance_id', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_instance_id', + 'name', ] TL_CONFLICTS_MAP = { @@ -118,6 +118,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + partitions=dict( + required=False, + type='int'), config=dict( required=False, elements='', @@ -128,9 +131,6 @@ name=dict( required=False, type='str'), - partitions=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_event_streams_topic_info.py b/plugins/modules/ibm_event_streams_topic_info.py index e7df554bd..2dd152dc1 100644 --- a/plugins/modules/ibm_event_streams_topic_info.py +++ b/plugins/modules/ibm_event_streams_topic_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + resource_instance_id: description: - - The name of the topic + - The CRN of the Event Streams instance required: True type: str - resource_instance_id: + name: description: - - The CRN of the Event Streams instance + - The name of the topic required: True type: str iaas_classic_username: @@ -62,14 +62,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('resource_instance_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_instance_id', + 'name', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + resource_instance_id=dict( required=True, type='str'), - resource_instance_id=dict( + name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_firewall.py b/plugins/modules/ibm_firewall.py index fb5d3fb67..52b36a4bc 100644 --- a/plugins/modules/ibm_firewall.py +++ b/plugins/modules/ibm_firewall.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_firewall' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_firewall_policy.py b/plugins/modules/ibm_firewall_policy.py index a3d10f439..25a6e5cce 100644 --- a/plugins/modules/ibm_firewall_policy.py +++ b/plugins/modules/ibm_firewall_policy.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_firewall_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_firewall_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_action.py b/plugins/modules/ibm_function_action.py index 995f7289f..fbde3097b 100644 --- a/plugins/modules/ibm_function_action.py +++ b/plugins/modules/ibm_function_action.py @@ -16,10 +16,27 @@ - Create, update or destroy an IBM Cloud 'ibm_function_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + namespace: + description: + - (Required for new resource) IBM Cloud function namespace. + required: True + type: str + exec: + description: + - (Required for new resource) Execution info + required: True + type: list + elements: dict + user_defined_annotations: + description: + - Annotation values in KEY VALUE format. + required: False + type: str + default: [] user_defined_parameters: description: - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. @@ -37,28 +54,11 @@ required: False type: list elements: dict - exec: - description: - - (Required for new resource) Execution info - required: True - type: list - elements: dict publish: description: - Action visibilty. required: False type: bool - user_defined_annotations: - description: - - Annotation values in KEY VALUE format. - required: False - type: str - default: [] - namespace: - description: - - (Required for new resource) IBM Cloud function namespace. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,31 +91,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('exec', 'list'), ('namespace', 'str'), + ('exec', 'list'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'namespace', + 'exec', + 'user_defined_annotations', 'user_defined_parameters', 'name', 'limits', - 'exec', 'publish', - 'user_defined_annotations', - 'namespace', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('namespace', 'str'), ('name', 'str'), + ('namespace', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'namespace', 'name', + 'namespace', ] TL_CONFLICTS_MAP = { @@ -125,6 +125,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + namespace=dict( + required=False, + type='str'), + exec=dict( + required=False, + elements='', + type='list'), + user_defined_annotations=dict( + required=False, + type='str'), user_defined_parameters=dict( required=False, type='str'), @@ -135,19 +145,9 @@ required=False, elements='', type='list'), - exec=dict( - required=False, - elements='', - type='list'), publish=dict( required=False, type='bool'), - user_defined_annotations=dict( - required=False, - type='str'), - namespace=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_action_info.py b/plugins/modules/ibm_function_action_info.py index a5c0f0cb6..8e4474fcc 100644 --- a/plugins/modules/ibm_function_action_info.py +++ b/plugins/modules/ibm_function_action_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_function_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - namespace: + name: description: - - Name of the namespace. + - Name of action. required: True type: str - name: + namespace: description: - - Name of action. + - Name of the namespace. required: True type: str function_namespace: @@ -48,14 +48,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('namespace', 'str'), ('name', 'str'), + ('namespace', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'namespace', 'name', + 'namespace', ] @@ -66,10 +66,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - namespace=dict( + name=dict( required=True, type='str'), - name=dict( + namespace=dict( required=True, type='str'), function_namespace=dict( @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_namespace.py b/plugins/modules/ibm_function_namespace.py index d20d0e20c..a5408b252 100644 --- a/plugins/modules/ibm_function_namespace.py +++ b/plugins/modules/ibm_function_namespace.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_function_namespace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -158,7 +158,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_namespace_info.py b/plugins/modules/ibm_function_namespace_info.py index 1dd3f910a..a2a08589b 100644 --- a/plugins/modules/ibm_function_namespace_info.py +++ b/plugins/modules/ibm_function_namespace_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_namespace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -86,7 +86,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_package.py b/plugins/modules/ibm_function_package.py index 9fe3014ae..575e507c8 100644 --- a/plugins/modules/ibm_function_package.py +++ b/plugins/modules/ibm_function_package.py @@ -16,16 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_function_package' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - publish: + user_defined_annotations: description: - - Package visibilty. + - Annotation values in KEY VALUE format. required: False - type: bool - default: False + type: str + default: [] user_defined_parameters: description: - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. @@ -47,12 +47,12 @@ - (Required for new resource) Name of package. required: True type: str - user_defined_annotations: + publish: description: - - Annotation values in KEY VALUE format. + - Package visibilty. required: False - type: str - default: [] + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,12 +91,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'publish', + 'user_defined_annotations', 'user_defined_parameters', 'bind_package_name', 'namespace', 'name', - 'user_defined_annotations', + 'publish', ] # Params for Data source @@ -117,9 +117,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - publish=dict( + user_defined_annotations=dict( required=False, - type='bool'), + type='str'), user_defined_parameters=dict( required=False, type='str'), @@ -132,9 +132,9 @@ name=dict( required=False, type='str'), - user_defined_annotations=dict( + publish=dict( required=False, - type='str'), + type='bool'), id=dict( required=False, type='str'), @@ -190,7 +190,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_package_info.py b/plugins/modules/ibm_function_package_info.py index c782c0e6f..25d3956ad 100644 --- a/plugins/modules/ibm_function_package_info.py +++ b/plugins/modules/ibm_function_package_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_package' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_rule.py b/plugins/modules/ibm_function_rule.py index 69b6b9a67..7cc25313f 100644 --- a/plugins/modules/ibm_function_rule.py +++ b/plugins/modules/ibm_function_rule.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_function_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - namespace: - description: - - (Required for new resource) IBM Cloud function namespace. - required: True - type: str name: description: - (Required for new resource) Name of rule. @@ -40,6 +35,11 @@ - (Required for new resource) Name of action. required: True type: str + namespace: + description: + - (Required for new resource) IBM Cloud function namespace. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -72,29 +72,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('namespace', 'str'), ('name', 'str'), ('trigger_name', 'str'), ('action_name', 'str'), + ('namespace', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'namespace', 'name', 'trigger_name', 'action_name', + 'namespace', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'namespace', + 'name', ] TL_CONFLICTS_MAP = { @@ -104,9 +104,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - namespace=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -116,6 +113,9 @@ action_name=dict( required=False, type='str'), + namespace=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -180,7 +180,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_rule_info.py b/plugins/modules/ibm_function_rule_info.py index 0c93dcb13..e4953f7ec 100644 --- a/plugins/modules/ibm_function_rule_info.py +++ b/plugins/modules/ibm_function_rule_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_function_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + namespace: description: - - Name of the rule. + - Name of the namespace. required: True type: str - namespace: + name: description: - - Name of the namespace. + - Name of the rule. required: True type: str function_namespace: @@ -48,14 +48,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'namespace', + 'name', ] @@ -66,10 +66,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + namespace=dict( required=True, type='str'), - namespace=dict( + name=dict( required=True, type='str'), function_namespace=dict( @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_trigger.py b/plugins/modules/ibm_function_trigger.py index 1f7140467..54f4d2e9a 100644 --- a/plugins/modules/ibm_function_trigger.py +++ b/plugins/modules/ibm_function_trigger.py @@ -16,38 +16,38 @@ - Create, update or destroy an IBM Cloud 'ibm_function_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + user_defined_annotations: description: - - (Required for new resource) Name of Trigger. - required: True + - Annotation values in KEY VALUE format. + required: False type: str + default: [] + user_defined_parameters: + description: + - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. + required: False + type: str + default: [] namespace: description: - (Required for new resource) IBM Cloud function namespace. required: True type: str + name: + description: + - (Required for new resource) Name of Trigger. + required: True + type: str feed: description: - Trigger feed required: False type: list elements: dict - user_defined_annotations: - description: - - Annotation values in KEY VALUE format. - required: False - type: str - default: [] - user_defined_parameters: - description: - - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. - required: False - type: str - default: [] id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -80,17 +80,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'namespace', - 'feed', 'user_defined_annotations', 'user_defined_parameters', + 'namespace', + 'name', + 'feed', ] # Params for Data source @@ -111,22 +111,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + user_defined_annotations=dict( + required=False, + type='str'), + user_defined_parameters=dict( required=False, type='str'), namespace=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), feed=dict( required=False, elements='', type='list'), - user_defined_annotations=dict( - required=False, - type='str'), - user_defined_parameters=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_trigger_info.py b/plugins/modules/ibm_function_trigger_info.py index e62876177..d16a22f06 100644 --- a/plugins/modules/ibm_function_trigger_info.py +++ b/plugins/modules/ibm_function_trigger_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_trigger' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hardware_firewall_shared.py b/plugins/modules/ibm_hardware_firewall_shared.py index e659f4238..65a39a3ab 100644 --- a/plugins/modules/ibm_hardware_firewall_shared.py +++ b/plugins/modules/ibm_hardware_firewall_shared.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_hardware_firewall_shared' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -181,7 +181,7 @@ def run_module(): resource_type='ibm_hardware_firewall_shared', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group.py b/plugins/modules/ibm_iam_access_group.py index e366d45cf..c5185c3db 100644 --- a/plugins/modules/ibm_iam_access_group.py +++ b/plugins/modules/ibm_iam_access_group.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_access_group_dynamic_rule.py b/plugins/modules/ibm_iam_access_group_dynamic_rule.py index 71163e445..208a55cc3 100644 --- a/plugins/modules/ibm_iam_access_group_dynamic_rule.py +++ b/plugins/modules/ibm_iam_access_group_dynamic_rule.py @@ -16,10 +16,20 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_dynamic_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + expiration: + description: + - (Required for new resource) The expiration in hours + required: True + type: int + identity_provider: + description: + - (Required for new resource) The realm name or identity proivider url + required: True + type: str conditions: description: - (Required for new resource) conditions info @@ -36,16 +46,6 @@ - (Required for new resource) The name of the Rule required: True type: str - expiration: - description: - - (Required for new resource) The expiration in hours - required: True - type: int - identity_provider: - description: - - (Required for new resource) The realm name or identity proivider url - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -92,20 +92,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('expiration', 'int'), + ('identity_provider', 'str'), ('conditions', 'list'), ('access_group_id', 'str'), ('name', 'str'), - ('expiration', 'int'), - ('identity_provider', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'expiration', + 'identity_provider', 'conditions', 'access_group_id', 'name', - 'expiration', - 'identity_provider', ] # Params for Data source @@ -122,6 +122,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + expiration=dict( + required=False, + type='int'), + identity_provider=dict( + required=False, + type='str'), conditions=dict( required=False, elements='', @@ -132,12 +138,6 @@ name=dict( required=False, type='str'), - expiration=dict( - required=False, - type='int'), - identity_provider=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_iam_access_group_dynamic_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_info.py b/plugins/modules/ibm_iam_access_group_info.py index 4c951b25e..0a3c35af0 100644 --- a/plugins/modules/ibm_iam_access_group_info.py +++ b/plugins/modules/ibm_iam_access_group_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_access_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_members.py b/plugins/modules/ibm_iam_access_group_members.py index cd210b9a1..22b94d624 100644 --- a/plugins/modules/ibm_iam_access_group_members.py +++ b/plugins/modules/ibm_iam_access_group_members.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_members' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_iam_access_group_members', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_policy.py b/plugins/modules/ibm_iam_access_group_policy.py index 51b4309e3..6d1600379 100644 --- a/plugins/modules/ibm_iam_access_group_policy.py +++ b/plugins/modules/ibm_iam_access_group_policy.py @@ -16,10 +16,21 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + access_group_id: + description: + - (Required for new resource) ID of access group + required: True + type: str + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str resources: description: - None @@ -38,17 +49,6 @@ required: False type: list elements: str - access_group_id: - description: - - (Required for new resource) ID of access group - required: True - type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,11 +101,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'access_group_id', + 'roles', 'resources', 'account_management', 'tags', - 'access_group_id', - 'roles', ] # Params for Data source @@ -124,6 +124,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + access_group_id=dict( + required=False, + type='str'), + roles=dict( + required=False, + elements='', + type='list'), resources=dict( required=False, elements='', @@ -135,13 +142,6 @@ required=False, elements='', type='list'), - access_group_id=dict( - required=False, - type='str'), - roles=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_auth_token_info.py b/plugins/modules/ibm_iam_auth_token_info.py index ba5bd163c..cc6b5306b 100644 --- a/plugins/modules/ibm_iam_auth_token_info.py +++ b/plugins/modules/ibm_iam_auth_token_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_auth_token' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_iam_auth_token', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_authorization_policy.py b/plugins/modules/ibm_iam_authorization_policy.py index d078c0851..0c5879e47 100644 --- a/plugins/modules/ibm_iam_authorization_policy.py +++ b/plugins/modules/ibm_iam_authorization_policy.py @@ -16,39 +16,28 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_authorization_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - target_resource_type: - description: - - Resource type of target service - required: False - type: str source_service_name: description: - (Required for new resource) The source service name required: True type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str - source_resource_instance_id: + source_resource_group_id: description: - - The source resource instance Id + - The source resource group Id required: False type: str - source_resource_group_id: + source_resource_type: description: - - The source resource group Id + - Resource type of source service required: False type: str - source_service_account: + target_resource_type: description: - - Account GUID of source service + - Resource type of target service required: False type: str target_service_name: @@ -56,6 +45,17 @@ - (Required for new resource) The target service name required: True type: str + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str + source_resource_instance_id: + description: + - The source resource instance Id + required: False + type: str target_resource_instance_id: description: - The target resource instance Id @@ -66,9 +66,9 @@ - The target resource group Id required: False type: str - source_resource_type: + source_service_account: description: - - Resource type of source service + - Account GUID of source service required: False type: str id: @@ -118,22 +118,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('source_service_name', 'str'), - ('roles', 'list'), ('target_service_name', 'str'), + ('roles', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target_resource_type', 'source_service_name', - 'roles', - 'source_resource_instance_id', 'source_resource_group_id', - 'source_service_account', + 'source_resource_type', + 'target_resource_type', 'target_service_name', + 'roles', + 'source_resource_instance_id', 'target_resource_instance_id', 'target_resource_group_id', - 'source_resource_type', + 'source_service_account', ] # Params for Data source @@ -150,35 +150,35 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - target_resource_type=dict( - required=False, - type='str'), source_service_name=dict( required=False, type='str'), - roles=dict( - required=False, - elements='', - type='list'), - source_resource_instance_id=dict( + source_resource_group_id=dict( required=False, type='str'), - source_resource_group_id=dict( + source_resource_type=dict( required=False, type='str'), - source_service_account=dict( + target_resource_type=dict( required=False, type='str'), target_service_name=dict( required=False, type='str'), + roles=dict( + required=False, + elements='', + type='list'), + source_resource_instance_id=dict( + required=False, + type='str'), target_resource_instance_id=dict( required=False, type='str'), target_resource_group_id=dict( required=False, type='str'), - source_resource_type=dict( + source_service_account=dict( required=False, type='str'), id=dict( @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_authorization_policy_detach.py b/plugins/modules/ibm_iam_authorization_policy_detach.py index e0aa8ec7f..360c29d88 100644 --- a/plugins/modules/ibm_iam_authorization_policy_detach.py +++ b/plugins/modules/ibm_iam_authorization_policy_detach.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_authorization_policy_detach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy_detach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_custom_role.py b/plugins/modules/ibm_iam_custom_role.py index 624b6bdba..1fed88c52 100644 --- a/plugins/modules/ibm_iam_custom_role.py +++ b/plugins/modules/ibm_iam_custom_role.py @@ -16,13 +16,13 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_custom_role' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - display_name: + name: description: - - (Required for new resource) Display Name of the Custom Role + - (Required for new resource) The name of the custom Role required: True type: str description: @@ -41,9 +41,9 @@ required: True type: list elements: str - name: + display_name: description: - - (Required for new resource) The name of the custom Role + - (Required for new resource) Display Name of the Custom Role required: True type: str id: @@ -92,19 +92,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('display_name', 'str'), + ('name', 'str'), ('service', 'str'), ('actions', 'list'), - ('name', 'str'), + ('display_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'display_name', + 'name', 'description', 'service', 'actions', - 'name', + 'display_name', ] # Params for Data source @@ -121,7 +121,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - display_name=dict( + name=dict( required=False, type='str'), description=dict( @@ -134,7 +134,7 @@ required=False, elements='', type='list'), - name=dict( + display_name=dict( required=False, type='str'), id=dict( @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_iam_custom_role', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_role_actions_info.py b/plugins/modules/ibm_iam_role_actions_info.py index b78e77d18..c8c32981c 100644 --- a/plugins/modules/ibm_iam_role_actions_info.py +++ b/plugins/modules/ibm_iam_role_actions_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_role_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_iam_role_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_roles_info.py b/plugins/modules/ibm_iam_roles_info.py index ed8d92114..aa35ee1eb 100644 --- a/plugins/modules/ibm_iam_roles_info.py +++ b/plugins/modules/ibm_iam_roles_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_iam_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_service_api_key.py b/plugins/modules/ibm_iam_service_api_key.py index dc9108719..3c856f86e 100644 --- a/plugins/modules/ibm_iam_service_api_key.py +++ b/plugins/modules/ibm_iam_service_api_key.py @@ -16,10 +16,25 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_api_key' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + locked: + description: + - The API key cannot be changed if set to true + required: False + type: bool + store_value: + description: + - Boolean value deciding whether API key value is retrievable in the future + required: False + type: bool + file: + description: + - File where api key is to be stored + required: False + type: str name: description: - (Required for new resource) Name of the Service API key @@ -30,11 +45,6 @@ - description of the API key required: False type: str - locked: - description: - - The API key cannot be changed if set to true - required: False - type: bool iam_service_id: description: - (Required for new resource) The service iam_id that this API key authenticates @@ -45,16 +55,6 @@ - API key value for this API key required: False type: str - store_value: - description: - - Boolean value deciding whether API key value is retrievable in the future - required: False - type: bool - file: - description: - - File where api key is to be stored - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,13 +107,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'locked', + 'store_value', + 'file', 'name', 'description', - 'locked', 'iam_service_id', 'apikey', - 'store_value', - 'file', ] # Params for Data source @@ -130,27 +130,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + locked=dict( + required=False, + type='bool'), + store_value=dict( + required=False, + type='bool'), + file=dict( + required=False, + type='str'), name=dict( required=False, type='str'), description=dict( required=False, type='str'), - locked=dict( - required=False, - type='bool'), iam_service_id=dict( required=False, type='str'), apikey=dict( required=False, type='str'), - store_value=dict( - required=False, - type='bool'), - file=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_iam_service_api_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_service_id.py b/plugins/modules/ibm_iam_service_id.py index 34b5fe355..0d01a36ac 100644 --- a/plugins/modules/ibm_iam_service_id.py +++ b/plugins/modules/ibm_iam_service_id.py @@ -16,10 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_id' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + tags: + description: + - None + required: False + type: list + elements: str name: description: - (Required for new resource) Name of the serviceID @@ -30,12 +36,6 @@ - Description of the serviceID required: False type: str - tags: - description: - - None - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -87,9 +87,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'name', 'description', - 'tags', ] # Params for Data source @@ -108,16 +108,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tags=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), description=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_service_id_info.py b/plugins/modules/ibm_iam_service_id_info.py index c77344e25..ccd0ec81c 100644 --- a/plugins/modules/ibm_iam_service_id_info.py +++ b/plugins/modules/ibm_iam_service_id_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_id' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_service_policy.py b/plugins/modules/ibm_iam_service_policy.py index 320dcf21f..e1e936f0f 100644 --- a/plugins/modules/ibm_iam_service_policy.py +++ b/plugins/modules/ibm_iam_service_policy.py @@ -16,10 +16,21 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + iam_service_id: + description: + - (Required for new resource) UUID of ServiceID + required: True + type: str + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str resources: description: - None @@ -38,17 +49,6 @@ required: False type: list elements: str - iam_service_id: - description: - - (Required for new resource) UUID of ServiceID - required: True - type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,11 +101,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'iam_service_id', + 'roles', 'resources', 'account_management', 'tags', - 'iam_service_id', - 'roles', ] # Params for Data source @@ -126,6 +126,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + iam_service_id=dict( + required=False, + type='str'), + roles=dict( + required=False, + elements='', + type='list'), resources=dict( required=False, elements='', @@ -137,13 +144,6 @@ required=False, elements='', type='list'), - iam_service_id=dict( - required=False, - type='str'), - roles=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_service_policy_info.py b/plugins/modules/ibm_iam_service_policy_info.py index dbd1ab8dd..1d8f285e6 100644 --- a/plugins/modules/ibm_iam_service_policy_info.py +++ b/plugins/modules/ibm_iam_service_policy_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_invite.py b/plugins/modules/ibm_iam_user_invite.py index 0d118c576..5f477500c 100644 --- a/plugins/modules/ibm_iam_user_invite.py +++ b/plugins/modules/ibm_iam_user_invite.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_invite' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - iam_policy: - description: - - None - required: False - type: list - elements: dict classic_infra_roles: description: - None @@ -50,6 +44,12 @@ required: False type: list elements: str + iam_policy: + description: + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,11 +101,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'iam_policy', 'classic_infra_roles', 'cloud_foundry_roles', 'users', 'access_groups', + 'iam_policy', ] # Params for Data source @@ -122,10 +122,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - iam_policy=dict( - required=False, - elements='', - type='list'), classic_infra_roles=dict( required=False, elements='', @@ -142,6 +138,10 @@ required=False, elements='', type='list'), + iam_policy=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_iam_user_invite', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_policy.py b/plugins/modules/ibm_iam_user_policy.py index 6e613d4d0..a259df69e 100644 --- a/plugins/modules/ibm_iam_user_policy.py +++ b/plugins/modules/ibm_iam_user_policy.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str ibm_id: description: - (Required for new resource) The ibm id or email of user @@ -49,6 +43,12 @@ required: False type: bool default: False + tags: + description: + - None + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,11 +101,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'ibm_id', 'roles', 'resources', 'account_management', + 'tags', ] # Params for Data source @@ -126,10 +126,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), ibm_id=dict( required=False, type='str'), @@ -144,6 +140,10 @@ account_management=dict( required=False, type='bool'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_user_policy_info.py b/plugins/modules/ibm_iam_user_policy_info.py index 6e602d4e9..76349acc7 100644 --- a/plugins/modules/ibm_iam_user_policy_info.py +++ b/plugins/modules/ibm_iam_user_policy_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_user_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_profile_info.py b/plugins/modules/ibm_iam_user_profile_info.py index 6b00f09e3..b2c9add3e 100644 --- a/plugins/modules/ibm_iam_user_profile_info.py +++ b/plugins/modules/ibm_iam_user_profile_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_user_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_iam_user_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_settings.py b/plugins/modules/ibm_iam_user_settings.py index 92f899c78..ac663e0dc 100644 --- a/plugins/modules/ibm_iam_user_settings.py +++ b/plugins/modules/ibm_iam_user_settings.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_iam_user_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_users_info.py b/plugins/modules/ibm_iam_users_info.py index fc491cbdd..3d28bcf1e 100644 --- a/plugins/modules/ibm_iam_users_info.py +++ b/plugins/modules/ibm_iam_users_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_users' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_iam_users', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ipsec_vpn.py b/plugins/modules/ibm_ipsec_vpn.py index 3d520c46d..3f0436e34 100644 --- a/plugins/modules/ibm_ipsec_vpn.py +++ b/plugins/modules/ibm_ipsec_vpn.py @@ -16,24 +16,28 @@ - Create, update or destroy an IBM Cloud 'ibm_ipsec_vpn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - remote_subnet_id: + datacenter: description: - - Remote subnet ID value + - (Required for new resource) Datacenter name + required: True + type: str + preshared_key: + description: + - Preshared Key data required: False - type: int - remote_subnet: + type: str + customer_peer_ip: description: - - None + - Customer Peer IP Address required: False - type: list - elements: dict - service_subnet_id: + type: str + internal_subnet_id: description: - - Service subnet ID value + - Internal subnet ID value required: False type: int phase_one: @@ -54,24 +58,20 @@ required: False type: list elements: dict - preshared_key: + remote_subnet_id: description: - - Preshared Key data + - Remote subnet ID value required: False - type: str - customer_peer_ip: + type: int + remote_subnet: description: - - Customer Peer IP Address + - None required: False - type: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - internal_subnet_id: + type: list + elements: dict + service_subnet_id: description: - - Internal subnet ID value + - Service subnet ID value required: False type: int id: @@ -125,16 +125,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'remote_subnet_id', - 'remote_subnet', - 'service_subnet_id', - 'phase_one', - 'phase_two', - 'address_translation', + 'datacenter', 'preshared_key', 'customer_peer_ip', - 'datacenter', 'internal_subnet_id', + 'phase_one', + 'phase_two', + 'address_translation', + 'remote_subnet_id', + 'remote_subnet', + 'service_subnet_id', ] # Params for Data source @@ -153,14 +153,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - remote_subnet_id=dict( + datacenter=dict( required=False, - type='int'), - remote_subnet=dict( + type='str'), + preshared_key=dict( required=False, - elements='', - type='list'), - service_subnet_id=dict( + type='str'), + customer_peer_ip=dict( + required=False, + type='str'), + internal_subnet_id=dict( required=False, type='int'), phase_one=dict( @@ -175,16 +177,14 @@ required=False, elements='', type='list'), - preshared_key=dict( - required=False, - type='str'), - customer_peer_ip=dict( + remote_subnet_id=dict( required=False, - type='str'), - datacenter=dict( + type='int'), + remote_subnet=dict( required=False, - type='str'), - internal_subnet_id=dict( + elements='', + type='list'), + service_subnet_id=dict( required=False, type='int'), id=dict( @@ -252,7 +252,7 @@ def run_module(): resource_type='ibm_ipsec_vpn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_floating_ip.py b/plugins/modules/ibm_is_floating_ip.py index 991869700..6685c6194 100644 --- a/plugins/modules/ibm_is_floating_ip.py +++ b/plugins/modules/ibm_is_floating_ip.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_floating_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_floating_ip_info.py b/plugins/modules/ibm_is_floating_ip_info.py index e82822cc5..841531da6 100644 --- a/plugins/modules/ibm_is_floating_ip_info.py +++ b/plugins/modules/ibm_is_floating_ip_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_floating_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_flow_log.py b/plugins/modules/ibm_is_flow_log.py index 5bc0f2f4b..708a28216 100644 --- a/plugins/modules/ibm_is_flow_log.py +++ b/plugins/modules/ibm_is_flow_log.py @@ -16,24 +16,13 @@ - Create, update or destroy an IBM Cloud 'ibm_is_flow_log' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - tags: - description: - - Tags for the VPC Flow logs - required: False - type: list - elements: str - resource_group: - description: - - The resource group of flow log - required: False - type: str - target: + name: description: - - (Required for new resource) The target id that the flow log collector is to collect flow logs + - (Required for new resource) Flow Log Collector name required: True type: str storage_bucket: @@ -47,11 +36,22 @@ required: False type: bool default: True - name: + resource_group: description: - - (Required for new resource) Flow Log Collector name + - The resource group of flow log + required: False + type: str + target: + description: + - (Required for new resource) The target id that the flow log collector is to collect flow logs required: True type: str + tags: + description: + - Tags for the VPC Flow logs + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,19 +98,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('target', 'str'), - ('storage_bucket', 'str'), ('name', 'str'), + ('storage_bucket', 'str'), + ('target', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'resource_group', - 'target', + 'name', 'storage_bucket', 'active', - 'name', + 'resource_group', + 'target', + 'tags', ] # Params for Data source @@ -127,14 +127,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), - resource_group=dict( - required=False, - type='str'), - target=dict( + name=dict( required=False, type='str'), storage_bucket=dict( @@ -143,9 +136,16 @@ active=dict( required=False, type='bool'), - name=dict( + resource_group=dict( required=False, type='str'), + target=dict( + required=False, + type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_flow_logs_info.py b/plugins/modules/ibm_is_flow_logs_info.py index 6ef782809..991ba3b79 100644 --- a/plugins/modules/ibm_is_flow_logs_info.py +++ b/plugins/modules/ibm_is_flow_logs_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_flow_logs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_flow_logs', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ike_policy.py b/plugins/modules/ibm_is_ike_policy.py index 6dc35b366..79fff3ff4 100644 --- a/plugins/modules/ibm_is_ike_policy.py +++ b/plugins/modules/ibm_is_ike_policy.py @@ -16,15 +16,25 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ike_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) IKE name + required: True + type: str authentication_algorithm: description: - (Required for new resource) Authentication algorithm type required: True type: str + ike_version: + description: + - IKE version + required: False + type: int encryption_algorithm: description: - (Required for new resource) Encryption alogorithm type @@ -35,16 +45,6 @@ - (Required for new resource) IKE DH group required: True type: int - ike_version: - description: - - IKE version - required: False - type: int - name: - description: - - (Required for new resource) IKE name - required: True - type: str resource_group: description: - IKE resource group ID @@ -102,19 +102,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('authentication_algorithm', 'str'), ('encryption_algorithm', 'str'), ('dh_group', 'int'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'authentication_algorithm', + 'ike_version', 'encryption_algorithm', 'dh_group', - 'ike_version', - 'name', 'resource_group', 'key_lifetime', ] @@ -133,21 +133,21 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - authentication_algorithm=dict( + name=dict( required=False, type='str'), - encryption_algorithm=dict( + authentication_algorithm=dict( required=False, type='str'), - dh_group=dict( - required=False, - type='int'), ike_version=dict( required=False, type='int'), - name=dict( + encryption_algorithm=dict( required=False, type='str'), + dh_group=dict( + required=False, + type='int'), resource_group=dict( required=False, type='str'), @@ -231,7 +231,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_image.py b/plugins/modules/ibm_is_image.py index f47c1fe5e..4d2ff6590 100644 --- a/plugins/modules/ibm_is_image.py +++ b/plugins/modules/ibm_is_image.py @@ -16,45 +16,45 @@ - Create, update or destroy an IBM Cloud 'ibm_is_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + encrypted_data_key: description: - - (Required for new resource) Image name - required: True + - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image + required: False type: str - tags: + encryption_key: description: - - Tags for the image + - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource required: False - type: list - elements: str + type: str operating_system: description: - (Required for new resource) Image Operating system required: True type: str + resource_group: + description: + - The resource group for this image + required: False + type: str href: description: - (Required for new resource) Image Href value required: True type: str - encryption_key: - description: - - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource - required: False - type: str - resource_group: + tags: description: - - The resource group for this image + - Tags for the image required: False - type: str - encrypted_data_key: + type: list + elements: str + name: description: - - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image - required: False + - (Required for new resource) Image name + required: True type: str id: description: @@ -102,20 +102,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('operating_system', 'str'), ('href', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'tags', - 'operating_system', - 'href', + 'encrypted_data_key', 'encryption_key', + 'operating_system', 'resource_group', - 'encrypted_data_key', + 'href', + 'tags', + 'name', ] # Params for Data source @@ -135,26 +135,26 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + encrypted_data_key=dict( required=False, type='str'), - tags=dict( + encryption_key=dict( required=False, - elements='', - type='list'), + type='str'), operating_system=dict( required=False, type='str'), - href=dict( + resource_group=dict( required=False, type='str'), - encryption_key=dict( + href=dict( required=False, type='str'), - resource_group=dict( + tags=dict( required=False, - type='str'), - encrypted_data_key=dict( + elements='', + type='list'), + name=dict( required=False, type='str'), id=dict( @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -243,7 +243,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_image_info.py b/plugins/modules/ibm_is_image_info.py index 6a83906fa..19de35cf9 100644 --- a/plugins/modules/ibm_is_image_info.py +++ b/plugins/modules/ibm_is_image_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_image' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_images_info.py b/plugins/modules/ibm_is_images_info.py index 8f2ee97ad..b88cda0c4 100644 --- a/plugins/modules/ibm_is_images_info.py +++ b/plugins/modules/ibm_is_images_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance.py b/plugins/modules/ibm_is_instance.py index ec1439bd0..79c3e117a 100644 --- a/plugins/modules/ibm_is_instance.py +++ b/plugins/modules/ibm_is_instance.py @@ -16,35 +16,53 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - profile: + zone: description: - - (Required for new resource) Profile info + - (Required for new resource) Zone name required: True type: str - network_interfaces: + keys: description: - - None + - (Required for new resource) SSH key Ids for the instance + required: True + type: list + elements: str + tags: + description: + - list of tags for the instance required: False type: list + elements: str + primary_network_interface: + description: + - (Required for new resource) Primary Network interface info + required: True + type: list elements: dict - name: + image: description: - - (Required for new resource) Instance name + - (Required for new resource) image name required: True type: str - zone: + boot_volume: description: - - (Required for new resource) Zone name + - None + required: False + type: list + elements: dict + vpc: + description: + - (Required for new resource) VPC id required: True type: str - image: + user_data: description: - - (Required for new resource) image name - required: True + - User data given for the instance + required: False type: str volumes: description: @@ -57,45 +75,27 @@ - Define timeout to force the instances to start/stop in minutes. required: False type: int - primary_network_interface: + name: description: - - (Required for new resource) Primary Network interface info + - (Required for new resource) Instance name required: True - type: list - elements: dict - resource_group: - description: - - Instance resource group - required: False type: str - tags: - description: - - list of tags for the instance - required: False - type: list - elements: str - user_data: + profile: description: - - User data given for the instance - required: False + - (Required for new resource) Profile info + required: True type: str - boot_volume: + network_interfaces: description: - None required: False type: list elements: dict - vpc: + resource_group: description: - - (Required for new resource) VPC id - required: True + - Instance resource group + required: False type: str - keys: - description: - - (Required for new resource) SSH key Ids for the instance - required: True - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -142,31 +142,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('profile', 'str'), - ('name', 'str'), ('zone', 'str'), - ('image', 'str'), + ('keys', 'list'), ('primary_network_interface', 'list'), + ('image', 'str'), ('vpc', 'str'), - ('keys', 'list'), + ('name', 'str'), + ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'profile', - 'network_interfaces', - 'name', 'zone', + 'keys', + 'tags', + 'primary_network_interface', 'image', + 'boot_volume', + 'vpc', + 'user_data', 'volumes', 'force_recovery_time', - 'primary_network_interface', + 'name', + 'profile', + 'network_interfaces', 'resource_group', - 'tags', - 'user_data', - 'boot_volume', - 'vpc', - 'keys', ] # Params for Data source @@ -187,54 +187,54 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - profile=dict( + zone=dict( required=False, type='str'), - network_interfaces=dict( + keys=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), - zone=dict( - required=False, - type='str'), - image=dict( - required=False, - type='str'), - volumes=dict( + tags=dict( required=False, elements='', type='list'), - force_recovery_time=dict( - required=False, - type='int'), primary_network_interface=dict( required=False, elements='', type='list'), - resource_group=dict( + image=dict( required=False, type='str'), - tags=dict( + boot_volume=dict( required=False, elements='', type='list'), + vpc=dict( + required=False, + type='str'), user_data=dict( required=False, type='str'), - boot_volume=dict( + volumes=dict( required=False, elements='', type='list'), - vpc=dict( + force_recovery_time=dict( + required=False, + type='int'), + name=dict( required=False, type='str'), - keys=dict( + profile=dict( + required=False, + type='str'), + network_interfaces=dict( required=False, elements='', type='list'), + resource_group=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -312,7 +312,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -321,7 +321,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group.py b/plugins/modules/ibm_is_instance_group.py index 11d8323e4..66fa1ce0d 100644 --- a/plugins/modules/ibm_is_instance_group.py +++ b/plugins/modules/ibm_is_instance_group.py @@ -16,10 +16,31 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + tags: + description: + - List of tags for instance group + required: False + type: list + elements: str + instance_template: + description: + - (Required for new resource) instance template ID + required: True + type: str + load_balancer: + description: + - load balancer ID + required: False + type: str + load_balancer_pool: + description: + - load balancer pool ID + required: False + type: str name: description: - (Required for new resource) The user-defined name for this instance group @@ -36,16 +57,6 @@ - Resource group ID required: False type: str - load_balancer: - description: - - load balancer ID - required: False - type: str - instance_template: - description: - - (Required for new resource) instance template ID - required: True - type: str subnets: description: - (Required for new resource) list of subnet IDs @@ -57,17 +68,6 @@ - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. required: False type: int - load_balancer_pool: - description: - - load balancer pool ID - required: False - type: str - tags: - description: - - List of tags for instance group - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,22 +114,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_template', 'str'), + ('name', 'str'), ('subnets', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', + 'instance_template', + 'load_balancer', + 'load_balancer_pool', 'name', 'instance_count', 'resource_group', - 'load_balancer', - 'instance_template', 'subnets', 'application_port', - 'load_balancer_pool', - 'tags', ] # Params for Data source @@ -148,35 +148,35 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - instance_count=dict( + tags=dict( required=False, - type='int'), - resource_group=dict( + elements='', + type='list'), + instance_template=dict( required=False, type='str'), load_balancer=dict( required=False, type='str'), - instance_template=dict( + load_balancer_pool=dict( required=False, type='str'), - subnets=dict( + name=dict( required=False, - elements='', - type='list'), - application_port=dict( + type='str'), + instance_count=dict( required=False, type='int'), - load_balancer_pool=dict( + resource_group=dict( required=False, type='str'), - tags=dict( + subnets=dict( required=False, elements='', type='list'), + application_port=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -263,7 +263,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_info.py b/plugins/modules/ibm_is_instance_group_info.py index 2e9aa383c..b70e79974 100644 --- a/plugins/modules/ibm_is_instance_group_info.py +++ b/plugins/modules/ibm_is_instance_group_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager.py b/plugins/modules/ibm_is_instance_group_manager.py index 8bdce5343..bd0a2fb31 100644 --- a/plugins/modules/ibm_is_instance_group_manager.py +++ b/plugins/modules/ibm_is_instance_group_manager.py @@ -16,55 +16,55 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + name: + description: + - instance group manager name + required: False + type: str enable_manager: description: - enable instance group manager required: False type: bool default: True + instance_group: + description: + - (Required for new resource) instance group ID + required: True + type: str aggregation_window: description: - The time window in seconds to aggregate metrics prior to evaluation required: False type: int default: 90 - max_membership_count: - description: - - (Required for new resource) The maximum number of members in a managed instance group - required: True - type: int - min_membership_count: + cooldown: description: - - The minimum number of members in a managed instance group + - The duration of time in seconds to pause further scale actions after scaling has taken place required: False type: int - default: 1 - name: - description: - - instance group manager name - required: False - type: str - instance_group: - description: - - (Required for new resource) instance group ID - required: True - type: str + default: 300 manager_type: description: - The type of instance group manager. required: False type: str default: autoscale - cooldown: + max_membership_count: description: - - The duration of time in seconds to pause further scale actions after scaling has taken place + - (Required for new resource) The maximum number of members in a managed instance group + required: True + type: int + min_membership_count: + description: + - The minimum number of members in a managed instance group required: False type: int - default: 300 + default: 1 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,31 +111,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('max_membership_count', 'int'), ('instance_group', 'str'), + ('max_membership_count', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'enable_manager', + 'instance_group', 'aggregation_window', + 'cooldown', + 'manager_type', 'max_membership_count', 'min_membership_count', - 'name', - 'instance_group', - 'manager_type', - 'cooldown', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_group', 'str'), ('name', 'str'), + ('instance_group', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_group', 'name', + 'instance_group', ] TL_CONFLICTS_MAP = { @@ -145,28 +145,28 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), enable_manager=dict( required=False, type='bool'), - aggregation_window=dict( + instance_group=dict( required=False, - type='int'), - max_membership_count=dict( + type='str'), + aggregation_window=dict( required=False, type='int'), - min_membership_count=dict( + cooldown=dict( required=False, type='int'), - name=dict( - required=False, - type='str'), - instance_group=dict( - required=False, - type='str'), manager_type=dict( required=False, type='str'), - cooldown=dict( + max_membership_count=dict( + required=False, + type='int'), + min_membership_count=dict( required=False, type='int'), id=dict( @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_manager_info.py b/plugins/modules/ibm_is_instance_group_manager_info.py index 32d64ab31..28fed2e2a 100644 --- a/plugins/modules/ibm_is_instance_group_manager_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - instance_group: + name: description: - - instance group ID + - Name of the instance group manager. required: True type: str - name: + instance_group: description: - - Name of the instance group manager. + - instance group ID required: True type: str generation: @@ -62,14 +62,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_group', 'str'), ('name', 'str'), + ('instance_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_group', 'name', + 'instance_group', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_group=dict( + name=dict( required=True, type='str'), - name=dict( + instance_group=dict( required=True, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_policies_info.py b/plugins/modules/ibm_is_instance_group_manager_policies_info.py index 09cdeb4bb..003b54062 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policies_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_policies_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_policy.py b/plugins/modules/ibm_is_instance_group_manager_policy.py index 74c8e5eff..051f6e491 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policy.py +++ b/plugins/modules/ibm_is_instance_group_manager_policy.py @@ -16,20 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - instance_group: - description: - - (Required for new resource) instance group ID - required: True - type: str - instance_group_manager: - description: - - (Required for new resource) Instance group manager ID - required: True - type: str metric_type: description: - (Required for new resource) The type of metric to be evaluated @@ -50,6 +40,16 @@ - instance group manager policy name required: False type: str + instance_group: + description: + - (Required for new resource) instance group ID + required: True + type: str + instance_group_manager: + description: + - (Required for new resource) Instance group manager ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,34 +96,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_group', 'str'), - ('instance_group_manager', 'str'), ('metric_type', 'str'), ('metric_value', 'int'), ('policy_type', 'str'), + ('instance_group', 'str'), + ('instance_group_manager', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_group', - 'instance_group_manager', 'metric_type', 'metric_value', 'policy_type', 'name', + 'instance_group', + 'instance_group_manager', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('instance_group', 'str'), ('instance_group_manager', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'instance_group', 'instance_group_manager', + 'name', ] TL_CONFLICTS_MAP = { @@ -133,12 +133,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_group=dict( - required=False, - type='str'), - instance_group_manager=dict( - required=False, - type='str'), metric_type=dict( required=False, type='str'), @@ -151,6 +145,12 @@ name=dict( required=False, type='str'), + instance_group=dict( + required=False, + type='str'), + instance_group_manager=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_manager_policy_info.py b/plugins/modules/ibm_is_instance_group_manager_policy_info.py index 3d40a0594..214c858af 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policy_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_policy_info.py @@ -15,15 +15,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - The name of the instance group manager policy - required: True - type: str instance_group: description: - instance group ID @@ -34,6 +29,11 @@ - Instance group manager ID required: True type: str + name: + description: + - The name of the instance group manager policy + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -67,16 +67,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_group', 'str'), ('instance_group_manager', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'instance_group', 'instance_group_manager', + 'name', ] @@ -87,15 +87,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=True, - type='str'), instance_group=dict( required=True, type='str'), instance_group_manager=dict( required=True, type='str'), + name=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_managers_info.py b/plugins/modules/ibm_is_instance_group_managers_info.py index 00804f1cc..fc20a1620 100644 --- a/plugins/modules/ibm_is_instance_group_managers_info.py +++ b/plugins/modules/ibm_is_instance_group_managers_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_managers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_instance_group_managers', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_info.py b/plugins/modules/ibm_is_instance_info.py index c76019309..27a7f55ba 100644 --- a/plugins/modules/ibm_is_instance_info.py +++ b/plugins/modules/ibm_is_instance_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_profile_info.py b/plugins/modules/ibm_is_instance_profile_info.py index b840beb6f..14df95df0 100644 --- a/plugins/modules/ibm_is_instance_profile_info.py +++ b/plugins/modules/ibm_is_instance_profile_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_instance_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_profiles_info.py b/plugins/modules/ibm_is_instance_profiles_info.py index 5b4450d3f..946cd1ac3 100644 --- a/plugins/modules/ibm_is_instance_profiles_info.py +++ b/plugins/modules/ibm_is_instance_profiles_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_instance_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_template.py b/plugins/modules/ibm_is_instance_template.py index 99a42dea7..2afe14436 100644 --- a/plugins/modules/ibm_is_instance_template.py +++ b/plugins/modules/ibm_is_instance_template.py @@ -16,37 +16,36 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_template' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + vpc: description: - - (Required for new resource) Instance Template name + - (Required for new resource) VPC id required: True type: str - keys: + zone: description: - - (Required for new resource) SSH key Ids for the instance template + - (Required for new resource) Zone name required: True - type: list - elements: str - volume_attachments: + type: str + primary_network_interface: description: - - None - required: False + - (Required for new resource) Primary Network interface info + required: True type: list elements: dict - image: - description: - - (Required for new resource) image name - required: True - type: str user_data: description: - User data given for the instance required: False type: str + image: + description: + - (Required for new resource) image name + required: True + type: str boot_volume: description: - None @@ -58,14 +57,9 @@ - Instance template resource group required: False type: str - vpc: - description: - - (Required for new resource) VPC id - required: True - type: str - zone: + name: description: - - (Required for new resource) Zone name + - (Required for new resource) Instance Template name required: True type: str profile: @@ -73,11 +67,17 @@ - (Required for new resource) Profile info required: True type: str - primary_network_interface: + keys: description: - - (Required for new resource) Primary Network interface info + - (Required for new resource) SSH key Ids for the instance template required: True type: list + elements: str + volume_attachments: + description: + - None + required: False + type: list elements: dict network_interfaces: description: @@ -131,28 +131,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('keys', 'list'), - ('image', 'str'), ('vpc', 'str'), ('zone', 'str'), - ('profile', 'str'), ('primary_network_interface', 'list'), + ('image', 'str'), + ('name', 'str'), + ('profile', 'str'), + ('keys', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'keys', - 'volume_attachments', - 'image', + 'vpc', + 'zone', + 'primary_network_interface', 'user_data', + 'image', 'boot_volume', 'resource_group', - 'vpc', - 'zone', + 'name', 'profile', - 'primary_network_interface', + 'keys', + 'volume_attachments', 'network_interfaces', ] @@ -170,21 +170,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + vpc=dict( required=False, type='str'), - keys=dict( + zone=dict( required=False, - elements='', - type='list'), - volume_attachments=dict( + type='str'), + primary_network_interface=dict( required=False, elements='', type='list'), - image=dict( + user_data=dict( required=False, type='str'), - user_data=dict( + image=dict( required=False, type='str'), boot_volume=dict( @@ -194,16 +193,17 @@ resource_group=dict( required=False, type='str'), - vpc=dict( - required=False, - type='str'), - zone=dict( + name=dict( required=False, type='str'), profile=dict( required=False, type='str'), - primary_network_interface=dict( + keys=dict( + required=False, + elements='', + type='list'), + volume_attachments=dict( required=False, elements='', type='list'), @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_templates_info.py b/plugins/modules/ibm_is_instance_templates_info.py index c38f32776..61070f12a 100644 --- a/plugins/modules/ibm_is_instance_templates_info.py +++ b/plugins/modules/ibm_is_instance_templates_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_templates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_instance_templates', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instances_info.py b/plugins/modules/ibm_is_instances_info.py index f20bf3901..402fcaaeb 100644 --- a/plugins/modules/ibm_is_instances_info.py +++ b/plugins/modules/ibm_is_instances_info.py @@ -15,10 +15,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_instances' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + vpc_name: + description: + - Name of the vpc to filter the instances attached to it + required: False + type: str + vpc: + description: + - VPC ID to filter the instances attached to it + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -56,16 +66,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'vpc_name', + 'vpc', ] TL_CONFLICTS_MAP = { + 'vpc_name': ['vpc'], + 'vpc': ['vpc_name'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + vpc_name=dict( + required=False, + type='str'), + vpc=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -112,7 +132,7 @@ def run_module(): resource_type='ibm_is_instances', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ipsec_policy.py b/plugins/modules/ibm_is_ipsec_policy.py index d8de90480..3854d7dbd 100644 --- a/plugins/modules/ibm_is_ipsec_policy.py +++ b/plugins/modules/ibm_is_ipsec_policy.py @@ -16,41 +16,41 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ipsec_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + pfs: + description: + - (Required for new resource) PFS info + required: True + type: str key_lifetime: description: - IPSEC key lifetime required: False type: int default: 3600 - name: - description: - - (Required for new resource) IPSEC name - required: True - type: str authentication_algorithm: description: - (Required for new resource) Authentication alorothm required: True type: str - resource_group: - description: - - Resource group info - required: False - type: str encryption_algorithm: description: - (Required for new resource) Encryption algorithm required: True type: str - pfs: + name: description: - - (Required for new resource) PFS info + - (Required for new resource) IPSEC name required: True type: str + resource_group: + description: + - Resource group info + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,20 +97,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), + ('pfs', 'str'), ('authentication_algorithm', 'str'), ('encryption_algorithm', 'str'), - ('pfs', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pfs', 'key_lifetime', - 'name', 'authentication_algorithm', - 'resource_group', 'encryption_algorithm', - 'pfs', + 'name', + 'resource_group', ] # Params for Data source @@ -127,22 +127,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + pfs=dict( + required=False, + type='str'), key_lifetime=dict( required=False, type='int'), - name=dict( - required=False, - type='str'), authentication_algorithm=dict( required=False, type='str'), - resource_group=dict( + encryption_algorithm=dict( required=False, type='str'), - encryption_algorithm=dict( + name=dict( required=False, type='str'), - pfs=dict( + resource_group=dict( required=False, type='str'), id=dict( @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb.py b/plugins/modules/ibm_is_lb.py index cb50f1d59..6d6beabe9 100644 --- a/plugins/modules/ibm_is_lb.py +++ b/plugins/modules/ibm_is_lb.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -26,11 +26,12 @@ required: True type: list elements: str - resource_group: + tags: description: - None required: False - type: str + type: list + elements: str name: description: - (Required for new resource) Load Balancer name @@ -47,12 +48,11 @@ - The profile to use for this load balancer. required: False type: str - tags: + resource_group: description: - None required: False - type: list - elements: str + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,11 +106,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'subnets', - 'resource_group', + 'tags', 'name', 'type', 'profile', - 'tags', + 'resource_group', ] # Params for Data source @@ -133,9 +133,10 @@ required=False, elements='', type='list'), - resource_group=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), name=dict( required=False, type='str'), @@ -145,10 +146,9 @@ profile=dict( required=False, type='str'), - tags=dict( + resource_group=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_info.py b/plugins/modules/ibm_is_lb_info.py index 824e30015..cddb4eaa0 100644 --- a/plugins/modules/ibm_is_lb_info.py +++ b/plugins/modules/ibm_is_lb_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener.py b/plugins/modules/ibm_is_lb_listener.py index f2c5f0b9f..6ca1367ea 100644 --- a/plugins/modules/ibm_is_lb_listener.py +++ b/plugins/modules/ibm_is_lb_listener.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,11 +25,16 @@ - (Required for new resource) Loadbalancer listener ID required: True type: str - certificate_instance: + protocol: description: - - certificate instance for the Loadbalancer - required: False + - (Required for new resource) Loadbalancer protocol + required: True type: str + connection_limit: + description: + - Connection limit for Loadbalancer + required: False + type: int default_pool: description: - Loadbalancer default pool info @@ -40,16 +45,11 @@ - (Required for new resource) Loadbalancer listener port required: True type: int - protocol: - description: - - (Required for new resource) Loadbalancer protocol - required: True - type: str - connection_limit: + certificate_instance: description: - - Connection limit for Loadbalancer + - certificate instance for the Loadbalancer required: False - type: int + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,18 +97,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('lb', 'str'), - ('port', 'int'), ('protocol', 'str'), + ('port', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'lb', - 'certificate_instance', - 'default_pool', - 'port', 'protocol', 'connection_limit', + 'default_pool', + 'port', + 'certificate_instance', ] # Params for Data source @@ -128,21 +128,21 @@ lb=dict( required=False, type='str'), - certificate_instance=dict( + protocol=dict( required=False, type='str'), + connection_limit=dict( + required=False, + type='int'), default_pool=dict( required=False, type='str'), port=dict( required=False, type='int'), - protocol=dict( + certificate_instance=dict( required=False, type='str'), - connection_limit=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policy.py b/plugins/modules/ibm_is_lb_listener_policy.py index b83d7bf62..13f2681a5 100644 --- a/plugins/modules/ibm_is_lb_listener_policy.py +++ b/plugins/modules/ibm_is_lb_listener_policy.py @@ -16,28 +16,23 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - priority: - description: - - (Required for new resource) Listener Policy Priority - required: True - type: int - name: + target_http_status_code: description: - - Policy name + - Listener Policy target HTTPS Status code. required: False - type: str - target_id: + type: int + target_url: description: - - Listener Policy Target ID + - Policy Target URL required: False type: str - lb: + listener: description: - - (Required for new resource) Load Balancer Listener Policy + - (Required for new resource) Listener ID required: True type: str action: @@ -45,25 +40,30 @@ - (Required for new resource) Policy Action required: True type: str + priority: + description: + - (Required for new resource) Listener Policy Priority + required: True + type: int + name: + description: + - Policy name + required: False + type: str rules: description: - Policy Rules required: False type: list elements: dict - target_http_status_code: - description: - - Listener Policy target HTTPS Status code. - required: False - type: int - target_url: + target_id: description: - - Policy Target URL + - Listener Policy Target ID required: False type: str - listener: + lb: description: - - (Required for new resource) Listener ID + - (Required for new resource) Load Balancer Listener Policy required: True type: str id: @@ -112,23 +112,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('listener', 'str'), + ('action', 'str'), ('priority', 'int'), ('lb', 'str'), - ('action', 'str'), - ('listener', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'target_http_status_code', + 'target_url', + 'listener', + 'action', 'priority', 'name', + 'rules', 'target_id', 'lb', - 'action', - 'rules', - 'target_http_status_code', - 'target_url', - 'listener', ] # Params for Data source @@ -145,32 +145,32 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - priority=dict( + target_http_status_code=dict( required=False, type='int'), - name=dict( + target_url=dict( required=False, type='str'), - target_id=dict( + listener=dict( required=False, type='str'), - lb=dict( + action=dict( required=False, type='str'), - action=dict( + priority=dict( + required=False, + type='int'), + name=dict( required=False, type='str'), rules=dict( required=False, elements='', type='list'), - target_http_status_code=dict( - required=False, - type='int'), - target_url=dict( + target_id=dict( required=False, type='str'), - listener=dict( + lb=dict( required=False, type='str'), id=dict( @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policy_rule.py b/plugins/modules/ibm_is_lb_listener_policy_rule.py index 520081bef..34f609a3f 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - value: - description: - - (Required for new resource) policy rule value info - required: True - type: str listener: description: - (Required for new resource) Listener ID. @@ -35,9 +30,9 @@ - (Required for new resource) Listener Policy ID required: True type: str - type: + condition: description: - - (Required for new resource) Policy rule type. + - (Required for new resource) Condition info of the rule. required: True type: str field: @@ -50,9 +45,14 @@ - (Required for new resource) Loadbalancer ID required: True type: str - condition: + type: description: - - (Required for new resource) Condition info of the rule. + - (Required for new resource) Policy rule type. + required: True + type: str + value: + description: + - (Required for new resource) policy rule value info required: True type: str id: @@ -101,23 +101,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('value', 'str'), ('listener', 'str'), ('policy', 'str'), - ('type', 'str'), - ('lb', 'str'), ('condition', 'str'), + ('lb', 'str'), + ('type', 'str'), + ('value', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'value', 'listener', 'policy', - 'type', + 'condition', 'field', 'lb', - 'condition', + 'type', + 'value', ] # Params for Data source @@ -134,16 +134,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - value=dict( - required=False, - type='str'), listener=dict( required=False, type='str'), policy=dict( required=False, type='str'), - type=dict( + condition=dict( required=False, type='str'), field=dict( @@ -152,7 +149,10 @@ lb=dict( required=False, type='str'), - condition=dict( + type=dict( + required=False, + type='str'), + value=dict( required=False, type='str'), id=dict( @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pool.py b/plugins/modules/ibm_is_lb_pool.py index 911635322..9b8dd2d39 100644 --- a/plugins/modules/ibm_is_lb_pool.py +++ b/plugins/modules/ibm_is_lb_pool.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,6 +25,16 @@ - (Required for new resource) Load Balancer Pool name required: True type: str + algorithm: + description: + - (Required for new resource) Load Balancer Pool algorithm + required: True + type: str + lb: + description: + - (Required for new resource) Load Balancer ID + required: True + type: str health_delay: description: - (Required for new resource) Load Blancer health delay time period @@ -35,15 +45,15 @@ - (Required for new resource) Load Balancer health timeout interval required: True type: int - lb: + health_type: description: - - (Required for new resource) Load Balancer ID + - (Required for new resource) Load Balancer health type required: True type: str - algorithm: + session_persistence_type: description: - - (Required for new resource) Load Balancer Pool algorithm - required: True + - Load Balancer Pool session persisence type. + required: False type: str protocol: description: @@ -55,31 +65,21 @@ - (Required for new resource) Load Balancer health retry count required: True type: int - session_persistence_cookie_name: - description: - - Load Balancer Pool session persisence cookie name - required: False - type: str - health_type: - description: - - (Required for new resource) Load Balancer health type - required: True - type: str health_monitor_url: description: - Health monitor URL of LB Pool required: False type: str - session_persistence_type: - description: - - Load Balancer Pool session persisence type. - required: False - type: str health_monitor_port: description: - Health monitor Port the LB Pool required: False type: int + session_persistence_cookie_name: + description: + - Load Balancer Pool session persisence cookie name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -127,29 +127,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), + ('algorithm', 'str'), + ('lb', 'str'), ('health_delay', 'int'), ('health_timeout', 'int'), - ('lb', 'str'), - ('algorithm', 'str'), + ('health_type', 'str'), ('protocol', 'str'), ('health_retries', 'int'), - ('health_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', + 'algorithm', + 'lb', 'health_delay', 'health_timeout', - 'lb', - 'algorithm', + 'health_type', + 'session_persistence_type', 'protocol', 'health_retries', - 'session_persistence_cookie_name', - 'health_type', 'health_monitor_url', - 'session_persistence_type', 'health_monitor_port', + 'session_persistence_cookie_name', ] # Params for Data source @@ -169,16 +169,22 @@ name=dict( required=False, type='str'), + algorithm=dict( + required=False, + type='str'), + lb=dict( + required=False, + type='str'), health_delay=dict( required=False, type='int'), health_timeout=dict( required=False, type='int'), - lb=dict( + health_type=dict( required=False, type='str'), - algorithm=dict( + session_persistence_type=dict( required=False, type='str'), protocol=dict( @@ -187,21 +193,15 @@ health_retries=dict( required=False, type='int'), - session_persistence_cookie_name=dict( - required=False, - type='str'), - health_type=dict( - required=False, - type='str'), health_monitor_url=dict( required=False, type='str'), - session_persistence_type=dict( - required=False, - type='str'), health_monitor_port=dict( required=False, type='int'), + session_persistence_cookie_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pool_member.py b/plugins/modules/ibm_is_lb_pool_member.py index a2973effb..c7ccb9479 100644 --- a/plugins/modules/ibm_is_lb_pool_member.py +++ b/plugins/modules/ibm_is_lb_pool_member.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool_member' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,11 +25,6 @@ - Load balancer pool member target address required: False type: str - weight: - description: - - Load balcner pool member weight - required: False - type: int pool: description: - (Required for new resource) Loadblancer Poold ID @@ -50,6 +45,11 @@ - Load balancer pool member target id required: False type: str + weight: + description: + - Load balcner pool member weight + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,11 +104,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'target_address', - 'weight', 'pool', 'lb', 'port', 'target_id', + 'weight', ] # Params for Data source @@ -128,9 +128,6 @@ target_address=dict( required=False, type='str'), - weight=dict( - required=False, - type='int'), pool=dict( required=False, type='str'), @@ -143,6 +140,9 @@ target_id=dict( required=False, type='str'), + weight=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_profiles_info.py b/plugins/modules/ibm_is_lb_profiles_info.py index b9d2c5e6d..9944be79c 100644 --- a/plugins/modules/ibm_is_lb_profiles_info.py +++ b/plugins/modules/ibm_is_lb_profiles_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_lb_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lbs_info.py b/plugins/modules/ibm_is_lbs_info.py index c341905ac..a62ce47cd 100644 --- a/plugins/modules/ibm_is_lbs_info.py +++ b/plugins/modules/ibm_is_lbs_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lbs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_lbs', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acl.py b/plugins/modules/ibm_is_network_acl.py index 6025cd744..605576b98 100644 --- a/plugins/modules/ibm_is_network_acl.py +++ b/plugins/modules/ibm_is_network_acl.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - rules: - description: - - None - required: False - type: list - elements: dict name: description: - (Required for new resource) Network ACL name @@ -41,6 +35,12 @@ - Resource group ID for the network ACL required: False type: str + rules: + description: + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -92,10 +92,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'rules', 'name', 'vpc', 'resource_group', + 'rules', ] # Params for Data source @@ -112,10 +112,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - rules=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), @@ -125,6 +121,10 @@ resource_group=dict( required=False, type='str'), + rules=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_public_gateway.py b/plugins/modules/ibm_is_public_gateway.py index acc4fe18c..7a17055db 100644 --- a/plugins/modules/ibm_is_public_gateway.py +++ b/plugins/modules/ibm_is_public_gateway.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_public_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,33 +25,33 @@ - Public gateway resource group info required: False type: str - vpc: + name: description: - - (Required for new resource) Public gateway VPC info + - (Required for new resource) Name of the Public gateway instance required: True type: str - tags: - description: - - Service tags for the public gateway instance - required: False - type: list - elements: str floating_ip: description: - None required: False type: dict elements: dict - zone: + vpc: description: - - (Required for new resource) Public gateway zone info + - (Required for new resource) Public gateway VPC info required: True type: str - name: + zone: description: - - (Required for new resource) Name of the Public gateway instance + - (Required for new resource) Public gateway zone info required: True type: str + tags: + description: + - Service tags for the public gateway instance + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,19 +98,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('vpc', 'str'), ('zone', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group', - 'vpc', - 'tags', + 'name', 'floating_ip', + 'vpc', 'zone', - 'name', + 'tags', ] # Params for Data source @@ -119,8 +119,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group', + 'name', ] TL_CONFLICTS_MAP = { @@ -133,23 +133,23 @@ resource_group=dict( required=False, type='str'), - vpc=dict( + name=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), floating_ip=dict( required=False, elements='', type='dict'), - zone=dict( + vpc=dict( required=False, type='str'), - name=dict( + zone=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_public_gateway_info.py b/plugins/modules/ibm_is_public_gateway_info.py index 88043212b..13f70d06f 100644 --- a/plugins/modules/ibm_is_public_gateway_info.py +++ b/plugins/modules/ibm_is_public_gateway_info.py @@ -15,20 +15,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_public_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - Public gateway Name - required: True - type: str resource_group: description: - Public gateway resource group info required: False type: str + name: + description: + - Public gateway Name + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -67,8 +67,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group', + 'name', ] @@ -79,12 +79,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=True, - type='str'), resource_group=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_region_info.py b/plugins/modules/ibm_is_region_info.py index bd7340fbc..a11fc6f41 100644 --- a/plugins/modules/ibm_is_region_info.py +++ b/plugins/modules/ibm_is_region_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_region' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_region', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group.py b/plugins/modules/ibm_is_security_group.py index 2d04f4bb5..35bdfc881 100644 --- a/plugins/modules/ibm_is_security_group.py +++ b/plugins/modules/ibm_is_security_group.py @@ -16,10 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + name: + description: + - Security group name + required: False + type: str vpc: description: - (Required for new resource) Security group's resource group id @@ -30,11 +35,6 @@ - Resource Group ID required: False type: str - name: - description: - - Security group name - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -86,9 +86,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'vpc', 'resource_group', - 'name', ] # Params for Data source @@ -107,13 +107,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vpc=dict( + name=dict( required=False, type='str'), - resource_group=dict( + vpc=dict( required=False, type='str'), - name=dict( + resource_group=dict( required=False, type='str'), id=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_security_group_info.py b/plugins/modules/ibm_is_security_group_info.py index 80782657c..5b51e6e9d 100644 --- a/plugins/modules/ibm_is_security_group_info.py +++ b/plugins/modules/ibm_is_security_group_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_network_interface_attachment.py b/plugins/modules/ibm_is_security_group_network_interface_attachment.py index 06ac9780f..2a5c74945 100644 --- a/plugins/modules/ibm_is_security_group_network_interface_attachment.py +++ b/plugins/modules/ibm_is_security_group_network_interface_attachment.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_network_interface_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_is_security_group_network_interface_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_rule.py b/plugins/modules/ibm_is_security_group_rule.py index 040ce0551..412e0701c 100644 --- a/plugins/modules/ibm_is_security_group_rule.py +++ b/plugins/modules/ibm_is_security_group_rule.py @@ -16,32 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - group: - description: - - (Required for new resource) Security group id - required: True - type: str ip_version: description: - IP version: ipv4 or ipv6 required: False type: str default: ipv4 - udp: - description: - - protocol=udp - required: False - type: list - elements: dict - direction: - description: - - (Required for new resource) Direction of traffic to enforce, either inbound or outbound - required: True - type: str remote: description: - Security group id: an IP address, a CIDR block, or a single security group identifier @@ -59,6 +43,22 @@ required: False type: list elements: dict + udp: + description: + - protocol=udp + required: False + type: list + elements: dict + group: + description: + - (Required for new resource) Security group id + required: True + type: str + direction: + description: + - (Required for new resource) Direction of traffic to enforce, either inbound or outbound + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,13 +111,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'group', 'ip_version', - 'udp', - 'direction', 'remote', 'icmp', 'tcp', + 'udp', + 'group', + 'direction', ] # Params for Data source @@ -128,28 +128,18 @@ ] TL_CONFLICTS_MAP = { - 'udp': ['tcp', 'icmp'], 'icmp': ['tcp', 'udp'], 'tcp': ['udp', 'icmp'], + 'udp': ['tcp', 'icmp'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - group=dict( - required=False, - type='str'), ip_version=dict( required=False, type='str'), - udp=dict( - required=False, - elements='', - type='list'), - direction=dict( - required=False, - type='str'), remote=dict( required=False, type='str'), @@ -161,6 +151,16 @@ required=False, elements='', type='list'), + udp=dict( + required=False, + elements='', + type='list'), + group=dict( + required=False, + type='str'), + direction=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_is_security_group_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ssh_key.py b/plugins/modules/ibm_is_ssh_key.py index 711f284e3..1574a270c 100644 --- a/plugins/modules/ibm_is_ssh_key.py +++ b/plugins/modules/ibm_is_ssh_key.py @@ -16,20 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) SSH Key name - required: True - type: str - public_key: - description: - - (Required for new resource) SSH Public key data - required: True - type: str tags: description: - List of tags for SSH key @@ -41,6 +31,16 @@ - Resource group ID required: False type: str + name: + description: + - (Required for new resource) SSH Key name + required: True + type: str + public_key: + description: + - (Required for new resource) SSH Public key data + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,10 +93,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'public_key', 'tags', 'resource_group', + 'name', + 'public_key', ] # Params for Data source @@ -115,12 +115,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - public_key=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -128,6 +122,12 @@ resource_group=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + public_key=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -214,7 +214,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_ssh_key_info.py b/plugins/modules/ibm_is_ssh_key_info.py index da3de0ce9..158d4b7a8 100644 --- a/plugins/modules/ibm_is_ssh_key_info.py +++ b/plugins/modules/ibm_is_ssh_key_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ssh_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet.py b/plugins/modules/ibm_is_subnet.py index f96b97ae7..ee630a1f0 100644 --- a/plugins/modules/ibm_is_subnet.py +++ b/plugins/modules/ibm_is_subnet.py @@ -16,34 +16,23 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - resource_group: - description: - - The resource group for this subnet - required: False - type: str - ip_version: - description: - - The IP version(s) to support for this subnet. - required: False - type: str - default: ipv4 network_acl: description: - The network ACL for this subnet required: False type: str - public_gateway: + total_ipv4_address_count: description: - - Public Gateway of the subnet + - The total number of IPv4 addresses in this subnet. required: False - type: str - zone: + type: int + name: description: - - (Required for new resource) Subnet zone info + - (Required for new resource) Subnet name required: True type: str ipv4_cidr_block: @@ -56,21 +45,32 @@ - (Required for new resource) VPC instance ID required: True type: str - routing_table: + ip_version: description: - - routing table id that is associated with the subnet + - The IP version(s) to support for this subnet. required: False type: str - total_ipv4_address_count: + default: ipv4 + public_gateway: description: - - The total number of IPv4 addresses in this subnet. + - Public Gateway of the subnet required: False - type: int - name: + type: str + zone: description: - - (Required for new resource) Subnet name + - (Required for new resource) Subnet zone info required: True type: str + resource_group: + description: + - The resource group for this subnet + required: False + type: str + routing_table: + description: + - routing table id that is associated with the subnet + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,23 +117,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone', 'str'), - ('vpc', 'str'), ('name', 'str'), + ('vpc', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', - 'ip_version', 'network_acl', - 'public_gateway', - 'zone', + 'total_ipv4_address_count', + 'name', 'ipv4_cidr_block', 'vpc', + 'ip_version', + 'public_gateway', + 'zone', + 'resource_group', 'routing_table', - 'total_ipv4_address_count', - 'name', ] # Params for Data source @@ -141,47 +141,47 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { - 'ipv4_cidr_block': ['total_ipv4_address_count'], 'total_ipv4_address_count': ['ipv4_cidr_block'], + 'ipv4_cidr_block': ['total_ipv4_address_count'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( + network_acl=dict( required=False, type='str'), - ip_version=dict( + total_ipv4_address_count=dict( required=False, - type='str'), - network_acl=dict( + type='int'), + name=dict( required=False, type='str'), - public_gateway=dict( + ipv4_cidr_block=dict( required=False, type='str'), - zone=dict( + vpc=dict( required=False, type='str'), - ipv4_cidr_block=dict( + ip_version=dict( required=False, type='str'), - vpc=dict( + public_gateway=dict( required=False, type='str'), - routing_table=dict( + zone=dict( required=False, type='str'), - total_ipv4_address_count=dict( + resource_group=dict( required=False, - type='int'), - name=dict( + type='str'), + routing_table=dict( required=False, type='str'), id=dict( @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_subnet_info.py b/plugins/modules/ibm_is_subnet_info.py index fce59bd84..bad84e636 100644 --- a/plugins/modules/ibm_is_subnet_info.py +++ b/plugins/modules/ibm_is_subnet_info.py @@ -15,16 +15,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: + identifier: description: - None required: False type: str - identifier: + name: description: - None required: False @@ -66,8 +66,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'identifier', + 'name', ] @@ -78,10 +78,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + identifier=dict( required=False, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_network_acl_attachment.py b/plugins/modules/ibm_is_subnet_network_acl_attachment.py index f2cb3f174..93cf160d5 100644 --- a/plugins/modules/ibm_is_subnet_network_acl_attachment.py +++ b/plugins/modules/ibm_is_subnet_network_acl_attachment.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_network_acl_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_is_subnet_network_acl_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnets_info.py b/plugins/modules/ibm_is_subnets_info.py index 8424f913b..baa619753 100644 --- a/plugins/modules/ibm_is_subnets_info.py +++ b/plugins/modules/ibm_is_subnets_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_subnets', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway.py b/plugins/modules/ibm_is_virtual_endpoint_gateway.py index 973f922ce..5849ec62f 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Endpoint gateway name - required: True - type: str tags: description: - List of tags for VPE @@ -36,6 +31,16 @@ - The resource group id required: False type: str + vpc: + description: + - (Required for new resource) The VPC id + required: True + type: str + name: + description: + - (Required for new resource) Endpoint gateway name + required: True + type: str ips: description: - Endpoint gateway resource group @@ -48,11 +53,6 @@ required: True type: list elements: dict - vpc: - description: - - (Required for new resource) The VPC id - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,19 +99,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('vpc', 'str'), ('name', 'str'), ('target', 'list'), - ('vpc', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'tags', 'resource_group', + 'vpc', + 'name', 'ips', 'target', - 'vpc', ] # Params for Data source @@ -130,9 +130,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -140,6 +137,12 @@ resource_group=dict( required=False, type='str'), + vpc=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), ips=dict( required=False, elements='', @@ -148,9 +151,6 @@ required=False, elements='', type='list'), - vpc=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py b/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py index 39e7c598c..d5519c8bf 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py b/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py index 80fc16aa2..8c7a351f5 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_virtual_endpoint_gateway_ip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py b/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py index c2b3e6b0b..db96f26cd 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateway_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py b/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py index fcb6575f3..9108e9d8b 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volume.py b/plugins/modules/ibm_is_volume.py index 0bbd4ba14..f561f49fb 100644 --- a/plugins/modules/ibm_is_volume.py +++ b/plugins/modules/ibm_is_volume.py @@ -16,24 +16,19 @@ - Create, update or destroy an IBM Cloud 'ibm_is_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - zone: - description: - - (Required for new resource) Zone name - required: True - type: str tags: description: - Tags for the volume instance required: False type: list elements: str - profile: + name: description: - - (Required for new resource) Vloume profile name + - (Required for new resource) Volume name required: True type: str encryption_key: @@ -47,9 +42,14 @@ required: False type: int default: 100 - name: + zone: description: - - (Required for new resource) Volume name + - (Required for new resource) Zone name + required: True + type: str + profile: + description: + - (Required for new resource) Vloume profile name required: True type: str resource_group: @@ -108,19 +108,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('zone', 'str'), ('profile', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', 'tags', - 'profile', + 'name', 'encryption_key', 'capacity', - 'name', + 'zone', + 'profile', 'resource_group', 'iops', ] @@ -142,14 +142,11 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - zone=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - profile=dict( + name=dict( required=False, type='str'), encryption_key=dict( @@ -158,7 +155,10 @@ capacity=dict( required=False, type='int'), - name=dict( + zone=dict( + required=False, + type='str'), + profile=dict( required=False, type='str'), resource_group=dict( @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_volume_info.py b/plugins/modules/ibm_is_volume_info.py index 7ffaa515a..581eae4f0 100644 --- a/plugins/modules/ibm_is_volume_info.py +++ b/plugins/modules/ibm_is_volume_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc.py b/plugins/modules/ibm_is_vpc.py index 122001934..2ff4ecea8 100644 --- a/plugins/modules/ibm_is_vpc.py +++ b/plugins/modules/ibm_is_vpc.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,29 +25,29 @@ - Resource group info required: False type: str - address_prefix_management: + tags: description: - - Address Prefix management value + - List of tags required: False - type: str - default: auto - name: - description: - - (Required for new resource) VPC name - required: True - type: str + type: list + elements: str classic_access: description: - Set to true if classic access needs to enabled to VPC required: False type: bool default: False - tags: + name: description: - - List of tags + - (Required for new resource) VPC name + required: True + type: str + address_prefix_management: + description: + - Address Prefix management value required: False - type: list - elements: str + type: str + default: auto id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,10 +100,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group', - 'address_prefix_management', - 'name', - 'classic_access', 'tags', + 'classic_access', + 'name', + 'address_prefix_management', ] # Params for Data source @@ -125,19 +125,19 @@ resource_group=dict( required=False, type='str'), - address_prefix_management=dict( - required=False, - type='str'), - name=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), classic_access=dict( required=False, type='bool'), - tags=dict( + name=dict( required=False, - elements='', - type='list'), + type='str'), + address_prefix_management=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpc_address_prefix.py b/plugins/modules/ibm_is_vpc_address_prefix.py index 5b5612211..393b2c3be 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix.py +++ b/plugins/modules/ibm_is_vpc_address_prefix.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_address_prefix' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - vpc: - description: - - (Required for new resource) VPC id - required: True - type: str name: description: - (Required for new resource) Name @@ -40,6 +35,11 @@ - (Required for new resource) CIDIR address prefix required: True type: str + vpc: + description: + - (Required for new resource) VPC id + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -86,18 +86,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vpc', 'str'), ('name', 'str'), ('zone', 'str'), ('cidr', 'str'), + ('vpc', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc', 'name', 'zone', 'cidr', + 'vpc', ] # Params for Data source @@ -114,9 +114,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vpc=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -126,6 +123,9 @@ cidr=dict( required=False, type='str'), + vpc=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_default_routing_table_info.py b/plugins/modules/ibm_is_vpc_default_routing_table_info.py index d2fd45cfe..16da8ba4e 100644 --- a/plugins/modules/ibm_is_vpc_default_routing_table_info.py +++ b/plugins/modules/ibm_is_vpc_default_routing_table_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_default_routing_table' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_vpc_default_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_info.py b/plugins/modules/ibm_is_vpc_info.py index bbed676f7..c1c916024 100644 --- a/plugins/modules/ibm_is_vpc_info.py +++ b/plugins/modules/ibm_is_vpc_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_route.py b/plugins/modules/ibm_is_vpc_route.py index 3eeb3dcc3..9c5d95d35 100644 --- a/plugins/modules/ibm_is_vpc_route.py +++ b/plugins/modules/ibm_is_vpc_route.py @@ -16,10 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_route' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + vpc: + description: + - (Required for new resource) VPC instance ID + required: True + type: str next_hop: description: - (Required for new resource) VPC route next hop value @@ -40,11 +45,6 @@ - (Required for new resource) VPC route destination CIDR value required: True type: str - vpc: - description: - - (Required for new resource) VPC instance ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,20 +91,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('vpc', 'str'), ('next_hop', 'str'), ('name', 'str'), ('zone', 'str'), ('destination', 'str'), - ('vpc', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'vpc', 'next_hop', 'name', 'zone', 'destination', - 'vpc', ] # Params for Data source @@ -121,6 +121,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + vpc=dict( + required=False, + type='str'), next_hop=dict( required=False, type='str'), @@ -133,9 +136,6 @@ destination=dict( required=False, type='str'), - vpc=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_is_vpc_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_table.py b/plugins/modules/ibm_is_vpc_routing_table.py index 194769612..a67e80bd0 100644 --- a/plugins/modules/ibm_is_vpc_routing_table.py +++ b/plugins/modules/ibm_is_vpc_routing_table.py @@ -16,24 +16,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - route_transit_gateway_ingress: - description: - - If set to true, this routing table will be used to route traffic that originates from Transit Gateway to this VPC. - required: False - type: bool - default: False vpc: description: - (Required for new resource) The VPC identifier. required: True type: str - route_direct_link_ingress: + route_transit_gateway_ingress: description: - - If set to true, this routing table will be used to route traffic that originates from Direct Link to this VPC. + - If set to true, this routing table will be used to route traffic that originates from Transit Gateway to this VPC. required: False type: bool default: False @@ -48,6 +42,12 @@ - The user-defined name for this routing table. required: False type: str + route_direct_link_ingress: + description: + - If set to true, this routing table will be used to route traffic that originates from Direct Link to this VPC. + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,11 +99,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'route_transit_gateway_ingress', 'vpc', - 'route_direct_link_ingress', + 'route_transit_gateway_ingress', 'route_vpc_zone_ingress', 'name', + 'route_direct_link_ingress', ] # Params for Data source @@ -120,13 +120,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - route_transit_gateway_ingress=dict( - required=False, - type='bool'), vpc=dict( required=False, type='str'), - route_direct_link_ingress=dict( + route_transit_gateway_ingress=dict( required=False, type='bool'), route_vpc_zone_ingress=dict( @@ -135,6 +132,9 @@ name=dict( required=False, type='str'), + route_direct_link_ingress=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_table_route.py b/plugins/modules/ibm_is_vpc_routing_table_route.py index 86bca4c45..b2c00f354 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route.py @@ -16,39 +16,33 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table_route' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - action: - description: - - The action to perform with a packet matching the route. - required: False - type: str - default: deliver routing_table: description: - (Required for new resource) The routing table identifier. required: True type: str - zone: + vpc: description: - - (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. + - (Required for new resource) The VPC identifier. required: True type: str - next_hop: + destination: description: - - (Required for new resource) If action is deliver, the next hop that packets will be delivered to. For other action values, its address will be 0.0.0.0. + - (Required for new resource) The destination of the route. required: True type: str - vpc: + zone: description: - - (Required for new resource) The VPC identifier. + - (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. required: True type: str - destination: + next_hop: description: - - (Required for new resource) The destination of the route. + - (Required for new resource) If action is deliver, the next hop that packets will be delivered to. For other action values, its address will be 0.0.0.0. required: True type: str name: @@ -56,6 +50,12 @@ - The user-defined name for this route. required: False type: str + action: + description: + - The action to perform with a packet matching the route. + required: False + type: str + default: deliver id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,21 +103,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('routing_table', 'str'), - ('zone', 'str'), - ('next_hop', 'str'), ('vpc', 'str'), ('destination', 'str'), + ('zone', 'str'), + ('next_hop', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'action', 'routing_table', - 'zone', - 'next_hop', 'vpc', 'destination', + 'zone', + 'next_hop', 'name', + 'action', ] # Params for Data source @@ -134,27 +134,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - action=dict( - required=False, - type='str'), routing_table=dict( required=False, type='str'), - zone=dict( + vpc=dict( required=False, type='str'), - next_hop=dict( + destination=dict( required=False, type='str'), - vpc=dict( + zone=dict( required=False, type='str'), - destination=dict( + next_hop=dict( required=False, type='str'), name=dict( required=False, type='str'), + action=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_table_routes_info.py b/plugins/modules/ibm_is_vpc_routing_table_routes_info.py index cb0ecf1a3..376d4562e 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_routes_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_routes_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - vpc: + routing_table: description: - - VPC identifier + - Routing table identifier required: True type: str - routing_table: + vpc: description: - - Routing table identifier + - VPC identifier required: True type: str generation: @@ -62,14 +62,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vpc', 'str'), ('routing_table', 'str'), + ('vpc', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc', 'routing_table', + 'vpc', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vpc=dict( + routing_table=dict( required=True, type='str'), - routing_table=dict( + vpc=dict( required=True, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_tables_info.py b/plugins/modules/ibm_is_vpc_routing_tables_info.py index 3af615604..7d7184a1d 100644 --- a/plugins/modules/ibm_is_vpc_routing_tables_info.py +++ b/plugins/modules/ibm_is_vpc_routing_tables_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_tables' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_tables', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway.py b/plugins/modules/ibm_is_vpn_gateway.py index 41b18adf7..9f7a9db53 100644 --- a/plugins/modules/ibm_is_vpn_gateway.py +++ b/plugins/modules/ibm_is_vpn_gateway.py @@ -16,37 +16,37 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + mode: + description: + - mode in VPN gateway(route/policy) + required: False + type: str + default: route name: description: - (Required for new resource) VPN Gateway instance name required: True type: str + subnet: + description: + - (Required for new resource) VPNGateway subnet info + required: True + type: str tags: description: - VPN Gateway tags list required: False type: list elements: str - mode: - description: - - mode in VPN gateway(route/policy) - required: False - type: str - default: route resource_group: description: - The resource group for this VPN gateway required: False type: str - subnet: - description: - - (Required for new resource) VPNGateway subnet info - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,11 +99,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'mode', 'name', + 'subnet', 'tags', - 'mode', 'resource_group', - 'subnet', ] # Params for Data source @@ -120,22 +120,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + mode=dict( + required=False, + type='str'), name=dict( required=False, type='str'), + subnet=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - mode=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), - subnet=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway_connection.py b/plugins/modules/ibm_is_vpn_gateway_connection.py index 845d9aef1..c4503c5b0 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection.py @@ -16,76 +16,76 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - peer_cidrs: - description: - - VPN gateway connection peer CIDRs - required: False - type: list - elements: str - ipsec_policy: + admin_state_up: description: - - IP security policy for vpn gateway connection + - VPN gateway connection admin state required: False - type: str - name: - description: - - (Required for new resource) VPN Gateway connection name - required: True - type: str + type: bool + default: False vpn_gateway: description: - (Required for new resource) VPN Gateway info required: True type: str - admin_state_up: + ike_policy: description: - - VPN gateway connection admin state + - VPN gateway connection IKE Policy required: False - type: bool - default: False - local_cidrs: + type: str + timeout: description: - - VPN gateway connection local CIDRs + - Timeout for dead peer detection required: False - type: list - elements: str + type: int + default: 10 + ipsec_policy: + description: + - IP security policy for vpn gateway connection + required: False + type: str peer_address: description: - (Required for new resource) VPN gateway connection peer address required: True type: str - preshared_key: + local_cidrs: description: - - (Required for new resource) vpn gateway - required: True - type: str + - VPN gateway connection local CIDRs + required: False + type: list + elements: str action: description: - Action detection for dead peer detection action required: False type: str default: restart - timeout: + interval: description: - - Timeout for dead peer detection + - Interval for dead peer detection interval required: False type: int - default: 10 - ike_policy: + default: 2 + name: description: - - VPN gateway connection IKE Policy - required: False + - (Required for new resource) VPN Gateway connection name + required: True type: str - interval: + preshared_key: description: - - Interval for dead peer detection interval + - (Required for new resource) vpn gateway + required: True + type: str + peer_cidrs: + description: + - VPN gateway connection peer CIDRs required: False - type: int - default: 2 + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -132,26 +132,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('vpn_gateway', 'str'), ('peer_address', 'str'), + ('name', 'str'), ('preshared_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'peer_cidrs', - 'ipsec_policy', - 'name', - 'vpn_gateway', 'admin_state_up', - 'local_cidrs', + 'vpn_gateway', + 'ike_policy', + 'timeout', + 'ipsec_policy', 'peer_address', - 'preshared_key', + 'local_cidrs', 'action', - 'timeout', - 'ike_policy', 'interval', + 'name', + 'preshared_key', + 'peer_cidrs', ] # Params for Data source @@ -168,44 +168,44 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - peer_cidrs=dict( + admin_state_up=dict( required=False, - elements='', - type='list'), - ipsec_policy=dict( + type='bool'), + vpn_gateway=dict( required=False, type='str'), - name=dict( + ike_policy=dict( required=False, type='str'), - vpn_gateway=dict( + timeout=dict( + required=False, + type='int'), + ipsec_policy=dict( required=False, type='str'), - admin_state_up=dict( + peer_address=dict( required=False, - type='bool'), + type='str'), local_cidrs=dict( required=False, elements='', type='list'), - peer_address=dict( - required=False, - type='str'), - preshared_key=dict( - required=False, - type='str'), action=dict( required=False, type='str'), - timeout=dict( + interval=dict( required=False, type='int'), - ike_policy=dict( + name=dict( required=False, type='str'), - interval=dict( + preshared_key=dict( required=False, - type='int'), + type='str'), + peer_cidrs=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -283,7 +283,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway_connections_info.py b/plugins/modules/ibm_is_vpn_gateway_connections_info.py index db61347cb..a9a1fe511 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connections_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_connections_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway_connections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connections', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateways_info.py b/plugins/modules/ibm_is_vpn_gateways_info.py index a188bdaec..817280601 100644 --- a/plugins/modules/ibm_is_vpn_gateways_info.py +++ b/plugins/modules/ibm_is_vpn_gateways_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_is_vpn_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_zone_info.py b/plugins/modules/ibm_is_zone_info.py index fe39a30ee..f1628d0fb 100644 --- a/plugins/modules/ibm_is_zone_info.py +++ b/plugins/modules/ibm_is_zone_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_zone' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_zones_info.py b/plugins/modules/ibm_is_zones_info.py index 4ef1489d5..043851a55 100644 --- a/plugins/modules/ibm_is_zones_info.py +++ b/plugins/modules/ibm_is_zones_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_is_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key.py b/plugins/modules/ibm_kms_key.py index 256837bb6..9b99a3bfd 100644 --- a/plugins/modules/ibm_kms_key.py +++ b/plugins/modules/ibm_kms_key.py @@ -16,26 +16,14 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - policies: - description: - - Creates or updates one or more policies for the specified key - required: False - type: list - elements: dict - standard_key: - description: - - Standard key type - required: False - type: bool - default: False - expiration_date: + key_name: description: - - The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire - required: False + - (Required for new resource) Key name + required: True type: str endpoint_type: description: @@ -43,22 +31,12 @@ required: False type: str default: public - encrypted_nonce: - description: - - Only for imported root key - required: False - type: str - key_name: - description: - - (Required for new resource) Key name - required: True - type: str payload: description: - None required: False type: str - iv_value: + encrypted_nonce: description: - Only for imported root key required: False @@ -69,11 +47,33 @@ required: False type: bool default: False + standard_key: + description: + - Standard key type + required: False + type: bool + default: False + iv_value: + description: + - Only for imported root key + required: False + type: str + policies: + description: + - Creates or updates one or more policies for the specified key + required: False + type: list + elements: dict instance_id: description: - (Required for new resource) Key protect or hpcs instance GUID required: True type: str + expiration_date: + description: + - The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -126,16 +126,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'policies', - 'standard_key', - 'expiration_date', - 'endpoint_type', - 'encrypted_nonce', 'key_name', + 'endpoint_type', 'payload', - 'iv_value', + 'encrypted_nonce', 'force_delete', + 'standard_key', + 'iv_value', + 'policies', 'instance_id', + 'expiration_date', ] # Params for Data source @@ -157,37 +157,37 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - policies=dict( - required=False, - elements='', - type='list'), - standard_key=dict( - required=False, - type='bool'), - expiration_date=dict( + key_name=dict( required=False, type='str'), endpoint_type=dict( required=False, type='str'), - encrypted_nonce=dict( + payload=dict( required=False, type='str'), - key_name=dict( + encrypted_nonce=dict( required=False, type='str'), - payload=dict( + force_delete=dict( required=False, - type='str'), + type='bool'), + standard_key=dict( + required=False, + type='bool'), iv_value=dict( required=False, type='str'), - force_delete=dict( + policies=dict( required=False, - type='bool'), + elements='', + type='list'), instance_id=dict( required=False, type='str'), + expiration_date=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kms_key_info.py b/plugins/modules/ibm_kms_key_info.py index 071ee9576..9a3ca8962 100644 --- a/plugins/modules/ibm_kms_key_info.py +++ b/plugins/modules/ibm_kms_key_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_keys_info.py b/plugins/modules/ibm_kms_keys_info.py index 96a4144ee..68527fc0d 100644 --- a/plugins/modules/ibm_kms_keys_info.py +++ b/plugins/modules/ibm_kms_keys_info.py @@ -15,16 +15,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - endpoint_type: - description: - - public or private - required: False - type: str - default: public instance_id: description: - Key protect or hpcs instance GUID @@ -35,6 +29,12 @@ - The name of the key to be fetched required: False type: str + endpoint_type: + description: + - public or private + required: False + type: str + default: public iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'endpoint_type', 'instance_id', 'key_name', + 'endpoint_type', ] @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - endpoint_type=dict( - required=False, - type='str'), instance_id=dict( required=True, type='str'), key_name=dict( required=False, type='str'), + endpoint_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_kms_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kp_key.py b/plugins/modules/ibm_kp_key.py index 933916bbc..925469c10 100644 --- a/plugins/modules/ibm_kp_key.py +++ b/plugins/modules/ibm_kp_key.py @@ -16,47 +16,47 @@ - Create, update or destroy an IBM Cloud 'ibm_kp_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - key_name: + key_protect_id: description: - - (Required for new resource) Key name + - (Required for new resource) Key protect instance ID required: True type: str - force_delete: - description: - - set to true to force delete the key - required: False - type: bool - default: False encrypted_nonce: description: - Only for imported root key required: False type: str - key_protect_id: + key_name: description: - - (Required for new resource) Key protect instance ID + - (Required for new resource) Key name required: True type: str - standard_key: + force_delete: description: - - Standard key type + - set to true to force delete the key required: False type: bool default: False + payload: + description: + - None + required: False + type: str iv_value: description: - Only for imported root key required: False type: str - payload: + standard_key: description: - - None + - Standard key type required: False - type: str + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,19 +103,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('key_name', 'str'), ('key_protect_id', 'str'), + ('key_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'key_protect_id', + 'encrypted_nonce', 'key_name', 'force_delete', - 'encrypted_nonce', - 'key_protect_id', - 'standard_key', - 'iv_value', 'payload', + 'iv_value', + 'standard_key', ] # Params for Data source @@ -135,27 +135,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - key_name=dict( + key_protect_id=dict( required=False, type='str'), - force_delete=dict( - required=False, - type='bool'), encrypted_nonce=dict( required=False, type='str'), - key_protect_id=dict( + key_name=dict( required=False, type='str'), - standard_key=dict( + force_delete=dict( required=False, type='bool'), - iv_value=dict( + payload=dict( required=False, type='str'), - payload=dict( + iv_value=dict( required=False, type='str'), + standard_key=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -221,7 +221,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kp_key_info.py b/plugins/modules/ibm_kp_key_info.py index 87ee85a98..f21f4e2d4 100644 --- a/plugins/modules/ibm_kp_key_info.py +++ b/plugins/modules/ibm_kp_key_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_kp_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb.py b/plugins/modules/ibm_lb.py index 1e4fd4eba..5bfe8336c 100644 --- a/plugins/modules/ibm_lb.py +++ b/plugins/modules/ibm_lb.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_lb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - tags: - description: - - Tags associated with resource - required: False - type: list - elements: str connections: description: - (Required for new resource) Connections value @@ -43,6 +37,12 @@ required: False type: bool default: False + tags: + description: + - Tags associated with resource + required: False + type: list + elements: str datacenter: description: - (Required for new resource) Datacenter name info @@ -111,10 +111,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'connections', 'dedicated', 'ssl_offload', + 'tags', 'datacenter', 'ha_enabled', 'security_certificate_id', @@ -134,10 +134,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), connections=dict( required=False, type='int'), @@ -147,6 +143,10 @@ ssl_offload=dict( required=False, type='bool'), + tags=dict( + required=False, + elements='', + type='list'), datacenter=dict( required=False, type='str'), @@ -221,7 +221,7 @@ def run_module(): resource_type='ibm_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_service.py b/plugins/modules/ibm_lb_service.py index 232e4feb4..2e35d4962 100644 --- a/plugins/modules/ibm_lb_service.py +++ b/plugins/modules/ibm_lb_service.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_service' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_lb_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_service_group.py b/plugins/modules/ibm_lb_service_group.py index bfde50bfc..9d85255d3 100644 --- a/plugins/modules/ibm_lb_service_group.py +++ b/plugins/modules/ibm_lb_service_group.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_service_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,11 +25,6 @@ - (Required for new resource) Loadbalancer ID required: True type: int - allocation: - description: - - (Required for new resource) Allocation type - required: True - type: int routing_method: description: - (Required for new resource) Routing method @@ -40,21 +35,26 @@ - (Required for new resource) Routing type required: True type: str + timeout: + description: + - Timeout value + required: False + type: int tags: description: - List of tags required: False type: list elements: str - port: + allocation: description: - - (Required for new resource) Port number + - (Required for new resource) Allocation type required: True type: int - timeout: + port: description: - - Timeout value - required: False + - (Required for new resource) Port number + required: True type: int id: description: @@ -103,21 +103,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('load_balancer_id', 'int'), - ('allocation', 'int'), ('routing_method', 'str'), ('routing_type', 'str'), + ('allocation', 'int'), ('port', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'load_balancer_id', - 'allocation', 'routing_method', 'routing_type', + 'timeout', 'tags', + 'allocation', 'port', - 'timeout', ] # Params for Data source @@ -137,23 +137,23 @@ load_balancer_id=dict( required=False, type='int'), - allocation=dict( - required=False, - type='int'), routing_method=dict( required=False, type='str'), routing_type=dict( required=False, type='str'), + timeout=dict( + required=False, + type='int'), tags=dict( required=False, elements='', type='list'), - port=dict( + allocation=dict( required=False, type='int'), - timeout=dict( + port=dict( required=False, type='int'), id=dict( @@ -221,7 +221,7 @@ def run_module(): resource_type='ibm_lb_service_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx.py b/plugins/modules/ibm_lb_vpx.py index e9c14b881..9529019a5 100644 --- a/plugins/modules/ibm_lb_vpx.py +++ b/plugins/modules/ibm_lb_vpx.py @@ -16,10 +16,20 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + speed: + description: + - (Required for new resource) Speed value + required: True + type: int + version: + description: + - (Required for new resource) version info + required: True + type: str private_subnet: description: - Private subnet @@ -30,35 +40,30 @@ - Piblic VLAN id required: False type: int + public_subnet: + description: + - Public subnet + required: False + type: str tags: description: - List of the tags required: False type: list elements: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - public_subnet: - description: - - Public subnet - required: False - type: str private_vlan_id: description: - Private VLAN id required: False type: int - speed: + datacenter: description: - - (Required for new resource) Speed value + - (Required for new resource) Datacenter name required: True - type: int - version: + type: str + plan: description: - - (Required for new resource) version info + - (Required for new resource) Plan info required: True type: str ip_count: @@ -66,11 +71,6 @@ - (Required for new resource) IP address count required: True type: int - plan: - description: - - (Required for new resource) Plan info - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,25 +117,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), ('speed', 'int'), ('version', 'str'), - ('ip_count', 'int'), + ('datacenter', 'str'), ('plan', 'str'), + ('ip_count', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'speed', + 'version', 'private_subnet', 'public_vlan_id', - 'tags', - 'datacenter', 'public_subnet', + 'tags', 'private_vlan_id', - 'speed', - 'version', - 'ip_count', + 'datacenter', 'plan', + 'ip_count', ] # Params for Data source @@ -152,37 +152,37 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + speed=dict( + required=False, + type='int'), + version=dict( + required=False, + type='str'), private_subnet=dict( required=False, type='str'), public_vlan_id=dict( required=False, type='int'), + public_subnet=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - datacenter=dict( - required=False, - type='str'), - public_subnet=dict( - required=False, - type='str'), private_vlan_id=dict( required=False, type='int'), - speed=dict( + datacenter=dict( required=False, - type='int'), - version=dict( + type='str'), + plan=dict( required=False, type='str'), ip_count=dict( required=False, type='int'), - plan=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -248,7 +248,7 @@ def run_module(): resource_type='ibm_lb_vpx', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx_ha.py b/plugins/modules/ibm_lb_vpx_ha.py index 994576e07..974ec78f1 100644 --- a/plugins/modules/ibm_lb_vpx_ha.py +++ b/plugins/modules/ibm_lb_vpx_ha.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx_ha' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_lb_vpx_ha', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx_service.py b/plugins/modules/ibm_lb_vpx_service.py index 3aec506ef..bac0887e7 100644 --- a/plugins/modules/ibm_lb_vpx_service.py +++ b/plugins/modules/ibm_lb_vpx_service.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx_service' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -26,17 +26,37 @@ required: False type: list elements: str + vip_id: + description: + - (Required for new resource) VIP id + required: True + type: str + weight: + description: + - (Required for new resource) Weight value + required: True + type: int health_check: description: - (Required for new resource) Health check info required: True type: str + connection_limit: + description: + - (Required for new resource) Number of connections limit + required: True + type: int usip: description: - usip info required: False type: str default: NO + name: + description: + - (Required for new resource) name + required: True + type: str destination_ip_address: description: - (Required for new resource) Destination IP Address @@ -47,26 +67,6 @@ - (Required for new resource) Destination Port number required: True type: int - weight: - description: - - (Required for new resource) Weight value - required: True - type: int - connection_limit: - description: - - (Required for new resource) Number of connections limit - required: True - type: int - vip_id: - description: - - (Required for new resource) VIP id - required: True - type: str - name: - description: - - (Required for new resource) name - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,26 +113,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('health_check', 'str'), - ('destination_ip_address', 'str'), - ('destination_port', 'int'), + ('vip_id', 'str'), ('weight', 'int'), + ('health_check', 'str'), ('connection_limit', 'int'), - ('vip_id', 'str'), ('name', 'str'), + ('destination_ip_address', 'str'), + ('destination_port', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'tags', + 'vip_id', + 'weight', 'health_check', + 'connection_limit', 'usip', + 'name', 'destination_ip_address', 'destination_port', - 'weight', - 'connection_limit', - 'vip_id', - 'name', ] # Params for Data source @@ -153,30 +153,30 @@ required=False, elements='', type='list'), - health_check=dict( - required=False, - type='str'), - usip=dict( - required=False, - type='str'), - destination_ip_address=dict( + vip_id=dict( required=False, type='str'), - destination_port=dict( - required=False, - type='int'), weight=dict( required=False, type='int'), + health_check=dict( + required=False, + type='str'), connection_limit=dict( required=False, type='int'), - vip_id=dict( + usip=dict( required=False, type='str'), name=dict( required=False, type='str'), + destination_ip_address=dict( + required=False, + type='str'), + destination_port=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_lb_vpx_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx_vip.py b/plugins/modules/ibm_lb_vpx_vip.py index ba03a3210..e7b6a9e63 100644 --- a/plugins/modules/ibm_lb_vpx_vip.py +++ b/plugins/modules/ibm_lb_vpx_vip.py @@ -16,56 +16,56 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx_vip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name - required: True - type: str - type: + security_certificate_id: description: - - (Required for new resource) Type - required: True - type: str + - security certificate ID + required: False + type: int virtual_ip_address: description: - (Required for new resource) Virtual IP address required: True type: str + tags: + description: + - List of tags + required: False + type: list + elements: str + nad_controller_id: + description: + - (Required for new resource) NAD controller ID + required: True + type: int load_balancing_method: description: - (Required for new resource) Load balancing method required: True type: str - persistence: + name: description: - - Persistance value - required: False + - (Required for new resource) Name + required: True type: str source_port: description: - (Required for new resource) Source Port number required: True type: int - security_certificate_id: - description: - - security certificate ID - required: False - type: int - tags: + persistence: description: - - List of tags + - Persistance value required: False - type: list - elements: str - nad_controller_id: + type: str + type: description: - - (Required for new resource) NAD controller ID + - (Required for new resource) Type required: True - type: int + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -112,25 +112,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('type', 'str'), ('virtual_ip_address', 'str'), + ('nad_controller_id', 'int'), ('load_balancing_method', 'str'), + ('name', 'str'), ('source_port', 'int'), - ('nad_controller_id', 'int'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'type', - 'virtual_ip_address', - 'load_balancing_method', - 'persistence', - 'source_port', 'security_certificate_id', + 'virtual_ip_address', 'tags', 'nad_controller_id', + 'load_balancing_method', + 'name', + 'source_port', + 'persistence', + 'type', ] # Params for Data source @@ -147,34 +147,34 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - type=dict( + security_certificate_id=dict( required=False, - type='str'), + type='int'), virtual_ip_address=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + nad_controller_id=dict( + required=False, + type='int'), load_balancing_method=dict( required=False, type='str'), - persistence=dict( + name=dict( required=False, type='str'), source_port=dict( required=False, type='int'), - security_certificate_id=dict( - required=False, - type='int'), - tags=dict( + persistence=dict( required=False, - elements='', - type='list'), - nad_controller_id=dict( + type='str'), + type=dict( required=False, - type='int'), + type='str'), id=dict( required=False, type='str'), @@ -240,7 +240,7 @@ def run_module(): resource_type='ibm_lb_vpx_vip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lbaas.py b/plugins/modules/ibm_lbaas.py index f25aa695c..bf470180e 100644 --- a/plugins/modules/ibm_lbaas.py +++ b/plugins/modules/ibm_lbaas.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -26,27 +26,17 @@ required: False type: str default: PUBLIC - name: - description: - - (Required for new resource) The load balancer's name. - required: True - type: str - wait_time_minutes: - description: - - None - required: False - type: int - default: 90 - description: - description: - - Description of a load balancer. - required: False - type: str use_system_public_ip_pool: description: - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet." required: False type: bool + subnets: + description: + - (Required for new resource) The subnet where this Load Balancer will be provisioned. + required: True + type: list + elements: int protocols: description: - Protocols to be assigned to this load balancer. @@ -59,12 +49,22 @@ required: False type: list elements: str - subnets: + name: description: - - (Required for new resource) The subnet where this Load Balancer will be provisioned. + - (Required for new resource) The load balancer's name. required: True - type: list - elements: int + type: str + description: + description: + - Description of a load balancer. + required: False + type: str + wait_time_minutes: + description: + - None + required: False + type: int + default: 90 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,20 +111,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('subnets', 'list'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'type', - 'name', - 'wait_time_minutes', - 'description', 'use_system_public_ip_pool', + 'subnets', 'protocols', 'ssl_ciphers', - 'subnets', + 'name', + 'description', + 'wait_time_minutes', ] # Params for Data source @@ -146,30 +146,30 @@ type=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), - wait_time_minutes=dict( - required=False, - type='int'), - description=dict( - required=False, - type='str'), use_system_public_ip_pool=dict( required=False, type='bool'), - protocols=dict( + subnets=dict( required=False, elements='', type='list'), - ssl_ciphers=dict( + protocols=dict( required=False, elements='', type='list'), - subnets=dict( + ssl_ciphers=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + wait_time_minutes=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_lbaas_health_monitor.py b/plugins/modules/ibm_lbaas_health_monitor.py index 59f8e60c3..384d11ff6 100644 --- a/plugins/modules/ibm_lbaas_health_monitor.py +++ b/plugins/modules/ibm_lbaas_health_monitor.py @@ -16,10 +16,31 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas_health_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + lbaas_id: + description: + - (Required for new resource) LBAAS id + required: True + type: str + protocol: + description: + - (Required for new resource) Protocol value + required: True + type: str + port: + description: + - (Required for new resource) Port number + required: True + type: int + interval: + description: + - Interval value + required: False + type: int + default: 5 max_retries: description: - Maximum retry counts @@ -43,27 +64,6 @@ - (Required for new resource) Monitor ID required: True type: str - lbaas_id: - description: - - (Required for new resource) LBAAS id - required: True - type: str - protocol: - description: - - (Required for new resource) Protocol value - required: True - type: str - port: - description: - - (Required for new resource) Port number - required: True - type: int - interval: - description: - - Interval value - required: False - type: int - default: 5 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,22 +110,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('monitor_id', 'str'), ('lbaas_id', 'str'), ('protocol', 'str'), ('port', 'int'), + ('monitor_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'max_retries', - 'timeout', - 'url_path', - 'monitor_id', 'lbaas_id', 'protocol', 'port', 'interval', + 'max_retries', + 'timeout', + 'url_path', + 'monitor_id', ] # Params for Data source @@ -142,18 +142,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - max_retries=dict( - required=False, - type='int'), - timeout=dict( - required=False, - type='int'), - url_path=dict( - required=False, - type='str'), - monitor_id=dict( - required=False, - type='str'), lbaas_id=dict( required=False, type='str'), @@ -166,6 +154,18 @@ interval=dict( required=False, type='int'), + max_retries=dict( + required=False, + type='int'), + timeout=dict( + required=False, + type='int'), + url_path=dict( + required=False, + type='str'), + monitor_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -231,7 +231,7 @@ def run_module(): resource_type='ibm_lbaas_health_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lbaas_info.py b/plugins/modules/ibm_lbaas_info.py index 860fdabe3..c2658cf20 100644 --- a/plugins/modules/ibm_lbaas_info.py +++ b/plugins/modules/ibm_lbaas_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_lbaas' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lbaas_server_instance_attachment.py b/plugins/modules/ibm_lbaas_server_instance_attachment.py index 2d27674ba..4a23f3162 100644 --- a/plugins/modules/ibm_lbaas_server_instance_attachment.py +++ b/plugins/modules/ibm_lbaas_server_instance_attachment.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas_server_instance_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -180,7 +180,7 @@ def run_module(): resource_type='ibm_lbaas_server_instance_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_multi_vlan_firewall.py b/plugins/modules/ibm_multi_vlan_firewall.py index 7edb9bd4b..b0d02ff78 100644 --- a/plugins/modules/ibm_multi_vlan_firewall.py +++ b/plugins/modules/ibm_multi_vlan_firewall.py @@ -16,20 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_multi_vlan_firewall' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - firewall_type: - description: - - (Required for new resource) Firewall type - required: True - type: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str pod: description: - (Required for new resource) POD name @@ -41,11 +31,21 @@ required: False type: list elements: str + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str name: description: - (Required for new resource) name required: True type: str + firewall_type: + description: + - (Required for new resource) Firewall type + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -92,19 +92,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('firewall_type', 'str'), - ('datacenter', 'str'), ('pod', 'str'), + ('datacenter', 'str'), ('name', 'str'), + ('firewall_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'firewall_type', - 'datacenter', 'pod', 'addon_configuration', + 'datacenter', 'name', + 'firewall_type', ] # Params for Data source @@ -121,12 +121,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - firewall_type=dict( - required=False, - type='str'), - datacenter=dict( - required=False, - type='str'), pod=dict( required=False, type='str'), @@ -134,9 +128,15 @@ required=False, elements='', type='list'), + datacenter=dict( + required=False, + type='str'), name=dict( required=False, type='str'), + firewall_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_multi_vlan_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_gateway.py b/plugins/modules/ibm_network_gateway.py index 4293b10ab..7243c3465 100644 --- a/plugins/modules/ibm_network_gateway.py +++ b/plugins/modules/ibm_network_gateway.py @@ -16,21 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_network_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - members: - description: - - (Required for new resource) The hardware members of this network Gateway - required: True - type: list - elements: dict - name: - description: - - (Required for new resource) The name of the gateway - required: True - type: str ssh_key_ids: description: - None @@ -42,6 +31,17 @@ - None required: False type: str + members: + description: + - (Required for new resource) The hardware members of this network Gateway + required: True + type: list + elements: dict + name: + description: + - (Required for new resource) The name of the gateway + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,10 +94,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'members', - 'name', 'ssh_key_ids', 'post_install_script_uri', + 'members', + 'name', ] # Params for Data source @@ -114,18 +114,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - members=dict( + ssh_key_ids=dict( required=False, elements='', type='list'), - name=dict( + post_install_script_uri=dict( required=False, type='str'), - ssh_key_ids=dict( + members=dict( required=False, elements='', type='list'), - post_install_script_uri=dict( + name=dict( required=False, type='str'), id=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_network_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_gateway_vlan_association.py b/plugins/modules/ibm_network_gateway_vlan_association.py index 4d4d8752d..7554a195a 100644 --- a/plugins/modules/ibm_network_gateway_vlan_association.py +++ b/plugins/modules/ibm_network_gateway_vlan_association.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_gateway_vlan_association' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -181,7 +181,7 @@ def run_module(): resource_type='ibm_network_gateway_vlan_association', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_interface_sg_attachment.py b/plugins/modules/ibm_network_interface_sg_attachment.py index 487cbc73e..8460eac9c 100644 --- a/plugins/modules/ibm_network_interface_sg_attachment.py +++ b/plugins/modules/ibm_network_interface_sg_attachment.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_interface_sg_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -181,7 +181,7 @@ def run_module(): resource_type='ibm_network_interface_sg_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_public_ip.py b/plugins/modules/ibm_network_public_ip.py index ef2bafeb7..cc48a45aa 100644 --- a/plugins/modules/ibm_network_public_ip.py +++ b/plugins/modules/ibm_network_public_ip.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_public_ip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -181,7 +181,7 @@ def run_module(): resource_type='ibm_network_public_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_vlan.py b/plugins/modules/ibm_network_vlan.py index ce04a548e..c5aa0f11a 100644 --- a/plugins/modules/ibm_network_vlan.py +++ b/plugins/modules/ibm_network_vlan.py @@ -16,15 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_network_vlan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - datacenter: + tags: description: - - (Required for new resource) Datacenter name - required: True - type: str + - List of tags + required: False + type: list + elements: str type: description: - (Required for new resource) VLAN type @@ -40,12 +41,11 @@ - router host name required: False type: str - tags: + datacenter: description: - - List of tags - required: False - type: list - elements: str + - (Required for new resource) Datacenter name + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -92,17 +92,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), ('type', 'str'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', + 'tags', 'type', 'name', 'router_hostname', - 'tags', + 'datacenter', ] # Params for Data source @@ -110,9 +110,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'number', 'router_hostname', - 'name', ] TL_CONFLICTS_MAP = { @@ -122,9 +122,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - datacenter=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), type=dict( required=False, type='str'), @@ -134,10 +135,9 @@ router_hostname=dict( required=False, type='str'), - tags=dict( + datacenter=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_network_vlan_info.py b/plugins/modules/ibm_network_vlan_info.py index f67d30410..d405049f4 100644 --- a/plugins/modules/ibm_network_vlan_info.py +++ b/plugins/modules/ibm_network_vlan_info.py @@ -15,21 +15,21 @@ description: - Retrieve an IBM Cloud 'ibm_network_vlan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - number: + name: description: - None required: False - type: int - router_hostname: + type: str + number: description: - None required: False - type: str - name: + type: int + router_hostname: description: - None required: False @@ -71,9 +71,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'number', 'router_hostname', - 'name', ] @@ -84,15 +84,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), number=dict( required=False, type='int'), router_hostname=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -127,7 +127,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_vlan_spanning.py b/plugins/modules/ibm_network_vlan_spanning.py index 0730078fd..9b075ab29 100644 --- a/plugins/modules/ibm_network_vlan_spanning.py +++ b/plugins/modules/ibm_network_vlan_spanning.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_vlan_spanning' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_network_vlan_spanning', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_object_storage_account.py b/plugins/modules/ibm_object_storage_account.py index 32e7986d1..7b2acb988 100644 --- a/plugins/modules/ibm_object_storage_account.py +++ b/plugins/modules/ibm_object_storage_account.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_object_storage_account' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_object_storage_account', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_org.py b/plugins/modules/ibm_org.py index 6cead0f80..0dca5a6d5 100644 --- a/plugins/modules/ibm_org.py +++ b/plugins/modules/ibm_org.py @@ -16,10 +16,21 @@ - Create, update or destroy an IBM Cloud 'ibm_org' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + org_quota_definition_guid: + description: + - Org quota guid + required: False + type: str + billing_managers: + description: + - The IBMID of the users who will have billing manager role in this org, ex - user@example.com + required: False + type: list + elements: str managers: description: - The IBMID of the users who will have manager role in this org, ex - user@example.com @@ -49,17 +60,6 @@ - (Required for new resource) Org name, for example myorg@domain required: True type: str - org_quota_definition_guid: - description: - - Org quota guid - required: False - type: str - billing_managers: - description: - - The IBMID of the users who will have billing manager role in this org, ex - user@example.com - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,13 +111,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'org_quota_definition_guid', + 'billing_managers', 'managers', 'auditors', 'users', 'tags', 'name', - 'org_quota_definition_guid', - 'billing_managers', ] # Params for Data source @@ -136,6 +136,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + org_quota_definition_guid=dict( + required=False, + type='str'), + billing_managers=dict( + required=False, + elements='', + type='list'), managers=dict( required=False, elements='', @@ -155,13 +162,6 @@ name=dict( required=False, type='str'), - org_quota_definition_guid=dict( - required=False, - type='str'), - billing_managers=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_org', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_org', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_org_info.py b/plugins/modules/ibm_org_info.py index fcdea0f31..dc0287a62 100644 --- a/plugins/modules/ibm_org_info.py +++ b/plugins/modules/ibm_org_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_org' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_org', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_org_quota_info.py b/plugins/modules/ibm_org_quota_info.py index 805f5742c..cbc3ec7c6 100644 --- a/plugins/modules/ibm_org_quota_info.py +++ b/plugins/modules/ibm_org_quota_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_org_quota' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_org_quota', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_capture.py b/plugins/modules/ibm_pi_capture.py index 875a83b0e..484406f5a 100644 --- a/plugins/modules/ibm_pi_capture.py +++ b/plugins/modules/ibm_pi_capture.py @@ -16,25 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_capture' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - pi_capture_name: + pi_instance_name: description: - - (Required for new resource) Name of the capture to create. Note : this must be unique + - (Required for new resource) Instance Name of the Power VM required: True type: str - pi_capture_cloud_storage_region: - description: - - List of Regions to use - required: False - type: str - pi_capture_cloud_storage_access_key: - description: - - Name of Cloud Storage Access Key - required: False - type: str pi_capture_storage_image_path: description: - Name of the Image Path @@ -45,9 +35,9 @@ - (Required for new resource) Cloud Instance ID - This is the service_instance_id. required: True type: str - pi_instance_name: + pi_capture_name: description: - - (Required for new resource) Instance Name of the Power VM + - (Required for new resource) Name of the capture to create. Note : this must be unique required: True type: str pi_capture_destination: @@ -60,6 +50,16 @@ - List of volume names that need to be passed in the input required: False type: str + pi_capture_cloud_storage_region: + description: + - List of Regions to use + required: False + type: str + pi_capture_cloud_storage_access_key: + description: + - Name of Cloud Storage Access Key + required: False + type: str pi_capture_cloud_storage_secret_key: description: - Name of the Cloud Storage Secret Key @@ -107,22 +107,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_capture_name', 'str'), - ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), + ('pi_cloud_instance_id', 'str'), + ('pi_capture_name', 'str'), ('pi_capture_destination', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_capture_name', - 'pi_capture_cloud_storage_region', - 'pi_capture_cloud_storage_access_key', + 'pi_instance_name', 'pi_capture_storage_image_path', 'pi_cloud_instance_id', - 'pi_instance_name', + 'pi_capture_name', 'pi_capture_destination', 'pi_capture_volume_ids', + 'pi_capture_cloud_storage_region', + 'pi_capture_cloud_storage_access_key', 'pi_capture_cloud_storage_secret_key', ] @@ -140,13 +140,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_capture_name=dict( - required=False, - type='str'), - pi_capture_cloud_storage_region=dict( - required=False, - type='str'), - pi_capture_cloud_storage_access_key=dict( + pi_instance_name=dict( required=False, type='str'), pi_capture_storage_image_path=dict( @@ -155,7 +149,7 @@ pi_cloud_instance_id=dict( required=False, type='str'), - pi_instance_name=dict( + pi_capture_name=dict( required=False, type='str'), pi_capture_destination=dict( @@ -164,6 +158,12 @@ pi_capture_volume_ids=dict( required=False, type='str'), + pi_capture_cloud_storage_region=dict( + required=False, + type='str'), + pi_capture_cloud_storage_access_key=dict( + required=False, + type='str'), pi_capture_cloud_storage_secret_key=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_pi_capture', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_instance_info.py b/plugins/modules/ibm_pi_cloud_instance_info.py index 897fc4fd7..9e0814919 100644 --- a/plugins/modules/ibm_pi_cloud_instance_info.py +++ b/plugins/modules/ibm_pi_cloud_instance_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -99,7 +99,7 @@ def run_module(): resource_type='ibm_pi_cloud_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_image.py b/plugins/modules/ibm_pi_image.py index 1e69763a4..5a308a749 100644 --- a/plugins/modules/ibm_pi_image.py +++ b/plugins/modules/ibm_pi_image.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str pi_image_name: description: - (Required for new resource) Image name @@ -35,6 +30,11 @@ - (Required for new resource) Instance image name required: True type: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -77,16 +77,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_image_name', 'str'), ('pi_image_id', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_image_name', 'pi_image_id', + 'pi_cloud_instance_id', ] # Params for Data source @@ -107,15 +107,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( - required=False, - type='str'), pi_image_name=dict( required=False, type='str'), pi_image_id=dict( required=False, type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_image_info.py b/plugins/modules/ibm_pi_image_info.py index ec56450cd..399f81dcf 100644 --- a/plugins/modules/ibm_pi_image_info.py +++ b/plugins/modules/ibm_pi_image_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_image' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_images_info.py b/plugins/modules/ibm_pi_images_info.py index bc8721fad..1062688a6 100644 --- a/plugins/modules/ibm_pi_images_info.py +++ b/plugins/modules/ibm_pi_images_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -99,7 +99,7 @@ def run_module(): resource_type='ibm_pi_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance.py b/plugins/modules/ibm_pi_instance.py index 69ab8b95e..6271f39bb 100644 --- a/plugins/modules/ibm_pi_instance.py +++ b/plugins/modules/ibm_pi_instance.py @@ -16,41 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - reboot_for_resource_change: - description: - - Flag to be passed for CPU/Memory changes that require a reboot to take effect - required: False - type: str - pi_replication_scheme: - description: - - Replication scheme - required: False - type: str - default: suffix - pi_key_pair_name: - description: - - (Required for new resource) SSH key name - required: True - type: str - pi_image_id: - description: - - (Required for new resource) PI instance image name - required: True - type: str - pi_cloud_instance_id: - description: - - (Required for new resource) This is the Power Instance id that is assigned to the account - required: True - type: str - pi_user_data: - description: - - Base64 encoded data to be passed in for invoking a cloud init script - required: False - type: str pi_proc_type: description: - (Required for new resource) Instance processor type @@ -61,31 +30,55 @@ - (Required for new resource) PI Instance system type required: True type: str - pi_processors: + pi_pin_policy: description: - - (Required for new resource) Processors count - required: True - type: float + - Pin Policy of the instance + required: False + type: str + default: none pi_health_status: description: - Allow the user to set the status of the lpar so that they can connect to it faster required: False type: str default: OK - pi_pin_policy: + pi_replication_policy: description: - - Pin Policy of the instance + - Replication policy for the PI Instance required: False type: str default: none + pi_replication_scheme: + description: + - Replication scheme + required: False + type: str + default: suffix pi_memory: description: - (Required for new resource) Memory size required: True type: float - pi_instance_name: + pi_replicants: description: - - (Required for new resource) PI Instance name + - PI Instance replicas count + required: False + type: float + default: 1 + pi_volume_ids: + description: + - List of PI volumes + required: False + type: list + elements: str + pi_processors: + description: + - (Required for new resource) Processors count + required: True + type: float + pi_image_id: + description: + - (Required for new resource) PI instance image name required: True type: str pi_network_ids: @@ -94,29 +87,36 @@ required: True type: list elements: str - pi_volume_ids: - description: - - List of PI volumes - required: False - type: list - elements: str - pi_replicants: + pi_instance_name: description: - - PI Instance replicas count - required: False - type: float - default: 1 - pi_replication_policy: + - (Required for new resource) PI Instance name + required: True + type: str + reboot_for_resource_change: description: - - Replication policy for the PI Instance + - Flag to be passed for CPU/Memory changes that require a reboot to take effect required: False type: str - default: none pi_virtual_cores_assigned: description: - Virtual Cores Assigned to the PVMInstance required: False type: int + pi_cloud_instance_id: + description: + - (Required for new resource) This is the Power Instance id that is assigned to the account + required: True + type: str + pi_user_data: + description: + - Base64 encoded data to be passed in for invoking a cloud init script + required: False + type: str + pi_key_pair_name: + description: + - (Required for new resource) SSH key name + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -159,37 +159,37 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_key_pair_name', 'str'), - ('pi_image_id', 'str'), - ('pi_cloud_instance_id', 'str'), ('pi_proc_type', 'str'), ('pi_sys_type', 'str'), - ('pi_processors', 'float'), ('pi_memory', 'float'), - ('pi_instance_name', 'str'), + ('pi_processors', 'float'), + ('pi_image_id', 'str'), ('pi_network_ids', 'list'), + ('pi_instance_name', 'str'), + ('pi_cloud_instance_id', 'str'), + ('pi_key_pair_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'reboot_for_resource_change', - 'pi_replication_scheme', - 'pi_key_pair_name', - 'pi_image_id', - 'pi_cloud_instance_id', - 'pi_user_data', 'pi_proc_type', 'pi_sys_type', - 'pi_processors', - 'pi_health_status', 'pi_pin_policy', + 'pi_health_status', + 'pi_replication_policy', + 'pi_replication_scheme', 'pi_memory', - 'pi_instance_name', - 'pi_network_ids', - 'pi_volume_ids', 'pi_replicants', - 'pi_replication_policy', + 'pi_volume_ids', + 'pi_processors', + 'pi_image_id', + 'pi_network_ids', + 'pi_instance_name', + 'reboot_for_resource_change', 'pi_virtual_cores_assigned', + 'pi_cloud_instance_id', + 'pi_user_data', + 'pi_key_pair_name', ] # Params for Data source @@ -210,62 +210,62 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - reboot_for_resource_change=dict( - required=False, - type='str'), - pi_replication_scheme=dict( - required=False, - type='str'), - pi_key_pair_name=dict( + pi_proc_type=dict( required=False, type='str'), - pi_image_id=dict( + pi_sys_type=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_pin_policy=dict( required=False, type='str'), - pi_user_data=dict( + pi_health_status=dict( required=False, type='str'), - pi_proc_type=dict( + pi_replication_policy=dict( required=False, type='str'), - pi_sys_type=dict( + pi_replication_scheme=dict( required=False, type='str'), - pi_processors=dict( + pi_memory=dict( required=False, type='float'), - pi_health_status=dict( + pi_replicants=dict( required=False, - type='str'), - pi_pin_policy=dict( + type='float'), + pi_volume_ids=dict( required=False, - type='str'), - pi_memory=dict( + elements='', + type='list'), + pi_processors=dict( required=False, type='float'), - pi_instance_name=dict( + pi_image_id=dict( required=False, type='str'), pi_network_ids=dict( required=False, elements='', type='list'), - pi_volume_ids=dict( - required=False, - elements='', - type='list'), - pi_replicants=dict( + pi_instance_name=dict( required=False, - type='float'), - pi_replication_policy=dict( + type='str'), + reboot_for_resource_change=dict( required=False, type='str'), pi_virtual_cores_assigned=dict( required=False, type='int'), + pi_cloud_instance_id=dict( + required=False, + type='str'), + pi_user_data=dict( + required=False, + type='str'), + pi_key_pair_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -324,7 +324,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -333,7 +333,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_instance_info.py b/plugins/modules/ibm_pi_instance_info.py index a9456e525..863d471ca 100644 --- a/plugins/modules/ibm_pi_instance_info.py +++ b/plugins/modules/ibm_pi_instance_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_ip_info.py b/plugins/modules/ibm_pi_instance_ip_info.py index c0b000cc5..e1a2f76d5 100644 --- a/plugins/modules/ibm_pi_instance_ip_info.py +++ b/plugins/modules/ibm_pi_instance_ip_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -24,12 +24,12 @@ - Server Name to be used for pvminstances required: True type: str - pi_cloud_instance_id: + pi_network_name: description: - None required: True type: str - pi_network_name: + pi_cloud_instance_id: description: - None required: True @@ -64,15 +64,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('pi_instance_name', 'str'), - ('pi_cloud_instance_id', 'str'), ('pi_network_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pi_instance_name', - 'pi_cloud_instance_id', 'pi_network_name', + 'pi_cloud_instance_id', ] @@ -86,10 +86,10 @@ pi_instance_name=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_network_name=dict( required=True, type='str'), - pi_network_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_pi_instance_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_snapshots_info.py b/plugins/modules/ibm_pi_instance_snapshots_info.py index 7f697f08c..e71d9a63d 100644 --- a/plugins/modules/ibm_pi_instance_snapshots_info.py +++ b/plugins/modules/ibm_pi_instance_snapshots_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -99,7 +99,7 @@ def run_module(): resource_type='ibm_pi_instance_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_volumes_info.py b/plugins/modules/ibm_pi_instance_volumes_info.py index 8acf9dfca..49db617e9 100644 --- a/plugins/modules/ibm_pi_instance_volumes_info.py +++ b/plugins/modules/ibm_pi_instance_volumes_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_volumes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_instance_volumes', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_key.py b/plugins/modules/ibm_pi_key.py index 5b2ff6558..3ac43c3dc 100644 --- a/plugins/modules/ibm_pi_key.py +++ b/plugins/modules/ibm_pi_key.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_key_info.py b/plugins/modules/ibm_pi_key_info.py index 00ed388e5..c5be90279 100644 --- a/plugins/modules/ibm_pi_key_info.py +++ b/plugins/modules/ibm_pi_key_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_network.py b/plugins/modules/ibm_pi_network.py index cd95a5d47..509c8bc43 100644 --- a/plugins/modules/ibm_pi_network.py +++ b/plugins/modules/ibm_pi_network.py @@ -16,25 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str - pi_network_type: - description: - - (Required for new resource) PI network type - required: True - type: str - pi_network_name: - description: - - (Required for new resource) PI network name - required: True - type: str pi_dns: description: - List of PI network DNS name @@ -51,6 +36,21 @@ - PI network gateway required: False type: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str + pi_network_type: + description: + - (Required for new resource) PI network type + required: True + type: str + pi_network_name: + description: + - (Required for new resource) PI network name + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,23 +100,23 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', - 'pi_network_type', - 'pi_network_name', 'pi_dns', 'pi_cidr', 'pi_gateway', + 'pi_cloud_instance_id', + 'pi_network_type', + 'pi_network_name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_network_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_network_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_network_name', 'pi_cloud_instance_id', + 'pi_network_name', ] TL_CONFLICTS_MAP = { @@ -126,15 +126,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( - required=False, - type='str'), - pi_network_type=dict( - required=False, - type='str'), - pi_network_name=dict( - required=False, - type='str'), pi_dns=dict( required=False, elements='', @@ -145,6 +136,15 @@ pi_gateway=dict( required=False, type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), + pi_network_type=dict( + required=False, + type='str'), + pi_network_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_network_info.py b/plugins/modules/ibm_pi_network_info.py index 61bdcfb5d..02039f096 100644 --- a/plugins/modules/ibm_pi_network_info.py +++ b/plugins/modules/ibm_pi_network_info.py @@ -15,18 +15,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - pi_network_name: + pi_cloud_instance_id: description: - - Network Name to be used for pvminstances + - None required: True type: str - pi_cloud_instance_id: + pi_network_name: description: - - None + - Network Name to be used for pvminstances required: True type: str zone: @@ -58,14 +58,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_network_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_network_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_network_name', 'pi_cloud_instance_id', + 'pi_network_name', ] @@ -76,10 +76,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_network_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_network_name=dict( required=True, type='str'), zone=dict( @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_network_port.py b/plugins/modules/ibm_pi_network_port.py index 32e80403e..4665cbee5 100644 --- a/plugins/modules/ibm_pi_network_port.py +++ b/plugins/modules/ibm_pi_network_port.py @@ -16,10 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network_port' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + pi_network_name: + description: + - (Required for new resource) + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) @@ -35,11 +40,6 @@ - None required: False type: str - pi_network_name: - description: - - (Required for new resource) - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -82,16 +82,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_network_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_network_name', 'pi_cloud_instance_id', 'pi_network_port_description', 'pi_network_port_ipaddress', - 'pi_network_name', ] # Params for Data source @@ -112,6 +112,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + pi_network_name=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -121,9 +124,6 @@ pi_network_port_ipaddress=dict( required=False, type='str'), - pi_network_name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_network_port_attach.py b/plugins/modules/ibm_pi_network_port_attach.py index 9b53c6e76..6c93e912d 100644 --- a/plugins/modules/ibm_pi_network_port_attach.py +++ b/plugins/modules/ibm_pi_network_port_attach.py @@ -16,15 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network_port_attach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - port_id: - description: - - (Required for new resource) - required: True - type: str pi_cloud_instance_id: description: - (Required for new resource) @@ -46,6 +41,11 @@ required: False type: str default: Port Created via Terraform + port_id: + description: + - (Required for new resource) + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,19 +88,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('port_id', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), ('pi_network_name', 'str'), + ('port_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'port_id', 'pi_cloud_instance_id', 'pi_instance_name', 'pi_network_name', 'pi_network_port_description', + 'port_id', ] # Params for Data source @@ -117,9 +117,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - port_id=dict( - required=False, - type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -132,6 +129,9 @@ pi_network_port_description=dict( required=False, type='str'), + port_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -190,7 +190,7 @@ def run_module(): resource_type='ibm_pi_network_port_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_network_port_info.py b/plugins/modules/ibm_pi_network_port_info.py index 1fc10dde2..4b9d3c54b 100644 --- a/plugins/modules/ibm_pi_network_port_info.py +++ b/plugins/modules/ibm_pi_network_port_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_operations.py b/plugins/modules/ibm_pi_operations.py index 0a79bf157..c10ef5394 100644 --- a/plugins/modules/ibm_pi_operations.py +++ b/plugins/modules/ibm_pi_operations.py @@ -16,10 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_operations' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + pi_operation: + description: + - (Required for new resource) PI instance operation type + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) PI Cloud instnce id @@ -30,11 +35,6 @@ - (Required for new resource) PI instance Operation server name required: True type: str - pi_operation: - description: - - (Required for new resource) PI instance operation type - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -77,16 +77,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_operation', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), - ('pi_operation', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_operation', 'pi_cloud_instance_id', 'pi_instance_name', - 'pi_operation', ] # Params for Data source @@ -103,13 +103,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( + pi_operation=dict( required=False, type='str'), - pi_instance_name=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_operation=dict( + pi_instance_name=dict( required=False, type='str'), id=dict( @@ -170,7 +170,7 @@ def run_module(): resource_type='ibm_pi_operations', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_public_network_info.py b/plugins/modules/ibm_pi_public_network_info.py index fd2af9401..bd4d873e1 100644 --- a/plugins/modules/ibm_pi_public_network_info.py +++ b/plugins/modules/ibm_pi_public_network_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_public_network' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -99,7 +99,7 @@ def run_module(): resource_type='ibm_pi_public_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_pvm_snapshots_info.py b/plugins/modules/ibm_pi_pvm_snapshots_info.py index bae7e251b..4aa347304 100644 --- a/plugins/modules/ibm_pi_pvm_snapshots_info.py +++ b/plugins/modules/ibm_pi_pvm_snapshots_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_pvm_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_pvm_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_snapshot.py b/plugins/modules/ibm_pi_snapshot.py index 468ed4117..c6f2c0ace 100644 --- a/plugins/modules/ibm_pi_snapshot.py +++ b/plugins/modules/ibm_pi_snapshot.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_snapshot' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -25,17 +25,17 @@ - (Required for new resource) Unique name of the snapshot required: True type: str - pi_instance_name: - description: - - (Required for new resource) Instance name / id of the pvm - required: True - type: str pi_volume_ids: description: - List of PI volumes required: False type: list elements: str + pi_instance_name: + description: + - (Required for new resource) Instance name / id of the pvm + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -96,8 +96,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pi_snap_shot_name', - 'pi_instance_name', 'pi_volume_ids', + 'pi_instance_name', 'pi_cloud_instance_id', 'description', ] @@ -119,13 +119,13 @@ pi_snap_shot_name=dict( required=False, type='str'), - pi_instance_name=dict( - required=False, - type='str'), pi_volume_ids=dict( required=False, elements='', type='list'), + pi_instance_name=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -190,7 +190,7 @@ def run_module(): resource_type='ibm_pi_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_tenant_info.py b/plugins/modules/ibm_pi_tenant_info.py index 3a5bb6352..dfbc7344f 100644 --- a/plugins/modules/ibm_pi_tenant_info.py +++ b/plugins/modules/ibm_pi_tenant_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_tenant' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -99,7 +99,7 @@ def run_module(): resource_type='ibm_pi_tenant', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume.py b/plugins/modules/ibm_pi_volume.py index 7cbb87ff9..4e20d8e94 100644 --- a/plugins/modules/ibm_pi_volume.py +++ b/plugins/modules/ibm_pi_volume.py @@ -16,10 +16,20 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + pi_volume_type: + description: + - (Required for new resource) Volume type + required: True + type: str + pi_cloud_instance_id: + description: + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True + type: str pi_volume_name: description: - (Required for new resource) Volume Name to create @@ -35,16 +45,6 @@ - (Required for new resource) Size of the volume in GB required: True type: float - pi_volume_type: - description: - - (Required for new resource) Volume type - required: True - type: str - pi_cloud_instance_id: - description: - - (Required for new resource) Cloud Instance ID - This is the service_instance_id. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -87,19 +87,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_volume_name', 'str'), - ('pi_volume_size', 'float'), ('pi_volume_type', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_name', 'str'), + ('pi_volume_size', 'float'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_volume_type', + 'pi_cloud_instance_id', 'pi_volume_name', 'pi_volume_shareable', 'pi_volume_size', - 'pi_volume_type', - 'pi_cloud_instance_id', ] # Params for Data source @@ -120,6 +120,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + pi_volume_type=dict( + required=False, + type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), pi_volume_name=dict( required=False, type='str'), @@ -129,12 +135,6 @@ pi_volume_size=dict( required=False, type='float'), - pi_volume_type=dict( - required=False, - type='str'), - pi_cloud_instance_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_volume_attach.py b/plugins/modules/ibm_pi_volume_attach.py index 769a84c78..53643b477 100644 --- a/plugins/modules/ibm_pi_volume_attach.py +++ b/plugins/modules/ibm_pi_volume_attach.py @@ -16,10 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume_attach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + volumeattachid: + description: + - Volume attachment ID + required: False + type: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -45,11 +50,6 @@ - None required: False type: bool - volumeattachid: - description: - - Volume attachment ID - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,12 +99,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'volumeattachid', 'pi_cloud_instance_id', 'pi_volume_attach_name', 'pi_instance_name', 'status', 'pi_volume_shareable', - 'volumeattachid', ] # Params for Data source @@ -121,6 +121,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + volumeattachid=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -136,9 +139,6 @@ pi_volume_shareable=dict( required=False, type='bool'), - volumeattachid=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_pi_volume_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_info.py b/plugins/modules/ibm_pi_volume_info.py index 0c946fd2d..af142f3f0 100644 --- a/plugins/modules/ibm_pi_volume_info.py +++ b/plugins/modules/ibm_pi_volume_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -109,7 +109,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_group.py b/plugins/modules/ibm_resource_group.py index a039eba17..755cde63c 100644 --- a/plugins/modules/ibm_resource_group.py +++ b/plugins/modules/ibm_resource_group.py @@ -16,21 +16,21 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The name of the resource group - required: True - type: str tags: description: - None required: False type: list elements: str + name: + description: + - (Required for new resource) The name of the resource group + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -82,8 +82,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'tags', + 'name', ] # Params for Data source @@ -91,8 +91,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'is_default', 'name', + 'is_default', ] TL_CONFLICTS_MAP = { @@ -102,13 +102,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_group_info.py b/plugins/modules/ibm_resource_group_info.py index d89b59c92..52118787a 100644 --- a/plugins/modules/ibm_resource_group_info.py +++ b/plugins/modules/ibm_resource_group_info.py @@ -15,20 +15,20 @@ description: - Retrieve an IBM Cloud 'ibm_resource_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - is_default: - description: - - Default Resource group - required: False - type: bool name: description: - Resource group name required: False type: str + is_default: + description: + - Default Resource group + required: False + type: bool iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -66,26 +66,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'is_default', 'name', + 'is_default', ] TL_CONFLICTS_MAP = { - 'is_default': ['name'], 'name': ['is_default'], + 'is_default': ['name'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - is_default=dict( - required=False, - type='bool'), name=dict( required=False, type='str'), + is_default=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_instance.py b/plugins/modules/ibm_resource_instance.py index d13a52fe4..665858f72 100644 --- a/plugins/modules/ibm_resource_instance.py +++ b/plugins/modules/ibm_resource_instance.py @@ -16,26 +16,15 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str service_endpoints: description: - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. required: False type: str - resource_group_id: - description: - - The resource group id - required: False - type: str parameters: description: - Arbitrary parameters to pass. Must be a JSON object @@ -46,10 +35,10 @@ - (Required for new resource) A name for the resource instance required: True type: str - service: + resource_group_id: description: - - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc - required: True + - The resource group id + required: False type: str plan: description: @@ -61,6 +50,17 @@ - (Required for new resource) The location where the instance available required: True type: str + tags: + description: + - None + required: False + type: list + elements: str + service: + description: + - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,21 +108,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('service', 'str'), ('plan', 'str'), ('location', 'str'), + ('service', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'service_endpoints', - 'resource_group_id', 'parameters', 'name', - 'service', + 'resource_group_id', 'plan', 'location', + 'tags', + 'service', ] # Params for Data source @@ -131,9 +131,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', 'location', 'service', + 'resource_group_id', 'name', ] @@ -144,23 +144,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), service_endpoints=dict( required=False, type='str'), - resource_group_id=dict( - required=False, - type='str'), parameters=dict( required=False, type='dict'), name=dict( required=False, type='str'), - service=dict( + resource_group_id=dict( required=False, type='str'), plan=dict( @@ -169,6 +162,13 @@ location=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + service=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -243,7 +243,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_instance_info.py b/plugins/modules/ibm_resource_instance_info.py index d5e84430b..0b62adbf1 100644 --- a/plugins/modules/ibm_resource_instance_info.py +++ b/plugins/modules/ibm_resource_instance_info.py @@ -15,15 +15,10 @@ description: - Retrieve an IBM Cloud 'ibm_resource_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - The id of the resource group in which the instance is present - required: False - type: str location: description: - The location or the environment in which instance exists @@ -34,6 +29,11 @@ - The service type of the instance required: False type: str + resource_group_id: + description: + - The id of the resource group in which the instance is present + required: False + type: str name: description: - Resource instance name for example, myobjectstorage @@ -77,9 +77,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'location', 'service', + 'resource_group_id', 'name', ] @@ -91,15 +91,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), location=dict( required=False, type='str'), service=dict( required=False, type='str'), + resource_group_id=dict( + required=False, + type='str'), name=dict( required=True, type='str'), @@ -137,7 +137,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_key.py b/plugins/modules/ibm_resource_key.py index f465315e3..985294080 100644 --- a/plugins/modules/ibm_resource_key.py +++ b/plugins/modules/ibm_resource_key.py @@ -16,25 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - role: - description: - - (Required for new resource) Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. - required: True - type: str - resource_alias_id: - description: - - The id of the resource alias for which to create resource key - required: False - type: str - name: - description: - - (Required for new resource) The name of the resource key - required: True - type: str resource_instance_id: description: - The id of the resource instance for which to create resource key @@ -51,6 +36,21 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) The name of the resource key + required: True + type: str + role: + description: + - (Required for new resource) Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + required: True + type: str + resource_alias_id: + description: + - The id of the resource alias for which to create resource key + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,18 +97,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('role', 'str'), ('name', 'str'), + ('role', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'role', - 'resource_alias_id', - 'name', 'resource_instance_id', 'parameters', 'tags', + 'name', + 'role', + 'resource_alias_id', ] # Params for Data source @@ -124,23 +124,14 @@ ] TL_CONFLICTS_MAP = { - 'resource_alias_id': ['resource_instance_id'], 'resource_instance_id': ['resource_alias_id'], + 'resource_alias_id': ['resource_instance_id'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - role=dict( - required=False, - type='str'), - resource_alias_id=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), resource_instance_id=dict( required=False, type='str'), @@ -151,6 +142,15 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + role=dict( + required=False, + type='str'), + resource_alias_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_key_info.py b/plugins/modules/ibm_resource_key_info.py index 3b9855e13..c4da709fe 100644 --- a/plugins/modules/ibm_resource_key_info.py +++ b/plugins/modules/ibm_resource_key_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_quota_info.py b/plugins/modules/ibm_resource_quota_info.py index cc302d5ed..1b97ff57f 100644 --- a/plugins/modules/ibm_resource_quota_info.py +++ b/plugins/modules/ibm_resource_quota_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_quota' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_resource_quota', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_output_info.py b/plugins/modules/ibm_schematics_output_info.py index c3a164da6..1a93a1dec 100644 --- a/plugins/modules/ibm_schematics_output_info.py +++ b/plugins/modules/ibm_schematics_output_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_output' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_schematics_output', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_state_info.py b/plugins/modules/ibm_schematics_state_info.py index 2eba4dcda..85b459d7b 100644 --- a/plugins/modules/ibm_schematics_state_info.py +++ b/plugins/modules/ibm_schematics_state_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_state' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_schematics_state', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_workspace_info.py b/plugins/modules/ibm_schematics_workspace_info.py index ca6692c01..ff671cbb0 100644 --- a/plugins/modules/ibm_schematics_workspace_info.py +++ b/plugins/modules/ibm_schematics_workspace_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_workspace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_security_group.py b/plugins/modules/ibm_security_group.py index 4df28ea77..cc797b170 100644 --- a/plugins/modules/ibm_security_group.py +++ b/plugins/modules/ibm_security_group.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -91,9 +91,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'description', 'most_recent', - 'name', ] TL_CONFLICTS_MAP = { @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_security_group_info.py b/plugins/modules/ibm_security_group_info.py index 91bb8fc7a..5582bedcf 100644 --- a/plugins/modules/ibm_security_group_info.py +++ b/plugins/modules/ibm_security_group_info.py @@ -15,10 +15,15 @@ description: - Retrieve an IBM Cloud 'ibm_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + name: + description: + - The name of the security group + required: True + type: str description: description: - The description of the security group @@ -30,11 +35,6 @@ required: False type: bool default: False - name: - description: - - The name of the security group - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'description', 'most_recent', - 'name', ] @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=True, + type='str'), description=dict( required=False, type='str'), most_recent=dict( required=False, type='bool'), - name=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_security_group_rule.py b/plugins/modules/ibm_security_group_rule.py index 34b4e27fc..9a951d135 100644 --- a/plugins/modules/ibm_security_group_rule.py +++ b/plugins/modules/ibm_security_group_rule.py @@ -16,25 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_security_group_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - remote_group_id: - description: - - remote group ID - required: False - type: int - remote_ip: - description: - - Remote IP Address - required: False - type: str - protocol: - description: - - icmp, tcp or udp - required: False - type: str security_group_id: description: - (Required for new resource) Security group ID @@ -61,6 +46,21 @@ - Port number max range required: False type: int + remote_group_id: + description: + - remote group ID + required: False + type: int + remote_ip: + description: + - Remote IP Address + required: False + type: str + protocol: + description: + - icmp, tcp or udp + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,14 +113,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'remote_group_id', - 'remote_ip', - 'protocol', 'security_group_id', 'direction', 'ether_type', 'port_range_min', 'port_range_max', + 'remote_group_id', + 'remote_ip', + 'protocol', ] # Params for Data source @@ -139,15 +139,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - remote_group_id=dict( - required=False, - type='int'), - remote_ip=dict( - required=False, - type='str'), - protocol=dict( - required=False, - type='str'), security_group_id=dict( required=False, type='int'), @@ -163,6 +154,15 @@ port_range_max=dict( required=False, type='int'), + remote_group_id=dict( + required=False, + type='int'), + remote_ip=dict( + required=False, + type='str'), + protocol=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_security_group_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_service_instance.py b/plugins/modules/ibm_service_instance.py index b4e92a0e5..cd558fa7f 100644 --- a/plugins/modules/ibm_service_instance.py +++ b/plugins/modules/ibm_service_instance.py @@ -16,20 +16,21 @@ - Create, update or destroy an IBM Cloud 'ibm_service_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - parameters: - description: - - Arbitrary parameters to pass along to the service broker. Must be a JSON object - required: False - type: dict name: description: - (Required for new resource) A name for the service instance required: True type: str + wait_time_minutes: + description: + - Define timeout to wait for the service instances to succeeded/deleted etc. + required: False + type: int + default: 10 space_guid: description: - (Required for new resource) The guid of the space in which the instance will be created @@ -40,6 +41,11 @@ - (Required for new resource) The name of the service offering like speech_to_text, text_to_speech etc required: True type: str + parameters: + description: + - Arbitrary parameters to pass along to the service broker. Must be a JSON object + required: False + type: dict plan: description: - (Required for new resource) The plan type of the service @@ -51,12 +57,6 @@ required: False type: list elements: str - wait_time_minutes: - description: - - Define timeout to wait for the service instances to succeeded/deleted etc. - required: False - type: int - default: 10 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,13 +111,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', 'name', + 'wait_time_minutes', 'space_guid', 'service', + 'parameters', 'plan', 'tags', - 'wait_time_minutes', ] # Params for Data source @@ -138,18 +138,21 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - parameters=dict( - required=False, - type='dict'), name=dict( required=False, type='str'), + wait_time_minutes=dict( + required=False, + type='int'), space_guid=dict( required=False, type='str'), service=dict( required=False, type='str'), + parameters=dict( + required=False, + type='dict'), plan=dict( required=False, type='str'), @@ -157,9 +160,6 @@ required=False, elements='', type='list'), - wait_time_minutes=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_service_instance_info.py b/plugins/modules/ibm_service_instance_info.py index 8c92ef41b..893058cc9 100644 --- a/plugins/modules/ibm_service_instance_info.py +++ b/plugins/modules/ibm_service_instance_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_service_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_service_key.py b/plugins/modules/ibm_service_key.py index 0f95b20ea..f59414605 100644 --- a/plugins/modules/ibm_service_key.py +++ b/plugins/modules/ibm_service_key.py @@ -16,10 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_service_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + tags: + description: + - None + required: False + type: list + elements: str name: description: - (Required for new resource) The name of the service key @@ -35,12 +41,6 @@ - Arbitrary parameters to pass along to the service broker. Must be a JSON object required: False type: dict - tags: - description: - - None - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,23 +93,23 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'name', 'service_instance_guid', 'parameters', - 'tags', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('space_guid', 'str'), ('name', 'str'), ('service_instance_name', 'str'), - ('space_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'space_guid', 'name', 'service_instance_name', - 'space_guid', ] TL_CONFLICTS_MAP = { @@ -119,6 +119,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tags=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), @@ -128,10 +132,6 @@ parameters=dict( required=False, type='dict'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_service_key_info.py b/plugins/modules/ibm_service_key_info.py index 28878c60f..7e2a10939 100644 --- a/plugins/modules/ibm_service_key_info.py +++ b/plugins/modules/ibm_service_key_info.py @@ -15,10 +15,15 @@ description: - Retrieve an IBM Cloud 'ibm_service_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + space_guid: + description: + - The guid of the space in which the service instance is present + required: True + type: str name: description: - The name of the service key @@ -29,11 +34,6 @@ - Service instance name for example, speech_to_text required: True type: str - space_guid: - description: - - The guid of the space in which the service instance is present - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -67,16 +67,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('space_guid', 'str'), ('name', 'str'), ('service_instance_name', 'str'), - ('space_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'space_guid', 'name', 'service_instance_name', - 'space_guid', ] @@ -87,13 +87,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + space_guid=dict( required=True, type='str'), - service_instance_name=dict( + name=dict( required=True, type='str'), - space_guid=dict( + service_instance_name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_service_plan_info.py b/plugins/modules/ibm_service_plan_info.py index fb2f723a4..011198789 100644 --- a/plugins/modules/ibm_service_plan_info.py +++ b/plugins/modules/ibm_service_plan_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_service_plan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_service_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_space.py b/plugins/modules/ibm_space.py index 60c7e50f4..03551a814 100644 --- a/plugins/modules/ibm_space.py +++ b/plugins/modules/ibm_space.py @@ -16,16 +16,10 @@ - Create, update or destroy an IBM Cloud 'ibm_space' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - auditors: - description: - - The IBMID of the users who will have auditor role in this space, ex - user@example.com - required: False - type: list - elements: str managers: description: - The IBMID of the users who will have manager role in this space, ex - user@example.com @@ -59,6 +53,12 @@ - (Required for new resource) The org this space belongs to required: True type: str + auditors: + description: + - The IBMID of the users who will have auditor role in this space, ex - user@example.com + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,13 +111,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'auditors', 'managers', 'developers', 'space_quota', 'tags', 'name', 'org', + 'auditors', ] # Params for Data source @@ -138,10 +138,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - auditors=dict( - required=False, - elements='', - type='list'), managers=dict( required=False, elements='', @@ -163,6 +159,10 @@ org=dict( required=False, type='str'), + auditors=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_space', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_space', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_space_info.py b/plugins/modules/ibm_space_info.py index b6aa0a122..ab5b4daa4 100644 --- a/plugins/modules/ibm_space_info.py +++ b/plugins/modules/ibm_space_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_space' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_space', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ssl_certificate.py b/plugins/modules/ibm_ssl_certificate.py index 4e1921d76..85598ddc7 100644 --- a/plugins/modules/ibm_ssl_certificate.py +++ b/plugins/modules/ibm_ssl_certificate.py @@ -16,33 +16,22 @@ - Create, update or destroy an IBM Cloud 'ibm_ssl_certificate' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - technical_contact_same_as_org_address_flag: - description: - - Technical contact same as org address flag - required: False - type: bool - default: False billing_address_same_as_organization_flag: description: - billing address same as organization flag required: False type: bool default: False - technical_contact: + administrative_contact: description: - - (Required for new resource) Technical contact info - required: True + - None + required: False type: list elements: dict - validity_months: - description: - - (Required for new resource) vslidity of the ssl certificate in month - required: True - type: int ssl_type: description: - (Required for new resource) ssl type @@ -54,62 +43,73 @@ required: False type: bool default: True - order_approver_email_address: + technical_contact_same_as_org_address_flag: description: - - (Required for new resource) Email address of the approver - required: True - type: str + - Technical contact same as org address flag + required: False + type: bool + default: False billing_contact: description: - None required: False type: list elements: dict - administrative_contact: + validity_months: description: - - None - required: False - type: list - elements: dict - server_type: + - (Required for new resource) vslidity of the ssl certificate in month + required: True + type: int + order_approver_email_address: description: - - (Required for new resource) server type + - (Required for new resource) Email address of the approver required: True type: str - administrative_address_same_as_organization_flag: + administrative_contact_same_as_technical_flag: description: - - administrative address same as organization flag + - Administrative contact same as technical flag required: False type: bool default: False - organization_information: - description: - - (Required for new resource) Organization information - required: True - type: list - elements: dict billing_contact_same_as_technical_flag: description: - billing contact required: False type: bool default: False + server_count: + description: + - (Required for new resource) Server count + required: True + type: int + server_type: + description: + - (Required for new resource) server type + required: True + type: str certificate_signing_request: description: - (Required for new resource) certificate signing request info required: True type: str - administrative_contact_same_as_technical_flag: + administrative_address_same_as_organization_flag: description: - - Administrative contact same as technical flag + - administrative address same as organization flag required: False type: bool default: False - server_count: + organization_information: description: - - (Required for new resource) Server count + - (Required for new resource) Organization information required: True - type: int + type: list + elements: dict + technical_contact: + description: + - (Required for new resource) Technical contact info + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -156,34 +156,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('technical_contact', 'list'), - ('validity_months', 'int'), ('ssl_type', 'str'), + ('validity_months', 'int'), ('order_approver_email_address', 'str'), + ('server_count', 'int'), ('server_type', 'str'), - ('organization_information', 'list'), ('certificate_signing_request', 'str'), - ('server_count', 'int'), + ('organization_information', 'list'), + ('technical_contact', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'technical_contact_same_as_org_address_flag', 'billing_address_same_as_organization_flag', - 'technical_contact', - 'validity_months', + 'administrative_contact', 'ssl_type', 'renewal_flag', - 'order_approver_email_address', + 'technical_contact_same_as_org_address_flag', 'billing_contact', - 'administrative_contact', + 'validity_months', + 'order_approver_email_address', + 'administrative_contact_same_as_technical_flag', + 'billing_contact_same_as_technical_flag', + 'server_count', 'server_type', + 'certificate_signing_request', 'administrative_address_same_as_organization_flag', 'organization_information', - 'billing_contact_same_as_technical_flag', - 'certificate_signing_request', - 'administrative_contact_same_as_technical_flag', - 'server_count', + 'technical_contact', ] # Params for Data source @@ -200,58 +200,58 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - technical_contact_same_as_org_address_flag=dict( - required=False, - type='bool'), billing_address_same_as_organization_flag=dict( required=False, type='bool'), - technical_contact=dict( + administrative_contact=dict( required=False, elements='', type='list'), - validity_months=dict( - required=False, - type='int'), ssl_type=dict( required=False, type='str'), renewal_flag=dict( required=False, type='bool'), - order_approver_email_address=dict( + technical_contact_same_as_org_address_flag=dict( required=False, - type='str'), + type='bool'), billing_contact=dict( required=False, elements='', type='list'), - administrative_contact=dict( + validity_months=dict( required=False, - elements='', - type='list'), - server_type=dict( + type='int'), + order_approver_email_address=dict( required=False, type='str'), - administrative_address_same_as_organization_flag=dict( + administrative_contact_same_as_technical_flag=dict( required=False, type='bool'), - organization_information=dict( - required=False, - elements='', - type='list'), billing_contact_same_as_technical_flag=dict( required=False, type='bool'), + server_count=dict( + required=False, + type='int'), + server_type=dict( + required=False, + type='str'), certificate_signing_request=dict( required=False, type='str'), - administrative_contact_same_as_technical_flag=dict( + administrative_address_same_as_organization_flag=dict( required=False, type='bool'), - server_count=dict( + organization_information=dict( required=False, - type='int'), + elements='', + type='list'), + technical_contact=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -317,7 +317,7 @@ def run_module(): resource_type='ibm_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_storage_block.py b/plugins/modules/ibm_storage_block.py index 52db9e730..d8ff38d89 100644 --- a/plugins/modules/ibm_storage_block.py +++ b/plugins/modules/ibm_storage_block.py @@ -16,75 +16,75 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_block' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - snapshot_capacity: - description: - - Snapshot capacity in GB - required: False - type: int - allowed_virtual_guest_ids: - description: - - List of allowed virtual guest IDs - required: False - type: list - elements: int allowed_hardware_ids: description: - List of allowe hardware IDs required: False type: list elements: int - hourly_billing: + allowed_ip_addresses: description: - - Billing done hourly, if set to true + - Allowed IP addresses required: False - type: bool - default: False + type: list + elements: str type: description: - (Required for new resource) Storage block type required: True type: str - notes: + datacenter: description: - - Additional note info - required: False + - (Required for new resource) Datacenter name + required: True type: str + snapshot_capacity: + description: + - Snapshot capacity in GB + required: False + type: int tags: description: - List of tags associated with the resource required: False type: list elements: str + hourly_billing: + description: + - Billing done hourly, if set to true + required: False + type: bool + default: False iops: description: - (Required for new resource) IOPS value required required: True type: float - allowed_ip_addresses: + os_format_type: description: - - Allowed IP addresses + - (Required for new resource) OS formatr type + required: True + type: str + notes: + description: + - Additional note info required: False - type: list - elements: str + type: str capacity: description: - (Required for new resource) Storage block size required: True type: int - os_format_type: + allowed_virtual_guest_ids: description: - - (Required for new resource) OS formatr type - required: True - type: str + - List of allowed virtual guest IDs + required: False + type: list + elements: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -131,27 +131,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), ('type', 'str'), + ('datacenter', 'str'), ('iops', 'float'), - ('capacity', 'int'), ('os_format_type', 'str'), + ('capacity', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', - 'snapshot_capacity', - 'allowed_virtual_guest_ids', 'allowed_hardware_ids', - 'hourly_billing', + 'allowed_ip_addresses', 'type', - 'notes', + 'datacenter', + 'snapshot_capacity', 'tags', + 'hourly_billing', 'iops', - 'allowed_ip_addresses', - 'capacity', 'os_format_type', + 'notes', + 'capacity', + 'allowed_virtual_guest_ids', ] # Params for Data source @@ -168,46 +168,46 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - datacenter=dict( - required=False, - type='str'), - snapshot_capacity=dict( - required=False, - type='int'), - allowed_virtual_guest_ids=dict( + allowed_hardware_ids=dict( required=False, elements='', type='list'), - allowed_hardware_ids=dict( + allowed_ip_addresses=dict( required=False, elements='', type='list'), - hourly_billing=dict( - required=False, - type='bool'), type=dict( required=False, type='str'), - notes=dict( + datacenter=dict( required=False, type='str'), + snapshot_capacity=dict( + required=False, + type='int'), tags=dict( required=False, elements='', type='list'), + hourly_billing=dict( + required=False, + type='bool'), iops=dict( required=False, type='float'), - allowed_ip_addresses=dict( + os_format_type=dict( required=False, - elements='', - type='list'), + type='str'), + notes=dict( + required=False, + type='str'), capacity=dict( required=False, type='int'), - os_format_type=dict( + allowed_virtual_guest_ids=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -273,7 +273,7 @@ def run_module(): resource_type='ibm_storage_block', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_storage_evault.py b/plugins/modules/ibm_storage_evault.py index 57717bdcb..7e695c205 100644 --- a/plugins/modules/ibm_storage_evault.py +++ b/plugins/modules/ibm_storage_evault.py @@ -16,7 +16,7 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_evault' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_storage_evault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_storage_file.py b/plugins/modules/ibm_storage_file.py index 75a7ab8cb..59a396a85 100644 --- a/plugins/modules/ibm_storage_file.py +++ b/plugins/modules/ibm_storage_file.py @@ -16,48 +16,42 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_file' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - iops: - description: - - (Required for new resource) iops rate - required: True - type: float allowed_subnets: description: - Allowed network subnets required: False type: list elements: str - hourly_billing: - description: - - Hourly based billing type - required: False - type: bool - default: False - snapshot_schedule: + allowed_ip_addresses: description: - - None + - Allowed range of IP addresses required: False type: list - elements: dict + elements: str + type: + description: + - (Required for new resource) Storage type + required: True + type: str + capacity: + description: + - (Required for new resource) Storage capacity + required: True + type: int tags: description: - Tags set for the storage volume required: False type: list elements: str - capacity: + snapshot_capacity: description: - - (Required for new resource) Storage capacity - required: True + - Snapshot capacity + required: False type: int allowed_hardware_ids: description: @@ -65,33 +59,39 @@ required: False type: list elements: int - notes: - description: - - Notes - required: False - type: str - type: + iops: description: - - (Required for new resource) Storage type + - (Required for new resource) iops rate required: True - type: str - snapshot_capacity: - description: - - Snapshot capacity - required: False - type: int + type: float allowed_virtual_guest_ids: description: - Virtual guest ID required: False type: list elements: int - allowed_ip_addresses: + notes: description: - - Allowed range of IP addresses + - Notes + required: False + type: str + snapshot_schedule: + description: + - None required: False type: list - elements: str + elements: dict + hourly_billing: + description: + - Hourly based billing type + required: False + type: bool + default: False + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -138,27 +138,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), - ('iops', 'float'), - ('capacity', 'int'), ('type', 'str'), + ('capacity', 'int'), + ('iops', 'float'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', - 'iops', 'allowed_subnets', - 'hourly_billing', - 'snapshot_schedule', - 'tags', - 'capacity', - 'allowed_hardware_ids', - 'notes', + 'allowed_ip_addresses', 'type', + 'capacity', + 'tags', 'snapshot_capacity', + 'allowed_hardware_ids', + 'iops', 'allowed_virtual_guest_ids', - 'allowed_ip_addresses', + 'notes', + 'snapshot_schedule', + 'hourly_billing', + 'datacenter', ] # Params for Data source @@ -175,51 +175,51 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - datacenter=dict( - required=False, - type='str'), - iops=dict( - required=False, - type='float'), allowed_subnets=dict( required=False, elements='', type='list'), - hourly_billing=dict( - required=False, - type='bool'), - snapshot_schedule=dict( + allowed_ip_addresses=dict( required=False, elements='', type='list'), + type=dict( + required=False, + type='str'), + capacity=dict( + required=False, + type='int'), tags=dict( required=False, elements='', type='list'), - capacity=dict( + snapshot_capacity=dict( required=False, type='int'), allowed_hardware_ids=dict( required=False, elements='', type='list'), - notes=dict( - required=False, - type='str'), - type=dict( - required=False, - type='str'), - snapshot_capacity=dict( + iops=dict( required=False, - type='int'), + type='float'), allowed_virtual_guest_ids=dict( required=False, elements='', type='list'), - allowed_ip_addresses=dict( + notes=dict( + required=False, + type='str'), + snapshot_schedule=dict( required=False, elements='', type='list'), + hourly_billing=dict( + required=False, + type='bool'), + datacenter=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_storage_file', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_subnet.py b/plugins/modules/ibm_subnet.py index e540b1a8a..258870230 100644 --- a/plugins/modules/ibm_subnet.py +++ b/plugins/modules/ibm_subnet.py @@ -16,15 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_subnet' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: - capacity: + tags: description: - - (Required for new resource) number of ip addresses in the subnet - required: True - type: int + - tags set for the resource + required: False + type: list + elements: str type: description: - (Required for new resource) subnet type @@ -36,11 +37,22 @@ required: False type: int default: 4 + capacity: + description: + - (Required for new resource) number of ip addresses in the subnet + required: True + type: int vlan_id: description: - VLAN ID for the subnet required: False type: int + private: + description: + - private subnet + required: False + type: bool + default: False endpoint_ip: description: - endpoint IP @@ -51,18 +63,6 @@ - Notes required: False type: str - tags: - description: - - tags set for the resource - required: False - type: list - elements: str - private: - description: - - private subnet - required: False - type: bool - default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -109,20 +109,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('capacity', 'int'), ('type', 'str'), + ('capacity', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'capacity', + 'tags', 'type', 'ip_version', + 'capacity', 'vlan_id', + 'private', 'endpoint_ip', 'notes', - 'tags', - 'private', ] # Params for Data source @@ -141,31 +141,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - capacity=dict( + tags=dict( required=False, - type='int'), + elements='', + type='list'), type=dict( required=False, type='str'), ip_version=dict( required=False, type='int'), + capacity=dict( + required=False, + type='int'), vlan_id=dict( required=False, type='int'), + private=dict( + required=False, + type='bool'), endpoint_ip=dict( required=False, type='str'), notes=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - private=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -231,7 +231,7 @@ def run_module(): resource_type='ibm_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_connection.py b/plugins/modules/ibm_tg_connection.py index 6293fce2c..2cb5ffd0b 100644 --- a/plugins/modules/ibm_tg_connection.py +++ b/plugins/modules/ibm_tg_connection.py @@ -16,10 +16,20 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + network_id: + description: + - The ID of the network being connected via this connection. This field is required for some types, such as 'vpc'. For network type 'vpc' this is the CRN of the VPC to be connected. This field is required to be unspecified for network type 'classic'. + required: False + type: str + network_account_id: + description: + - The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. + required: False + type: str gateway: description: - (Required for new resource) The Transit Gateway identifier @@ -30,21 +40,11 @@ - (Required for new resource) Defines what type of network is connected via this connection.Allowable values (classic,vpc) required: True type: str - network_id: - description: - - The ID of the network being connected via this connection. This field is required for some types, such as 'vpc'. For network type 'vpc' this is the CRN of the VPC to be connected. This field is required to be unspecified for network type 'classic'. - required: False - type: str name: description: - The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). required: False type: str - network_account_id: - description: - - The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,11 +97,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'network_id', + 'network_account_id', 'gateway', 'network_type', - 'network_id', 'name', - 'network_account_id', ] # Params for Data source @@ -118,19 +118,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - gateway=dict( + network_id=dict( required=False, type='str'), - network_type=dict( + network_account_id=dict( required=False, type='str'), - network_id=dict( + gateway=dict( required=False, type='str'), - name=dict( + network_type=dict( required=False, type='str'), - network_account_id=dict( + name=dict( required=False, type='str'), id=dict( @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_tg_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_gateway.py b/plugins/modules/ibm_tg_gateway.py index ad831397e..dbbe2f525 100644 --- a/plugins/modules/ibm_tg_gateway.py +++ b/plugins/modules/ibm_tg_gateway.py @@ -16,10 +16,16 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: + global_: + description: + - Allow global routing for a Transit Gateway. If unspecified, the default value is false + required: False + type: bool + default: False tags: description: - Tags for the transit gateway instance @@ -31,22 +37,16 @@ - (Required for new resource) Name Transit Gateway Services required: True type: str - global_: + resource_group: description: - - Allow global routing for a Transit Gateway. If unspecified, the default value is false + - None required: False - type: bool - default: False + type: str location: description: - (Required for new resource) Location of Transit Gateway Services required: True type: str - resource_group: - description: - - None - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,11 +99,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'global_', 'tags', 'name', - 'global_', - 'location', 'resource_group', + 'location', ] # Params for Data source @@ -122,6 +122,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + global_=dict( + required=False, + type='bool'), tags=dict( required=False, elements='', @@ -129,13 +132,10 @@ name=dict( required=False, type='str'), - global_=dict( - required=False, - type='bool'), - location=dict( + resource_group=dict( required=False, type='str'), - resource_group=dict( + location=dict( required=False, type='str'), id=dict( @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_tg_gateway_info.py b/plugins/modules/ibm_tg_gateway_info.py index 71f8b6bf1..d6309dd25 100644 --- a/plugins/modules/ibm_tg_gateway_info.py +++ b/plugins/modules/ibm_tg_gateway_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_gateways_info.py b/plugins/modules/ibm_tg_gateways_info.py index d2dc2d1dc..9efb70380 100644 --- a/plugins/modules/ibm_tg_gateways_info.py +++ b/plugins/modules/ibm_tg_gateways_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_tg_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_location_info.py b/plugins/modules/ibm_tg_location_info.py index da964ea03..22f8c0260 100644 --- a/plugins/modules/ibm_tg_location_info.py +++ b/plugins/modules/ibm_tg_location_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -110,7 +110,7 @@ def run_module(): resource_type='ibm_tg_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_locations_info.py b/plugins/modules/ibm_tg_locations_info.py index b3ed79b7a..984de261d 100644 --- a/plugins/modules/ibm_tg_locations_info.py +++ b/plugins/modules/ibm_tg_locations_info.py @@ -15,7 +15,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.19.0 + - IBM-Cloud terraform-provider-ibm v1.20.0 - Terraform v0.12.20 options: @@ -100,7 +100,7 @@ def run_module(): resource_type='ibm_tg_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.19.0', + ibm_provider_version='1.20.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS)