From 6700b68a1947ae7eac4bf847e8b922d705b19a5a Mon Sep 17 00:00:00 2001 From: hkavya26 Date: Thu, 5 Jan 2023 15:22:02 +0530 Subject: [PATCH] Generated with latest terraform provider 1.48.0 --- docs/ibm_account_info.rst | 2 +- docs/ibm_api_gateway_endpoint.rst | 26 +- .../ibm_api_gateway_endpoint_subscription.rst | 2 +- docs/ibm_api_gateway_info.rst | 2 +- docs/ibm_app_config_collection.rst | 18 +- docs/ibm_app_config_collection_info.rst | 14 +- docs/ibm_app_config_collections_info.rst | 10 +- docs/ibm_app_config_environment.rst | 18 +- docs/ibm_app_config_environment_info.rst | 2 +- docs/ibm_app_config_environments_info.rst | 18 +- docs/ibm_app_config_feature.rst | 46 +- docs/ibm_app_config_feature_info.rst | 14 +- docs/ibm_app_config_features_info.rst | 34 +- docs/ibm_app_config_properties_info.rst | 30 +- docs/ibm_app_config_property.rst | 38 +- docs/ibm_app_config_property_info.rst | 2 +- docs/ibm_app_config_segment.rst | 18 +- docs/ibm_app_config_segment_info.rst | 2 +- docs/ibm_app_config_segments_info.rst | 18 +- docs/ibm_app_config_snapshot.rst | 30 +- docs/ibm_app_config_snapshot_info.rst | 10 +- docs/ibm_app_config_snapshots_info.rst | 18 +- docs/ibm_app_domain_private.rst | 10 +- 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 | 2 +- docs/ibm_app_route.rst | 18 +- docs/ibm_app_route_info.rst | 18 +- docs/ibm_appid_apm.rst | 26 +- docs/ibm_appid_apm_info.rst | 2 +- docs/ibm_appid_application.rst | 10 +- docs/ibm_appid_application_info.rst | 2 +- docs/ibm_appid_application_roles.rst | 2 +- docs/ibm_appid_application_roles_info.rst | 2 +- docs/ibm_appid_application_scopes.rst | 2 +- docs/ibm_appid_application_scopes_info.rst | 2 +- docs/ibm_appid_applications_info.rst | 2 +- docs/ibm_appid_audit_status.rst | 2 +- docs/ibm_appid_audit_status_info.rst | 2 +- docs/ibm_appid_cloud_directory_template.rst | 18 +- ...bm_appid_cloud_directory_template_info.rst | 10 +- docs/ibm_appid_cloud_directory_user.rst | 38 +- docs/ibm_appid_cloud_directory_user_info.rst | 2 +- docs/ibm_appid_idp_cloud_directory.rst | 28 +- docs/ibm_appid_idp_cloud_directory_info.rst | 2 +- docs/ibm_appid_idp_custom.rst | 2 +- docs/ibm_appid_idp_custom_info.rst | 2 +- docs/ibm_appid_idp_facebook.rst | 2 +- docs/ibm_appid_idp_facebook_info.rst | 2 +- docs/ibm_appid_idp_google.rst | 2 +- docs/ibm_appid_idp_google_info.rst | 2 +- docs/ibm_appid_idp_saml.rst | 2 +- docs/ibm_appid_idp_saml_info.rst | 2 +- docs/ibm_appid_idp_saml_metadata_info.rst | 2 +- docs/ibm_appid_languages.rst | 10 +- docs/ibm_appid_languages_info.rst | 2 +- docs/ibm_appid_mfa.rst | 2 +- docs/ibm_appid_mfa_channel_info.rst | 2 +- docs/ibm_appid_mfa_info.rst | 2 +- docs/ibm_appid_password_regex.rst | 2 +- docs/ibm_appid_password_regex_info.rst | 2 +- docs/ibm_appid_redirect_urls.rst | 2 +- docs/ibm_appid_redirect_urls_info.rst | 2 +- docs/ibm_appid_role.rst | 2 +- docs/ibm_appid_role_info.rst | 10 +- docs/ibm_appid_roles_info.rst | 2 +- docs/ibm_appid_theme_color.rst | 10 +- docs/ibm_appid_theme_color_info.rst | 2 +- docs/ibm_appid_theme_text.rst | 2 +- docs/ibm_appid_theme_text_info.rst | 2 +- docs/ibm_appid_token_config.rst | 26 +- docs/ibm_appid_token_config_info.rst | 2 +- docs/ibm_appid_user_roles.rst | 10 +- docs/ibm_appid_user_roles_info.rst | 10 +- docs/ibm_atracker_endpoints_info.rst | 2 +- docs/ibm_atracker_route.rst | 2 +- docs/ibm_atracker_routes_info.rst | 2 +- docs/ibm_atracker_settings.rst | 10 +- docs/ibm_atracker_target.rst | 20 +- docs/ibm_atracker_targets_info.rst | 2 +- docs/ibm_cbr_rule_info.rst | 2 +- docs/ibm_cbr_zone.rst | 18 +- docs/ibm_cbr_zone_info.rst | 2 +- docs/ibm_cd_tekton_pipeline.rst | 14 +- docs/ibm_cd_tekton_pipeline_definition.rst | 6 +- ...ibm_cd_tekton_pipeline_definition_info.rst | 10 +- docs/ibm_cd_tekton_pipeline_info.rst | 2 +- docs/ibm_cd_tekton_pipeline_property.rst | 6 +- docs/ibm_cd_tekton_pipeline_property_info.rst | 2 +- docs/ibm_cd_tekton_pipeline_trigger_info.rst | 2 +- ...bm_cd_tekton_pipeline_trigger_property.rst | 14 +- ..._tekton_pipeline_trigger_property_info.rst | 10 +- docs/ibm_cd_toolchain.rst | 10 +- docs/ibm_cd_toolchain_info.rst | 2 +- docs/ibm_cd_toolchain_tool_appconfig.rst | 6 +- docs/ibm_cd_toolchain_tool_appconfig_info.rst | 10 +- docs/ibm_cd_toolchain_tool_artifactory.rst | 12 +- ...ibm_cd_toolchain_tool_artifactory_info.rst | 2 +- docs/ibm_cd_toolchain_tool_bitbucketgit.rst | 18 +- ...bm_cd_toolchain_tool_bitbucketgit_info.rst | 2 +- docs/ibm_cd_toolchain_tool_custom.rst | 12 +- docs/ibm_cd_toolchain_tool_custom_info.rst | 2 +- docs/ibm_cd_toolchain_tool_devopsinsights.rst | 4 +- ..._cd_toolchain_tool_devopsinsights_info.rst | 2 +- ...m_cd_toolchain_tool_githubconsolidated.rst | 12 +- ...toolchain_tool_githubconsolidated_info.rst | 10 +- docs/ibm_cd_toolchain_tool_gitlab.rst | 18 +- docs/ibm_cd_toolchain_tool_gitlab_info.rst | 2 +- docs/ibm_cd_toolchain_tool_hashicorpvault.rst | 12 +- ..._cd_toolchain_tool_hashicorpvault_info.rst | 10 +- docs/ibm_cd_toolchain_tool_hostedgit.rst | 18 +- docs/ibm_cd_toolchain_tool_hostedgit_info.rst | 10 +- docs/ibm_cd_toolchain_tool_jenkins.rst | 10 +- docs/ibm_cd_toolchain_tool_jenkins_info.rst | 10 +- docs/ibm_cd_toolchain_tool_jira.rst | 85 ++++ docs/ibm_cd_toolchain_tool_jira_info.rst | 71 +++ docs/ibm_cd_toolchain_tool_keyprotect.rst | 6 +- .../ibm_cd_toolchain_tool_keyprotect_info.rst | 10 +- docs/ibm_cd_toolchain_tool_nexus.rst | 12 +- docs/ibm_cd_toolchain_tool_nexus_info.rst | 10 +- docs/ibm_cd_toolchain_tool_pagerduty.rst | 10 +- docs/ibm_cd_toolchain_tool_pagerduty_info.rst | 10 +- docs/ibm_cd_toolchain_tool_pipeline.rst | 12 +- docs/ibm_cd_toolchain_tool_pipeline_info.rst | 2 +- docs/ibm_cd_toolchain_tool_privateworker.rst | 6 +- ...m_cd_toolchain_tool_privateworker_info.rst | 2 +- docs/ibm_cd_toolchain_tool_saucelabs.rst | 6 +- docs/ibm_cd_toolchain_tool_saucelabs_info.rst | 2 +- docs/ibm_cd_toolchain_tool_secretsmanager.rst | 12 +- ..._cd_toolchain_tool_secretsmanager_info.rst | 2 +- ...m_cd_toolchain_tool_securitycompliance.rst | 14 +- ...toolchain_tool_securitycompliance_info.rst | 2 +- docs/ibm_cd_toolchain_tool_slack.rst | 12 +- docs/ibm_cd_toolchain_tool_slack_info.rst | 10 +- docs/ibm_cd_toolchain_tool_sonarqube.rst | 10 +- docs/ibm_cd_toolchain_tool_sonarqube_info.rst | 2 +- docs/ibm_cdn.rst | 58 +-- ...m_certificate_manager_certificate_info.rst | 6 +- ..._certificate_manager_certificates_info.rst | 2 +- docs/ibm_certificate_manager_import.rst | 10 +- docs/ibm_certificate_manager_order.rst | 38 +- docs/ibm_cis.rst | 26 +- docs/ibm_cis_alert.rst | 26 +- docs/ibm_cis_alerts_info.rst | 2 +- docs/ibm_cis_cache_settings.rst | 26 +- docs/ibm_cis_cache_settings_info.rst | 2 +- docs/ibm_cis_certificate_order.rst | 10 +- docs/ibm_cis_certificate_upload.rst | 18 +- docs/ibm_cis_certificates_info.rst | 2 +- docs/ibm_cis_custom_certificates_info.rst | 10 +- docs/ibm_cis_custom_page.rst | 18 +- docs/ibm_cis_custom_pages_info.rst | 2 +- docs/ibm_cis_dns_record.rst | 34 +- docs/ibm_cis_dns_records_import.rst | 2 +- docs/ibm_cis_dns_records_info.rst | 2 +- docs/ibm_cis_domain.rst | 10 +- docs/ibm_cis_domain_info.rst | 10 +- docs/ibm_cis_domain_settings.rst | 126 ++--- docs/ibm_cis_edge_functions_action.rst | 10 +- docs/ibm_cis_edge_functions_actions_info.rst | 10 +- docs/ibm_cis_edge_functions_trigger.rst | 18 +- docs/ibm_cis_edge_functions_triggers_info.rst | 2 +- docs/ibm_cis_filter.rst | 18 +- docs/ibm_cis_filters_info.rst | 2 +- docs/ibm_cis_firewall.rst | 2 +- docs/ibm_cis_firewall_info.rst | 10 +- docs/ibm_cis_firewall_rule.rst | 18 +- docs/ibm_cis_firewall_rules_info.rst | 2 +- docs/ibm_cis_global_load_balancer.rst | 40 +- 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 | 10 +- docs/ibm_cis_ip_addresses_info.rst | 2 +- docs/ibm_cis_logpush_job.rst | 26 +- docs/ibm_cis_logpush_jobs_info.rst | 2 +- docs/ibm_cis_mtls.rst | 10 +- docs/ibm_cis_mtls_app.rst | 34 +- docs/ibm_cis_mtls_apps_info.rst | 2 +- docs/ibm_cis_mtlss_info.rst | 10 +- docs/ibm_cis_origin_auth.rst | 18 +- docs/ibm_cis_origin_auths_info.rst | 10 +- docs/ibm_cis_origin_pool.rst | 30 +- docs/ibm_cis_origin_pools_info.rst | 2 +- docs/ibm_cis_page_rule.rst | 2 +- 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 | 38 +- docs/ibm_cis_rate_limit_info.rst | 2 +- docs/ibm_cis_routing.rst | 2 +- docs/ibm_cis_tls_settings.rst | 2 +- docs/ibm_cis_waf_group.rst | 26 +- docs/ibm_cis_waf_groups_info.rst | 2 +- docs/ibm_cis_waf_package.rst | 10 +- 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_cis_webhook.rst | 18 +- docs/ibm_cis_webhooks_info.rst | 2 +- docs/ibm_cloud_shell_account_settings.rst | 22 +- .../ibm_cloud_shell_account_settings_info.rst | 2 +- docs/ibm_cloudant.rst | 58 +-- docs/ibm_cloudant_database.rst | 2 +- docs/ibm_cloudant_database_info.rst | 2 +- docs/ibm_cloudant_info.rst | 10 +- docs/ibm_cm_catalog.rst | 34 +- docs/ibm_cm_catalog_info.rst | 4 +- docs/ibm_cm_offering_info.rst | 6 +- docs/ibm_cm_offering_instance.rst | 46 +- docs/ibm_cm_offering_instance_info.rst | 2 +- docs/ibm_cm_validation.rst | 101 ++++ docs/ibm_cm_version_info.rst | 8 +- docs/ibm_compute_autoscale_group.rst | 30 +- docs/ibm_compute_autoscale_policy.rst | 18 +- docs/ibm_compute_bare_metal.rst | 126 ++--- 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 | 10 +- docs/ibm_compute_placement_group.rst | 10 +- docs/ibm_compute_placement_group_info.rst | 2 +- docs/ibm_compute_provisioning_hook.rst | 10 +- docs/ibm_compute_reserved_capacity.rst | 10 +- docs/ibm_compute_reserved_capacity_info.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 | 66 +-- docs/ibm_compute_vm_instance.rst | 106 ++--- 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 | 10 +- docs/ibm_container_alb_cert.rst | 10 +- docs/ibm_container_alb_cert_info.rst | 10 +- docs/ibm_container_alb_create.rst | 26 +- docs/ibm_container_alb_info.rst | 2 +- docs/ibm_container_api_key_reset.rst | 2 +- docs/ibm_container_bind_service.rst | 34 +- docs/ibm_container_bind_service_info.rst | 2 +- docs/ibm_container_cluster.rst | 114 ++--- docs/ibm_container_cluster_config_info.rst | 22 +- docs/ibm_container_cluster_feature.rst | 26 +- docs/ibm_container_cluster_info.rst | 10 +- docs/ibm_container_cluster_versions_info.rst | 2 +- docs/ibm_container_cluster_worker_info.rst | 10 +- docs/ibm_container_dedicated_host.rst | 2 +- ...m_container_dedicated_host_flavor_info.rst | 2 +- ..._container_dedicated_host_flavors_info.rst | 2 +- docs/ibm_container_dedicated_host_info.rst | 10 +- docs/ibm_container_dedicated_host_pool.rst | 10 +- ...ibm_container_dedicated_host_pool_info.rst | 2 +- docs/ibm_container_nlb_dns.rst | 10 +- docs/ibm_container_nlb_dns_info.rst | 2 +- docs/ibm_container_storage_attachment.rst | 10 +- .../ibm_container_storage_attachment_info.rst | 18 +- docs/ibm_container_vpc_alb.rst | 10 +- docs/ibm_container_vpc_alb_create.rst | 2 +- docs/ibm_container_vpc_alb_info.rst | 10 +- docs/ibm_container_vpc_cluster.rst | 110 +++-- docs/ibm_container_vpc_cluster_alb_info.rst | 10 +- docs/ibm_container_vpc_cluster_info.rst | 10 +- .../ibm_container_vpc_cluster_worker_info.rst | 2 +- ...container_vpc_cluster_worker_pool_info.rst | 2 +- docs/ibm_container_vpc_worker.rst | 2 +- docs/ibm_container_vpc_worker_pool.rst | 42 +- docs/ibm_container_vpc_worker_pool_info.rst | 10 +- docs/ibm_container_worker_pool.rst | 38 +- docs/ibm_container_worker_pool_info.rst | 2 +- ..._container_worker_pool_zone_attachment.rst | 18 +- docs/ibm_cos_bucket.rst | 74 +-- docs/ibm_cos_bucket_info.rst | 14 +- docs/ibm_cr_namespace.rst | 10 +- docs/ibm_cr_namespaces_info.rst | 2 +- docs/ibm_cr_retention_policy.rst | 2 +- docs/ibm_database.rst | 78 ++-- docs/ibm_database_backup_info.rst | 2 +- docs/ibm_database_backups_info.rst | 2 +- docs/ibm_database_connection_info.rst | 18 +- docs/ibm_database_info.rst | 18 +- ...m_database_point_in_time_recovery_info.rst | 2 +- docs/ibm_database_remotes_info.rst | 2 +- docs/ibm_database_task_info.rst | 2 +- docs/ibm_database_tasks_info.rst | 2 +- docs/ibm_dl_gateway.rst | 94 ++-- 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 | 2 +- docs/ibm_dl_provider_gateway.rst | 30 +- docs/ibm_dl_provider_gateways_info.rst | 2 +- docs/ibm_dl_provider_ports_info.rst | 2 +- docs/ibm_dl_route_report.rst | 2 +- docs/ibm_dl_route_report_info.rst | 2 +- docs/ibm_dl_route_reports_info.rst | 2 +- docs/ibm_dl_routers_info.rst | 10 +- docs/ibm_dl_virtual_connection.rst | 10 +- docs/ibm_dns_custom_resolver.rst | 22 +- ...bm_dns_custom_resolver_forwarding_rule.rst | 18 +- ..._custom_resolver_forwarding_rules_info.rst | 2 +- docs/ibm_dns_custom_resolver_location.rst | 2 +- ...ibm_dns_custom_resolver_secondary_zone.rst | 14 +- ...s_custom_resolver_secondary_zones_info.rst | 2 +- docs/ibm_dns_custom_resolvers_info.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 | 10 +- docs/ibm_dns_glb.rst | 22 +- docs/ibm_dns_glb_monitor.rst | 50 +- docs/ibm_dns_glb_monitors_info.rst | 2 +- docs/ibm_dns_glb_pool.rst | 26 +- docs/ibm_dns_glb_pools_info.rst | 2 +- docs/ibm_dns_glbs_info.rst | 2 +- docs/ibm_dns_permitted_network.rst | 10 +- docs/ibm_dns_permitted_networks_info.rst | 2 +- docs/ibm_dns_record.rst | 66 +-- docs/ibm_dns_resource_record.rst | 38 +- docs/ibm_dns_resource_records_info.rst | 10 +- docs/ibm_dns_reverse_record.rst | 2 +- docs/ibm_dns_secondary.rst | 2 +- docs/ibm_dns_secondary_info.rst | 2 +- docs/ibm_dns_zone.rst | 18 +- docs/ibm_dns_zones_info.rst | 2 +- docs/ibm_en_destination.rst | 2 +- docs/ibm_en_destination_android.rst | 18 +- docs/ibm_en_destination_android_info.rst | 2 +- docs/ibm_en_destination_chrome.rst | 18 +- docs/ibm_en_destination_chrome_info.rst | 2 +- docs/ibm_en_destination_firefox.rst | 18 +- docs/ibm_en_destination_firefox_info.rst | 2 +- docs/ibm_en_destination_info.rst | 10 +- docs/ibm_en_destination_ios.rst | 26 +- docs/ibm_en_destination_ios_info.rst | 2 +- docs/ibm_en_destination_safari.rst | 54 +-- docs/ibm_en_destination_safari_info.rst | 10 +- docs/ibm_en_destination_slack.rst | 10 +- docs/ibm_en_destination_slack_info.rst | 10 +- docs/ibm_en_destination_webhook.rst | 18 +- docs/ibm_en_destination_webhook_info.rst | 10 +- docs/ibm_en_destinations_info.rst | 2 +- docs/ibm_en_source.rst | 2 +- docs/ibm_en_source_info.rst | 2 +- docs/ibm_en_subscription.rst | 18 +- docs/ibm_en_subscription_android.rst | 18 +- docs/ibm_en_subscription_android_info.rst | 10 +- docs/ibm_en_subscription_chrome.rst | 10 +- docs/ibm_en_subscription_chrome_info.rst | 2 +- docs/ibm_en_subscription_email.rst | 22 +- docs/ibm_en_subscription_email_info.rst | 10 +- docs/ibm_en_subscription_firefox.rst | 18 +- docs/ibm_en_subscription_firefox_info.rst | 2 +- docs/ibm_en_subscription_info.rst | 2 +- docs/ibm_en_subscription_ios.rst | 10 +- docs/ibm_en_subscription_ios_info.rst | 2 +- docs/ibm_en_subscription_safari.rst | 10 +- docs/ibm_en_subscription_safari_info.rst | 2 +- docs/ibm_en_subscription_slack.rst | 18 +- docs/ibm_en_subscription_slack_info.rst | 2 +- docs/ibm_en_subscription_sms.rst | 10 +- docs/ibm_en_subscription_sms_info.rst | 2 +- docs/ibm_en_subscription_webhook.rst | 22 +- docs/ibm_en_subscription_webhook_info.rst | 10 +- docs/ibm_en_subscriptions_info.rst | 2 +- docs/ibm_en_topic.rst | 18 +- docs/ibm_en_topic_info.rst | 10 +- docs/ibm_en_topics_info.rst | 10 +- docs/ibm_enterprise.rst | 10 +- docs/ibm_enterprise_account.rst | 18 +- docs/ibm_enterprise_account_group.rst | 10 +- docs/ibm_enterprise_account_groups_info.rst | 2 +- docs/ibm_enterprise_accounts_info.rst | 2 +- docs/ibm_enterprises_info.rst | 2 +- docs/ibm_event_streams_schema.rst | 10 +- docs/ibm_event_streams_schema_info.rst | 2 +- docs/ibm_event_streams_topic.rst | 18 +- docs/ibm_event_streams_topic_info.rst | 2 +- docs/ibm_firewall.rst | 2 +- docs/ibm_firewall_policy.rst | 10 +- docs/ibm_function_action.rst | 18 +- docs/ibm_function_action_info.rst | 2 +- docs/ibm_function_namespace.rst | 10 +- docs/ibm_function_namespace_info.rst | 2 +- docs/ibm_function_package.rst | 18 +- docs/ibm_function_package_info.rst | 10 +- docs/ibm_function_rule.rst | 18 +- docs/ibm_function_rule_info.rst | 2 +- docs/ibm_function_trigger.rst | 18 +- docs/ibm_function_trigger_info.rst | 2 +- docs/ibm_hardware_firewall_shared.rst | 2 +- docs/ibm_hpcs.rst | 46 +- docs/ibm_hpcs_info.rst | 10 +- docs/ibm_hpcs_key_template.rst | 30 +- docs/ibm_hpcs_key_template_info.rst | 14 +- docs/ibm_hpcs_keystore.rst | 94 ++-- docs/ibm_hpcs_keystore_info.rst | 10 +- docs/ibm_hpcs_managed_key.rst | 30 +- docs/ibm_hpcs_managed_key_info.rst | 14 +- docs/ibm_hpcs_vault.rst | 2 +- docs/ibm_hpcs_vault_info.rst | 10 +- docs/ibm_iam_access_group.rst | 2 +- .../ibm_iam_access_group_account_settings.rst | 2 +- docs/ibm_iam_access_group_dynamic_rule.rst | 10 +- docs/ibm_iam_access_group_info.rst | 2 +- docs/ibm_iam_access_group_members.rst | 2 +- docs/ibm_iam_access_group_policy.rst | 34 +- docs/ibm_iam_access_group_policy_info.rst | 2 +- docs/ibm_iam_account_settings_info.rst | 2 +- docs/ibm_iam_api_key.rst | 18 +- docs/ibm_iam_api_key_info.rst | 2 +- docs/ibm_iam_auth_token_info.rst | 2 +- docs/ibm_iam_authorization_policies_info.rst | 2 +- docs/ibm_iam_authorization_policy.rst | 54 +-- docs/ibm_iam_authorization_policy_detach.rst | 2 +- docs/ibm_iam_custom_role.rst | 18 +- docs/ibm_iam_role_actions_info.rst | 2 +- docs/ibm_iam_roles_info.rst | 2 +- docs/ibm_iam_service_api_key.rst | 30 +- docs/ibm_iam_service_id.rst | 2 +- docs/ibm_iam_service_id_info.rst | 2 +- docs/ibm_iam_service_policy.rst | 40 +- docs/ibm_iam_service_policy_info.rst | 2 +- docs/ibm_iam_trusted_profile.rst | 10 +- docs/ibm_iam_trusted_profile_claim_rule.rst | 18 +- ...bm_iam_trusted_profile_claim_rule_info.rst | 2 +- ...m_iam_trusted_profile_claim_rules_info.rst | 2 +- docs/ibm_iam_trusted_profile_info.rst | 2 +- docs/ibm_iam_trusted_profile_link.rst | 2 +- docs/ibm_iam_trusted_profile_link_info.rst | 2 +- docs/ibm_iam_trusted_profile_links_info.rst | 2 +- docs/ibm_iam_trusted_profile_policy.rst | 30 +- docs/ibm_iam_trusted_profile_policy_info.rst | 2 +- docs/ibm_iam_trusted_profiles_info.rst | 2 +- docs/ibm_iam_user_invite.rst | 18 +- docs/ibm_iam_user_policy.rst | 22 +- docs/ibm_iam_user_policy_info.rst | 2 +- docs/ibm_iam_user_profile_info.rst | 2 +- docs/ibm_iam_user_settings.rst | 10 +- docs/ibm_iam_users_info.rst | 2 +- docs/ibm_ipsec_vpn.rst | 36 +- docs/ibm_is_backup_policies_info.rst | 10 +- docs/ibm_is_backup_policy.rst | 2 +- docs/ibm_is_backup_policy_info.rst | 10 +- docs/ibm_is_backup_policy_plan.rst | 22 +- docs/ibm_is_backup_policy_plan_info.rst | 10 +- docs/ibm_is_backup_policy_plans_info.rst | 2 +- docs/ibm_is_bare_metal_server.rst | 50 +- docs/ibm_is_bare_metal_server_action.rst | 2 +- docs/ibm_is_bare_metal_server_disk.rst | 2 +- docs/ibm_is_bare_metal_server_disk_info.rst | 2 +- docs/ibm_is_bare_metal_server_disks_info.rst | 2 +- docs/ibm_is_bare_metal_server_info.rst | 10 +- ..._bare_metal_server_initialization_info.rst | 2 +- ...l_server_network_interface_floating_ip.rst | 10 +- ...ver_network_interface_floating_ip_info.rst | 10 +- ...er_network_interface_floating_ips_info.rst | 2 +- ...re_metal_server_network_interface_info.rst | 10 +- ...ver_network_interface_reserved_ip_info.rst | 2 +- ...er_network_interface_reserved_ips_info.rst | 2 +- ...e_metal_server_network_interfaces_info.rst | 2 +- .../ibm_is_bare_metal_server_profile_info.rst | 2 +- ...ibm_is_bare_metal_server_profiles_info.rst | 2 +- docs/ibm_is_bare_metal_servers_info.rst | 2 +- docs/ibm_is_dedicated_host.rst | 14 +- docs/ibm_is_dedicated_host_disk_info.rst | 2 +- .../ibm_is_dedicated_host_disk_management.rst | 2 +- docs/ibm_is_dedicated_host_disks_info.rst | 2 +- docs/ibm_is_dedicated_host_group.rst | 14 +- docs/ibm_is_dedicated_host_group_info.rst | 2 +- docs/ibm_is_dedicated_host_groups_info.rst | 2 +- docs/ibm_is_dedicated_host_info.rst | 10 +- docs/ibm_is_dedicated_host_profile_info.rst | 2 +- docs/ibm_is_dedicated_host_profiles_info.rst | 2 +- docs/ibm_is_dedicated_hosts_info.rst | 2 +- docs/ibm_is_endpoint_gateway_targets_info.rst | 2 +- docs/ibm_is_floating_ip.rst | 18 +- docs/ibm_is_floating_ip_info.rst | 2 +- docs/ibm_is_floating_ips_info.rst | 2 +- docs/ibm_is_flow_log.rst | 26 +- docs/ibm_is_flow_log_info.rst | 10 +- docs/ibm_is_flow_logs_info.rst | 2 +- docs/ibm_is_ike_policies_info.rst | 2 +- docs/ibm_is_ike_policy.rst | 30 +- docs/ibm_is_ike_policy_info.rst | 10 +- docs/ibm_is_image.rst | 26 +- docs/ibm_is_image_info.rst | 10 +- docs/ibm_is_images_info.rst | 10 +- docs/ibm_is_instance.rst | 106 ++--- docs/ibm_is_instance_action.rst | 10 +- docs/ibm_is_instance_disk_info.rst | 2 +- docs/ibm_is_instance_disk_management.rst | 2 +- docs/ibm_is_instance_disks_info.rst | 2 +- docs/ibm_is_instance_group.rst | 26 +- docs/ibm_is_instance_group_info.rst | 2 +- docs/ibm_is_instance_group_manager.rst | 22 +- docs/ibm_is_instance_group_manager_action.rst | 18 +- ..._is_instance_group_manager_action_info.rst | 10 +- ...is_instance_group_manager_actions_info.rst | 2 +- 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 | 2 +- docs/ibm_is_instance_group_managers_info.rst | 2 +- docs/ibm_is_instance_group_membership.rst | 14 +- .../ibm_is_instance_group_membership_info.rst | 2 +- ...ibm_is_instance_group_memberships_info.rst | 2 +- docs/ibm_is_instance_groups_info.rst | 2 +- docs/ibm_is_instance_info.rst | 10 +- docs/ibm_is_instance_network_interface.rst | 18 +- ...ibm_is_instance_network_interface_info.rst | 10 +- ...nce_network_interface_reserved_ip_info.rst | 2 +- ...ce_network_interface_reserved_ips_info.rst | 10 +- ...bm_is_instance_network_interfaces_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 | 78 ++-- docs/ibm_is_instance_template_info.rst | 6 +- docs/ibm_is_instance_templates_info.rst | 2 +- docs/ibm_is_instance_volume_attachment.rst | 42 +- ...ibm_is_instance_volume_attachment_info.rst | 2 +- ...bm_is_instance_volume_attachments_info.rst | 2 +- docs/ibm_is_instances_info.rst | 34 +- docs/ibm_is_ipsec_policies_info.rst | 2 +- docs/ibm_is_ipsec_policy.rst | 10 +- docs/ibm_is_ipsec_policy_info.rst | 2 +- docs/ibm_is_lb.rst | 22 +- docs/ibm_is_lb_info.rst | 2 +- docs/ibm_is_lb_listener.rst | 50 +- docs/ibm_is_lb_listener_info.rst | 2 +- docs/ibm_is_lb_listener_policies_info.rst | 2 +- docs/ibm_is_lb_listener_policy.rst | 38 +- docs/ibm_is_lb_listener_policy_info.rst | 10 +- docs/ibm_is_lb_listener_policy_rule.rst | 26 +- docs/ibm_is_lb_listener_policy_rule_info.rst | 2 +- docs/ibm_is_lb_listener_policy_rules_info.rst | 2 +- docs/ibm_is_lb_listeners_info.rst | 2 +- docs/ibm_is_lb_pool.rst | 50 +- docs/ibm_is_lb_pool_info.rst | 10 +- docs/ibm_is_lb_pool_member.rst | 26 +- docs/ibm_is_lb_pool_member_info.rst | 2 +- docs/ibm_is_lb_pool_members_info.rst | 2 +- docs/ibm_is_lb_pools_info.rst | 2 +- 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_network_acl_info.rst | 10 +- docs/ibm_is_network_acl_rule.rst | 34 +- docs/ibm_is_network_acl_rule_info.rst | 10 +- docs/ibm_is_network_acl_rules_info.rst | 2 +- docs/ibm_is_network_acls_info.rst | 2 +- docs/ibm_is_operating_system_info.rst | 2 +- docs/ibm_is_operating_systems_info.rst | 2 +- docs/ibm_is_placement_group_info.rst | 2 +- docs/ibm_is_placement_groups_info.rst | 2 +- docs/ibm_is_public_gateway.rst | 10 +- docs/ibm_is_public_gateway_info.rst | 10 +- docs/ibm_is_public_gateways_info.rst | 2 +- docs/ibm_is_region_info.rst | 2 +- docs/ibm_is_regions_info.rst | 2 +- docs/ibm_is_security_group.rst | 18 +- docs/ibm_is_security_group_info.rst | 2 +- ...ity_group_network_interface_attachment.rst | 10 +- docs/ibm_is_security_group_rule_info.rst | 2 +- docs/ibm_is_security_group_rules_info.rst | 2 +- docs/ibm_is_security_group_target.rst | 10 +- docs/ibm_is_security_group_target_info.rst | 2 +- docs/ibm_is_security_group_targets_info.rst | 2 +- docs/ibm_is_security_groups_info.rst | 2 +- docs/ibm_is_snapshot.rst | 14 +- docs/ibm_is_snapshot_info.rst | 2 +- docs/ibm_is_snapshots_info.rst | 26 +- docs/ibm_is_ssh_key.rst | 14 +- docs/ibm_is_ssh_key_info.rst | 10 +- docs/ibm_is_ssh_keys_info.rst | 2 +- docs/ibm_is_subnet.rst | 42 +- docs/ibm_is_subnet_info.rst | 6 +- docs/ibm_is_subnet_network_acl_attachment.rst | 2 +- ...bm_is_subnet_public_gateway_attachment.rst | 2 +- docs/ibm_is_subnet_reserved_ip.rst | 22 +- docs/ibm_is_subnet_reserved_ip_info.rst | 2 +- docs/ibm_is_subnet_reserved_ips_info.rst | 2 +- ...ibm_is_subnet_routing_table_attachment.rst | 10 +- docs/ibm_is_subnets_info.rst | 10 +- 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 | 10 +- ...m_is_virtual_endpoint_gateway_ips_info.rst | 2 +- .../ibm_is_virtual_endpoint_gateways_info.rst | 2 +- docs/ibm_is_volume.rst | 38 +- docs/ibm_is_volume_info.rst | 2 +- docs/ibm_is_volume_profile_info.rst | 2 +- docs/ibm_is_volume_profiles_info.rst | 2 +- docs/ibm_is_volumes_info.rst | 10 +- docs/ibm_is_vpc.rst | 26 +- docs/ibm_is_vpc_address_prefix.rst | 2 +- docs/ibm_is_vpc_address_prefix_info.rst | 14 +- docs/ibm_is_vpc_address_prefixes_info.rst | 2 +- .../ibm_is_vpc_default_routing_table_info.rst | 2 +- docs/ibm_is_vpc_info.rst | 6 +- docs/ibm_is_vpc_route.rst | 18 +- docs/ibm_is_vpc_routing_table_info.rst | 2 +- docs/ibm_is_vpc_routing_table_route.rst | 22 +- docs/ibm_is_vpc_routing_table_route_info.rst | 18 +- docs/ibm_is_vpc_routing_table_routes_info.rst | 2 +- docs/ibm_is_vpc_routing_tables_info.rst | 2 +- docs/ibm_is_vpcs_info.rst | 2 +- docs/ibm_is_vpn_gateway.rst | 14 +- docs/ibm_is_vpn_gateway_connection.rst | 42 +- docs/ibm_is_vpn_gateway_connection_info.rst | 14 +- docs/ibm_is_vpn_gateway_connections_info.rst | 2 +- docs/ibm_is_vpn_gateway_info.rst | 2 +- docs/ibm_is_vpn_gateways_info.rst | 2 +- docs/ibm_is_vpn_server_client.rst | 2 +- ...s_vpn_server_client_configuration_info.rst | 2 +- docs/ibm_is_vpn_server_client_info.rst | 2 +- docs/ibm_is_vpn_server_clients_info.rst | 2 +- docs/ibm_is_vpn_server_info.rst | 2 +- docs/ibm_is_vpn_server_route_info.rst | 10 +- docs/ibm_is_vpn_server_routes_info.rst | 2 +- docs/ibm_is_vpn_servers_info.rst | 2 +- docs/ibm_is_zone_info.rst | 2 +- docs/ibm_is_zones_info.rst | 2 +- docs/ibm_kms_instance_policies.rst | 93 ++++ docs/ibm_kms_instance_policies_info.rst | 71 +++ docs/ibm_kms_key.rst | 34 +- docs/ibm_kms_key_alias.rst | 18 +- docs/ibm_kms_key_info.rst | 26 +- docs/ibm_kms_key_policies.rst | 18 +- docs/ibm_kms_key_policies_info.rst | 22 +- docs/ibm_kms_key_rings.rst | 2 +- docs/ibm_kms_key_rings_info.rst | 10 +- docs/ibm_kms_key_with_policy_overrides.rst | 121 +++++ docs/ibm_kms_keys_info.rst | 10 +- docs/ibm_kp_key.rst | 10 +- docs/ibm_kp_key_info.rst | 2 +- docs/ibm_lb.rst | 14 +- docs/ibm_lb_service.rst | 10 +- docs/ibm_lb_service_group.rst | 18 +- docs/ibm_lb_vpx.rst | 26 +- docs/ibm_lb_vpx_ha.rst | 10 +- docs/ibm_lb_vpx_service.rst | 30 +- docs/ibm_lb_vpx_vip.rst | 30 +- docs/ibm_lbaas.rst | 22 +- docs/ibm_lbaas_health_monitor.rst | 18 +- 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 | 6 +- docs/ibm_network_gateway_vlan_association.rst | 2 +- docs/ibm_network_interface_sg_attachment.rst | 10 +- docs/ibm_network_public_ip.rst | 10 +- docs/ibm_network_vlan.rst | 18 +- docs/ibm_network_vlan_info.rst | 8 +- docs/ibm_network_vlan_spanning.rst | 2 +- docs/ibm_ob_logging.rst | 10 +- docs/ibm_ob_monitoring.rst | 10 +- docs/ibm_object_storage_account.rst | 2 +- docs/ibm_org.rst | 2 +- docs/ibm_org_info.rst | 2 +- docs/ibm_org_quota_info.rst | 2 +- docs/ibm_pi_catalog_images_info.rst | 2 +- docs/ibm_pi_cloud_connection.rst | 46 +- docs/ibm_pi_cloud_connection_info.rst | 10 +- ...ibm_pi_cloud_connection_network_attach.rst | 2 +- docs/ibm_pi_cloud_connections_info.rst | 2 +- docs/ibm_pi_cloud_instance_info.rst | 2 +- docs/ibm_pi_console_language.rst | 10 +- docs/ibm_pi_console_languages_info.rst | 10 +- docs/ibm_pi_dhcp.rst | 22 +- docs/ibm_pi_dhcp_info.rst | 2 +- docs/ibm_pi_dhcps_info.rst | 2 +- ...ibm_pi_disaster_recovery_location_info.rst | 63 +++ ...bm_pi_disaster_recovery_locations_info.rst | 59 +++ docs/ibm_pi_ike_policy.rst | 22 +- docs/ibm_pi_image.rst | 58 +-- docs/ibm_pi_image_export.rst | 10 +- docs/ibm_pi_image_info.rst | 2 +- docs/ibm_pi_images_info.rst | 2 +- docs/ibm_pi_instance.rst | 126 ++--- docs/ibm_pi_instance_action.rst | 2 +- docs/ibm_pi_instance_info.rst | 10 +- docs/ibm_pi_instance_ip_info.rst | 10 +- docs/ibm_pi_instance_snapshots_info.rst | 2 +- docs/ibm_pi_instance_volumes_info.rst | 10 +- docs/ibm_pi_instances_info.rst | 2 +- docs/ibm_pi_ipsec_policy.rst | 10 +- docs/ibm_pi_key.rst | 2 +- docs/ibm_pi_key_info.rst | 2 +- docs/ibm_pi_keys_info.rst | 2 +- docs/ibm_pi_network.rst | 26 +- docs/ibm_pi_network_info.rst | 2 +- docs/ibm_pi_network_port.rst | 2 +- docs/ibm_pi_network_port_attach.rst | 10 +- docs/ibm_pi_network_port_info.rst | 2 +- docs/ibm_pi_placement_group.rst | 2 +- docs/ibm_pi_placement_group_info.rst | 6 +- docs/ibm_pi_placement_groups_info.rst | 2 +- docs/ibm_pi_public_network_info.rst | 2 +- docs/ibm_pi_pvm_snapshots_info.rst | 2 +- docs/ibm_pi_sap_profile_info.rst | 2 +- docs/ibm_pi_sap_profiles_info.rst | 2 +- docs/ibm_pi_shared_processor_pool.rst | 26 +- docs/ibm_pi_shared_processor_pool_info.rst | 2 +- docs/ibm_pi_shared_processor_pools_info.rst | 2 +- docs/ibm_pi_snapshot.rst | 10 +- docs/ibm_pi_spp_placement_group.rst | 10 +- docs/ibm_pi_spp_placement_group_info.rst | 6 +- docs/ibm_pi_spp_placement_groups_info.rst | 2 +- docs/ibm_pi_storage_pool_capacity_info.rst | 2 +- docs/ibm_pi_storage_pools_capacity_info.rst | 2 +- docs/ibm_pi_storage_type_capacity_info.rst | 2 +- docs/ibm_pi_storage_types_capacity_info.rst | 2 +- docs/ibm_pi_system_pools_info.rst | 2 +- docs/ibm_pi_tenant_info.rst | 2 +- docs/ibm_pi_volume.rst | 50 +- docs/ibm_pi_volume_attach.rst | 10 +- ...ibm_pi_volume_flash_copy_mappings_info.rst | 67 +++ docs/ibm_pi_volume_group.rst | 85 ++++ docs/ibm_pi_volume_group_action.rst | 81 ++++ docs/ibm_pi_volume_group_details_info.rst | 67 +++ docs/ibm_pi_volume_group_info.rst | 67 +++ ...e_group_remote_copy_relationships_info.rst | 67 +++ ...m_pi_volume_group_storage_details_info.rst | 67 +++ docs/ibm_pi_volume_groups_details_info.rst | 63 +++ docs/ibm_pi_volume_groups_info.rst | 63 +++ docs/ibm_pi_volume_info.rst | 2 +- docs/ibm_pi_volume_onboarding.rst | 81 ++++ docs/ibm_pi_volume_onboarding_info.rst | 67 +++ docs/ibm_pi_volume_onboardings_info.rst | 63 +++ ...i_volume_remote_copy_relationship_info.rst | 67 +++ docs/ibm_pi_vpn_connection.rst | 14 +- docs/ibm_pn_application_chrome.rst | 2 +- docs/ibm_pn_application_chrome_info.rst | 2 +- docs/ibm_resource_group.rst | 10 +- docs/ibm_resource_group_info.rst | 10 +- docs/ibm_resource_instance.rst | 38 +- docs/ibm_resource_instance_info.rst | 10 +- docs/ibm_resource_key.rst | 22 +- docs/ibm_resource_key_info.rst | 10 +- docs/ibm_resource_quota_info.rst | 2 +- docs/ibm_resource_tag_info.rst | 2 +- .../ibm_satellite_attach_host_script_info.rst | 18 +- docs/ibm_satellite_cluster_info.rst | 10 +- docs/ibm_satellite_cluster_worker_pool.rst | 38 +- ...ibm_satellite_cluster_worker_pool_info.rst | 10 +- ...te_cluster_worker_pool_zone_attachment.rst | 2 +- ...uster_worker_pool_zone_attachment_info.rst | 2 +- docs/ibm_satellite_endpoint.rst | 46 +- docs/ibm_satellite_endpoint_info.rst | 10 +- docs/ibm_satellite_host.rst | 22 +- docs/ibm_satellite_link.rst | 10 +- docs/ibm_satellite_link_info.rst | 2 +- docs/ibm_satellite_location.rst | 42 +- docs/ibm_satellite_location_info.rst | 2 +- docs/ibm_satellite_location_nlb_dns.rst | 2 +- docs/ibm_satellite_location_nlb_dns_info.rst | 2 +- docs/ibm_scc_account_location_info.rst | 2 +- ...ibm_scc_account_location_settings_info.rst | 2 +- docs/ibm_scc_account_locations_info.rst | 2 +- ...scc_account_notification_settings_info.rst | 2 +- docs/ibm_scc_account_settings.rst | 2 +- docs/ibm_scc_posture_collector.rst | 2 +- docs/ibm_scc_posture_collector_info.rst | 2 +- docs/ibm_scc_posture_collectors_info.rst | 2 +- docs/ibm_scc_posture_credential.rst | 6 +- docs/ibm_scc_posture_credential_info.rst | 2 +- docs/ibm_scc_posture_credentials_info.rst | 2 +- docs/ibm_scc_posture_group_profile_info.rst | 2 +- docs/ibm_scc_posture_latest_scans_info.rst | 2 +- docs/ibm_scc_posture_profile_import.rst | 10 +- docs/ibm_scc_posture_profile_info.rst | 2 +- docs/ibm_scc_posture_profiles_info.rst | 2 +- ...m_scc_posture_scan_initiate_validation.rst | 18 +- docs/ibm_scc_posture_scan_summaries_info.rst | 2 +- docs/ibm_scc_posture_scan_summary_info.rst | 2 +- docs/ibm_scc_posture_scope.rst | 18 +- ...ibm_scc_posture_scope_correlation_info.rst | 2 +- docs/ibm_scc_posture_scope_info.rst | 2 +- docs/ibm_scc_posture_scopes_info.rst | 2 +- docs/ibm_scc_rule.rst | 26 +- docs/ibm_scc_rule_attachment.rst | 2 +- docs/ibm_scc_template.rst | 2 +- docs/ibm_scc_template_attachment.rst | 2 +- docs/ibm_schematics_action_info.rst | 2 +- docs/ibm_schematics_inventory.rst | 2 +- docs/ibm_schematics_inventory_info.rst | 2 +- docs/ibm_schematics_job.rst | 42 +- docs/ibm_schematics_job_info.rst | 10 +- docs/ibm_schematics_output_info.rst | 18 +- docs/ibm_schematics_resource_query.rst | 2 +- docs/ibm_schematics_resource_query_info.rst | 2 +- docs/ibm_schematics_state_info.rst | 2 +- docs/ibm_schematics_workspace_info.rst | 10 +- docs/ibm_security_group.rst | 2 +- docs/ibm_security_group_info.rst | 10 +- docs/ibm_service_instance.rst | 10 +- docs/ibm_service_instance_info.rst | 10 +- docs/ibm_service_key.rst | 10 +- docs/ibm_service_key_info.rst | 10 +- docs/ibm_service_plan_info.rst | 2 +- docs/ibm_space.rst | 2 +- docs/ibm_space_info.rst | 2 +- docs/ibm_ssl_certificate.rst | 56 +-- docs/ibm_storage_block.rst | 42 +- docs/ibm_storage_evault.rst | 18 +- docs/ibm_storage_file.rst | 54 +-- docs/ibm_subnet.rst | 26 +- docs/ibm_tg_connection.rst | 46 +- docs/ibm_tg_connection_prefix_filter.rst | 26 +- docs/ibm_tg_connection_prefix_filter_info.rst | 10 +- .../ibm_tg_connection_prefix_filters_info.rst | 10 +- docs/ibm_tg_gateway.rst | 10 +- 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 +- docs/ibm_tg_route_report.rst | 2 +- docs/ibm_tg_route_report_info.rst | 2 +- docs/ibm_tg_route_reports_info.rst | 2 +- plugins/modules/ibm_account_info.py | 4 +- plugins/modules/ibm_api_gateway_endpoint.py | 66 +-- .../ibm_api_gateway_endpoint_subscription.py | 4 +- plugins/modules/ibm_api_gateway_info.py | 4 +- plugins/modules/ibm_app.py | 170 +++---- plugins/modules/ibm_app_config_collection.py | 48 +- .../modules/ibm_app_config_collection_info.py | 38 +- .../ibm_app_config_collections_info.py | 22 +- plugins/modules/ibm_app_config_environment.py | 42 +- .../ibm_app_config_environment_info.py | 4 +- .../ibm_app_config_environments_info.py | 40 +- plugins/modules/ibm_app_config_feature.py | 126 ++--- .../modules/ibm_app_config_feature_info.py | 32 +- .../modules/ibm_app_config_features_info.py | 84 ++-- .../modules/ibm_app_config_properties_info.py | 68 +-- plugins/modules/ibm_app_config_property.py | 102 ++-- .../modules/ibm_app_config_property_info.py | 4 +- plugins/modules/ibm_app_config_segment.py | 44 +- .../modules/ibm_app_config_segment_info.py | 4 +- .../modules/ibm_app_config_segments_info.py | 40 +- plugins/modules/ibm_app_config_snapshot.py | 78 ++-- .../modules/ibm_app_config_snapshot_info.py | 20 +- .../modules/ibm_app_config_snapshots_info.py | 40 +- plugins/modules/ibm_app_domain_private.py | 26 +- .../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 | 4 +- plugins/modules/ibm_app_route.py | 50 +- plugins/modules/ibm_app_route_info.py | 40 +- plugins/modules/ibm_appid_action_url.py | 6 +- plugins/modules/ibm_appid_action_url_info.py | 4 +- plugins/modules/ibm_appid_apm.py | 78 ++-- plugins/modules/ibm_appid_apm_info.py | 4 +- plugins/modules/ibm_appid_application.py | 26 +- plugins/modules/ibm_appid_application_info.py | 4 +- .../modules/ibm_appid_application_roles.py | 6 +- .../ibm_appid_application_roles_info.py | 4 +- .../modules/ibm_appid_application_scopes.py | 6 +- .../ibm_appid_application_scopes_info.py | 4 +- .../modules/ibm_appid_applications_info.py | 4 +- plugins/modules/ibm_appid_audit_status.py | 6 +- .../modules/ibm_appid_audit_status_info.py | 4 +- .../ibm_appid_cloud_directory_template.py | 46 +- ...ibm_appid_cloud_directory_template_info.py | 24 +- .../modules/ibm_appid_cloud_directory_user.py | 92 ++-- .../ibm_appid_cloud_directory_user_info.py | 4 +- .../modules/ibm_appid_idp_cloud_directory.py | 96 ++-- .../ibm_appid_idp_cloud_directory_info.py | 4 +- plugins/modules/ibm_appid_idp_custom.py | 6 +- plugins/modules/ibm_appid_idp_custom_info.py | 4 +- plugins/modules/ibm_appid_idp_facebook.py | 6 +- .../modules/ibm_appid_idp_facebook_info.py | 4 +- plugins/modules/ibm_appid_idp_google.py | 6 +- plugins/modules/ibm_appid_idp_google_info.py | 4 +- plugins/modules/ibm_appid_idp_saml.py | 6 +- plugins/modules/ibm_appid_idp_saml_info.py | 4 +- .../ibm_appid_idp_saml_metadata_info.py | 4 +- plugins/modules/ibm_appid_languages.py | 26 +- plugins/modules/ibm_appid_languages_info.py | 4 +- plugins/modules/ibm_appid_mfa.py | 6 +- plugins/modules/ibm_appid_mfa_channel.py | 6 +- plugins/modules/ibm_appid_mfa_channel_info.py | 4 +- plugins/modules/ibm_appid_mfa_info.py | 4 +- plugins/modules/ibm_appid_password_regex.py | 6 +- .../modules/ibm_appid_password_regex_info.py | 4 +- plugins/modules/ibm_appid_redirect_urls.py | 6 +- .../modules/ibm_appid_redirect_urls_info.py | 4 +- plugins/modules/ibm_appid_role.py | 10 +- plugins/modules/ibm_appid_role_info.py | 20 +- plugins/modules/ibm_appid_roles_info.py | 4 +- plugins/modules/ibm_appid_theme_color.py | 22 +- plugins/modules/ibm_appid_theme_color_info.py | 4 +- plugins/modules/ibm_appid_theme_text.py | 6 +- plugins/modules/ibm_appid_theme_text_info.py | 4 +- plugins/modules/ibm_appid_token_config.py | 62 +-- .../modules/ibm_appid_token_config_info.py | 4 +- plugins/modules/ibm_appid_user_roles.py | 30 +- plugins/modules/ibm_appid_user_roles_info.py | 20 +- .../modules/ibm_atracker_endpoints_info.py | 4 +- plugins/modules/ibm_atracker_route.py | 4 +- plugins/modules/ibm_atracker_routes_info.py | 4 +- plugins/modules/ibm_atracker_settings.py | 24 +- plugins/modules/ibm_atracker_target.py | 51 +- plugins/modules/ibm_atracker_targets_info.py | 4 +- plugins/modules/ibm_cbr_rule.py | 40 +- plugins/modules/ibm_cbr_rule_info.py | 4 +- plugins/modules/ibm_cbr_zone.py | 48 +- plugins/modules/ibm_cbr_zone_info.py | 4 +- plugins/modules/ibm_cd_tekton_pipeline.py | 44 +- .../ibm_cd_tekton_pipeline_definition.py | 18 +- .../ibm_cd_tekton_pipeline_definition_info.py | 20 +- .../modules/ibm_cd_tekton_pipeline_info.py | 4 +- .../ibm_cd_tekton_pipeline_property.py | 10 +- .../ibm_cd_tekton_pipeline_property_info.py | 4 +- .../modules/ibm_cd_tekton_pipeline_trigger.py | 145 +++--- .../ibm_cd_tekton_pipeline_trigger_info.py | 4 +- ...ibm_cd_tekton_pipeline_trigger_property.py | 34 +- ...d_tekton_pipeline_trigger_property_info.py | 24 +- plugins/modules/ibm_cd_toolchain.py | 26 +- plugins/modules/ibm_cd_toolchain_info.py | 4 +- .../ibm_cd_toolchain_tool_appconfig.py | 14 +- .../ibm_cd_toolchain_tool_appconfig_info.py | 20 +- .../ibm_cd_toolchain_tool_artifactory.py | 24 +- .../ibm_cd_toolchain_tool_artifactory_info.py | 4 +- .../ibm_cd_toolchain_tool_bitbucketgit.py | 50 +- ...ibm_cd_toolchain_tool_bitbucketgit_info.py | 4 +- .../modules/ibm_cd_toolchain_tool_custom.py | 26 +- .../ibm_cd_toolchain_tool_custom_info.py | 4 +- .../ibm_cd_toolchain_tool_devopsinsights.py | 8 +- ...m_cd_toolchain_tool_devopsinsights_info.py | 4 +- ...bm_cd_toolchain_tool_githubconsolidated.py | 28 +- ..._toolchain_tool_githubconsolidated_info.py | 20 +- .../modules/ibm_cd_toolchain_tool_gitlab.py | 50 +- .../ibm_cd_toolchain_tool_gitlab_info.py | 4 +- .../ibm_cd_toolchain_tool_hashicorpvault.py | 28 +- ...m_cd_toolchain_tool_hashicorpvault_info.py | 20 +- .../ibm_cd_toolchain_tool_hostedgit.py | 46 +- .../ibm_cd_toolchain_tool_hostedgit_info.py | 20 +- .../modules/ibm_cd_toolchain_tool_jenkins.py | 30 +- .../ibm_cd_toolchain_tool_jenkins_info.py | 20 +- plugins/modules/ibm_cd_toolchain_tool_jira.py | 217 +++++++++ .../ibm_cd_toolchain_tool_jira_info.py | 141 ++++++ .../ibm_cd_toolchain_tool_keyprotect.py | 14 +- .../ibm_cd_toolchain_tool_keyprotect_info.py | 20 +- .../modules/ibm_cd_toolchain_tool_nexus.py | 30 +- .../ibm_cd_toolchain_tool_nexus_info.py | 20 +- .../ibm_cd_toolchain_tool_pagerduty.py | 30 +- .../ibm_cd_toolchain_tool_pagerduty_info.py | 20 +- .../modules/ibm_cd_toolchain_tool_pipeline.py | 30 +- .../ibm_cd_toolchain_tool_pipeline_info.py | 4 +- .../ibm_cd_toolchain_tool_privateworker.py | 10 +- ...bm_cd_toolchain_tool_privateworker_info.py | 4 +- .../ibm_cd_toolchain_tool_saucelabs.py | 10 +- .../ibm_cd_toolchain_tool_saucelabs_info.py | 4 +- .../ibm_cd_toolchain_tool_secretsmanager.py | 30 +- ...m_cd_toolchain_tool_secretsmanager_info.py | 4 +- ...bm_cd_toolchain_tool_securitycompliance.py | 30 +- ..._toolchain_tool_securitycompliance_info.py | 4 +- .../modules/ibm_cd_toolchain_tool_slack.py | 30 +- .../ibm_cd_toolchain_tool_slack_info.py | 20 +- .../ibm_cd_toolchain_tool_sonarqube.py | 26 +- .../ibm_cd_toolchain_tool_sonarqube_info.py | 4 +- plugins/modules/ibm_cdn.py | 136 +++--- ...bm_certificate_manager_certificate_info.py | 16 +- ...m_certificate_manager_certificates_info.py | 4 +- .../modules/ibm_certificate_manager_import.py | 24 +- .../modules/ibm_certificate_manager_order.py | 94 ++-- plugins/modules/ibm_cis.py | 70 +-- plugins/modules/ibm_cis_alert.py | 60 +-- plugins/modules/ibm_cis_alerts_info.py | 4 +- plugins/modules/ibm_cis_cache_settings.py | 68 +-- .../modules/ibm_cis_cache_settings_info.py | 4 +- plugins/modules/ibm_cis_certificate_order.py | 24 +- plugins/modules/ibm_cis_certificate_upload.py | 42 +- plugins/modules/ibm_cis_certificates_info.py | 4 +- .../ibm_cis_custom_certificates_info.py | 20 +- plugins/modules/ibm_cis_custom_page.py | 36 +- plugins/modules/ibm_cis_custom_pages_info.py | 4 +- plugins/modules/ibm_cis_dns_record.py | 92 ++-- plugins/modules/ibm_cis_dns_records_import.py | 4 +- plugins/modules/ibm_cis_dns_records_info.py | 4 +- plugins/modules/ibm_cis_domain.py | 30 +- plugins/modules/ibm_cis_domain_info.py | 24 +- plugins/modules/ibm_cis_domain_settings.py | 286 ++++++------ .../modules/ibm_cis_edge_functions_action.py | 24 +- .../ibm_cis_edge_functions_actions_info.py | 20 +- .../modules/ibm_cis_edge_functions_trigger.py | 38 +- .../ibm_cis_edge_functions_triggers_info.py | 4 +- plugins/modules/ibm_cis_filter.py | 42 +- plugins/modules/ibm_cis_filters_info.py | 4 +- plugins/modules/ibm_cis_firewall.py | 10 +- plugins/modules/ibm_cis_firewall_info.py | 24 +- plugins/modules/ibm_cis_firewall_rule.py | 40 +- .../modules/ibm_cis_firewall_rules_info.py | 4 +- .../modules/ibm_cis_global_load_balancer.py | 134 +++--- .../ibm_cis_global_load_balancers_info.py | 4 +- plugins/modules/ibm_cis_healthcheck.py | 144 +++--- plugins/modules/ibm_cis_healthchecks_info.py | 4 +- plugins/modules/ibm_cis_info.py | 22 +- plugins/modules/ibm_cis_ip_addresses_info.py | 4 +- plugins/modules/ibm_cis_logpush_job.py | 62 +-- plugins/modules/ibm_cis_logpush_jobs_info.py | 4 +- plugins/modules/ibm_cis_mtls.py | 24 +- plugins/modules/ibm_cis_mtls_app.py | 74 +-- plugins/modules/ibm_cis_mtls_apps_info.py | 4 +- plugins/modules/ibm_cis_mtlss_info.py | 20 +- plugins/modules/ibm_cis_origin_auth.py | 44 +- plugins/modules/ibm_cis_origin_auths_info.py | 24 +- plugins/modules/ibm_cis_origin_pool.py | 82 ++-- plugins/modules/ibm_cis_origin_pools_info.py | 4 +- plugins/modules/ibm_cis_page_rule.py | 4 +- plugins/modules/ibm_cis_page_rules_info.py | 4 +- plugins/modules/ibm_cis_range_app.py | 116 ++--- plugins/modules/ibm_cis_range_apps_info.py | 4 +- plugins/modules/ibm_cis_rate_limit.py | 96 ++-- plugins/modules/ibm_cis_rate_limit_info.py | 4 +- plugins/modules/ibm_cis_routing.py | 4 +- plugins/modules/ibm_cis_tls_settings.py | 4 +- plugins/modules/ibm_cis_waf_group.py | 56 +-- plugins/modules/ibm_cis_waf_groups_info.py | 4 +- plugins/modules/ibm_cis_waf_package.py | 24 +- 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 +- plugins/modules/ibm_cis_webhook.py | 38 +- plugins/modules/ibm_cis_webhooks_info.py | 4 +- .../ibm_cloud_shell_account_settings.py | 64 +-- .../ibm_cloud_shell_account_settings_info.py | 4 +- plugins/modules/ibm_cloudant.py | 160 +++---- plugins/modules/ibm_cloudant_database.py | 6 +- plugins/modules/ibm_cloudant_database_info.py | 4 +- plugins/modules/ibm_cloudant_info.py | 22 +- plugins/modules/ibm_cm_catalog.py | 88 +++- plugins/modules/ibm_cm_catalog_info.py | 6 +- plugins/modules/ibm_cm_offering.py | 348 +++++++++++++- plugins/modules/ibm_cm_offering_info.py | 14 +- plugins/modules/ibm_cm_offering_instance.py | 124 ++--- .../modules/ibm_cm_offering_instance_info.py | 4 +- plugins/modules/ibm_cm_validation.py | 252 ++++++++++ plugins/modules/ibm_cm_version.py | 238 ++++++++-- plugins/modules/ibm_cm_version_info.py | 17 +- .../modules/ibm_compute_autoscale_group.py | 86 ++-- .../modules/ibm_compute_autoscale_policy.py | 42 +- plugins/modules/ibm_compute_bare_metal.py | 370 +++++++-------- .../modules/ibm_compute_bare_metal_info.py | 40 +- plugins/modules/ibm_compute_dedicated_host.py | 76 +-- .../ibm_compute_image_template_info.py | 4 +- plugins/modules/ibm_compute_monitor.py | 26 +- .../modules/ibm_compute_placement_group.py | 28 +- .../ibm_compute_placement_group_info.py | 4 +- .../modules/ibm_compute_provisioning_hook.py | 26 +- .../modules/ibm_compute_reserved_capacity.py | 26 +- .../ibm_compute_reserved_capacity_info.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 | 22 +- plugins/modules/ibm_compute_user.py | 156 +++---- plugins/modules/ibm_compute_vm_instance.py | 436 +++++++++--------- .../modules/ibm_compute_vm_instance_info.py | 24 +- plugins/modules/ibm_container_addons.py | 6 +- plugins/modules/ibm_container_addons_info.py | 4 +- plugins/modules/ibm_container_alb.py | 24 +- plugins/modules/ibm_container_alb_cert.py | 28 +- .../modules/ibm_container_alb_cert_info.py | 22 +- plugins/modules/ibm_container_alb_create.py | 62 +-- plugins/modules/ibm_container_alb_info.py | 4 +- .../modules/ibm_container_api_key_reset.py | 4 +- plugins/modules/ibm_container_bind_service.py | 80 ++-- .../ibm_container_bind_service_info.py | 4 +- plugins/modules/ibm_container_cluster.py | 341 +++++++------- .../ibm_container_cluster_config_info.py | 52 +-- .../modules/ibm_container_cluster_feature.py | 58 +-- plugins/modules/ibm_container_cluster_info.py | 24 +- .../ibm_container_cluster_versions_info.py | 4 +- .../ibm_container_cluster_worker_info.py | 22 +- .../modules/ibm_container_dedicated_host.py | 10 +- ...bm_container_dedicated_host_flavor_info.py | 4 +- ...m_container_dedicated_host_flavors_info.py | 4 +- .../ibm_container_dedicated_host_info.py | 20 +- .../ibm_container_dedicated_host_pool.py | 24 +- .../ibm_container_dedicated_host_pool_info.py | 4 +- plugins/modules/ibm_container_nlb_dns.py | 24 +- plugins/modules/ibm_container_nlb_dns_info.py | 4 +- .../ibm_container_storage_attachment.py | 32 +- .../ibm_container_storage_attachment_info.py | 42 +- plugins/modules/ibm_container_vpc_alb.py | 26 +- .../modules/ibm_container_vpc_alb_create.py | 4 +- plugins/modules/ibm_container_vpc_alb_info.py | 22 +- plugins/modules/ibm_container_vpc_cluster.py | 278 +++++------ .../ibm_container_vpc_cluster_alb_info.py | 22 +- .../modules/ibm_container_vpc_cluster_info.py | 20 +- .../ibm_container_vpc_cluster_worker_info.py | 4 +- ..._container_vpc_cluster_worker_pool_info.py | 4 +- plugins/modules/ibm_container_vpc_worker.py | 4 +- .../modules/ibm_container_vpc_worker_pool.py | 118 +++-- .../ibm_container_vpc_worker_pool_info.py | 20 +- plugins/modules/ibm_container_worker_pool.py | 93 ++-- .../modules/ibm_container_worker_pool_info.py | 4 +- ...m_container_worker_pool_zone_attachment.py | 44 +- plugins/modules/ibm_cos_bucket.py | 212 ++++----- plugins/modules/ibm_cos_bucket_info.py | 38 +- plugins/modules/ibm_cos_bucket_object.py | 100 ++-- plugins/modules/ibm_cos_bucket_object_info.py | 42 +- .../ibm_cos_bucket_replication_rule.py | 4 +- plugins/modules/ibm_cr_namespace.py | 22 +- plugins/modules/ibm_cr_namespaces_info.py | 4 +- plugins/modules/ibm_cr_retention_policy.py | 4 +- plugins/modules/ibm_database.py | 201 ++++---- plugins/modules/ibm_database_backup_info.py | 4 +- plugins/modules/ibm_database_backups_info.py | 4 +- .../modules/ibm_database_connection_info.py | 36 +- plugins/modules/ibm_database_info.py | 44 +- ...bm_database_point_in_time_recovery_info.py | 4 +- plugins/modules/ibm_database_remotes_info.py | 4 +- plugins/modules/ibm_database_task_info.py | 4 +- plugins/modules/ibm_database_tasks_info.py | 4 +- plugins/modules/ibm_dl_gateway.py | 240 +++++----- 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 | 4 +- plugins/modules/ibm_dl_provider_gateway.py | 76 +-- .../modules/ibm_dl_provider_gateways_info.py | 4 +- plugins/modules/ibm_dl_provider_ports_info.py | 4 +- plugins/modules/ibm_dl_route_report.py | 6 +- plugins/modules/ibm_dl_route_report_info.py | 4 +- plugins/modules/ibm_dl_route_reports_info.py | 4 +- plugins/modules/ibm_dl_routers_info.py | 20 +- plugins/modules/ibm_dl_virtual_connection.py | 24 +- plugins/modules/ibm_dns_custom_resolver.py | 56 +-- ...ibm_dns_custom_resolver_forwarding_rule.py | 40 +- ...s_custom_resolver_forwarding_rules_info.py | 4 +- .../ibm_dns_custom_resolver_location.py | 4 +- .../ibm_dns_custom_resolver_secondary_zone.py | 38 +- ...ns_custom_resolver_secondary_zones_info.py | 4 +- .../modules/ibm_dns_custom_resolvers_info.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 | 24 +- plugins/modules/ibm_dns_glb.py | 58 +-- plugins/modules/ibm_dns_glb_monitor.py | 136 +++--- plugins/modules/ibm_dns_glb_monitors_info.py | 4 +- plugins/modules/ibm_dns_glb_pool.py | 58 +-- plugins/modules/ibm_dns_glb_pools_info.py | 4 +- plugins/modules/ibm_dns_glbs_info.py | 4 +- plugins/modules/ibm_dns_permitted_network.py | 24 +- .../ibm_dns_permitted_networks_info.py | 4 +- plugins/modules/ibm_dns_record.py | 164 +++---- plugins/modules/ibm_dns_resource_record.py | 94 ++-- .../modules/ibm_dns_resource_records_info.py | 20 +- plugins/modules/ibm_dns_reverse_record.py | 4 +- plugins/modules/ibm_dns_secondary.py | 6 +- plugins/modules/ibm_dns_secondary_info.py | 4 +- plugins/modules/ibm_dns_zone.py | 38 +- plugins/modules/ibm_dns_zones_info.py | 4 +- plugins/modules/ibm_en_destination.py | 10 +- plugins/modules/ibm_en_destination_android.py | 48 +- .../ibm_en_destination_android_info.py | 4 +- plugins/modules/ibm_en_destination_chrome.py | 44 +- .../modules/ibm_en_destination_chrome_info.py | 4 +- plugins/modules/ibm_en_destination_firefox.py | 44 +- .../ibm_en_destination_firefox_info.py | 4 +- plugins/modules/ibm_en_destination_info.py | 20 +- plugins/modules/ibm_en_destination_ios.py | 66 +-- .../modules/ibm_en_destination_ios_info.py | 4 +- plugins/modules/ibm_en_destination_safari.py | 132 +++--- .../modules/ibm_en_destination_safari_info.py | 20 +- plugins/modules/ibm_en_destination_slack.py | 30 +- .../modules/ibm_en_destination_slack_info.py | 20 +- plugins/modules/ibm_en_destination_webhook.py | 56 +-- .../ibm_en_destination_webhook_info.py | 20 +- plugins/modules/ibm_en_destinations_info.py | 4 +- plugins/modules/ibm_en_source.py | 6 +- plugins/modules/ibm_en_source_info.py | 4 +- plugins/modules/ibm_en_subscription.py | 44 +- .../modules/ibm_en_subscription_android.py | 44 +- .../ibm_en_subscription_android_info.py | 20 +- plugins/modules/ibm_en_subscription_chrome.py | 26 +- .../ibm_en_subscription_chrome_info.py | 4 +- plugins/modules/ibm_en_subscription_email.py | 58 +-- .../modules/ibm_en_subscription_email_info.py | 20 +- .../modules/ibm_en_subscription_firefox.py | 42 +- .../ibm_en_subscription_firefox_info.py | 4 +- plugins/modules/ibm_en_subscription_info.py | 4 +- plugins/modules/ibm_en_subscription_ios.py | 22 +- .../modules/ibm_en_subscription_ios_info.py | 4 +- plugins/modules/ibm_en_subscription_safari.py | 26 +- .../ibm_en_subscription_safari_info.py | 4 +- plugins/modules/ibm_en_subscription_slack.py | 46 +- .../modules/ibm_en_subscription_slack_info.py | 4 +- plugins/modules/ibm_en_subscription_sms.py | 28 +- .../modules/ibm_en_subscription_sms_info.py | 4 +- .../modules/ibm_en_subscription_webhook.py | 62 +-- .../ibm_en_subscription_webhook_info.py | 20 +- plugins/modules/ibm_en_subscriptions_info.py | 4 +- plugins/modules/ibm_en_topic.py | 46 +- plugins/modules/ibm_en_topic_info.py | 20 +- plugins/modules/ibm_en_topics_info.py | 22 +- plugins/modules/ibm_enterprise.py | 20 +- plugins/modules/ibm_enterprise_account.py | 42 +- .../modules/ibm_enterprise_account_group.py | 20 +- .../ibm_enterprise_account_groups_info.py | 4 +- .../modules/ibm_enterprise_accounts_info.py | 4 +- plugins/modules/ibm_enterprises_info.py | 4 +- plugins/modules/ibm_event_streams_schema.py | 24 +- .../modules/ibm_event_streams_schema_info.py | 4 +- plugins/modules/ibm_event_streams_topic.py | 42 +- .../modules/ibm_event_streams_topic_info.py | 4 +- plugins/modules/ibm_firewall.py | 4 +- plugins/modules/ibm_firewall_policy.py | 26 +- plugins/modules/ibm_function_action.py | 44 +- plugins/modules/ibm_function_action_info.py | 4 +- plugins/modules/ibm_function_namespace.py | 26 +- .../modules/ibm_function_namespace_info.py | 4 +- plugins/modules/ibm_function_package.py | 46 +- plugins/modules/ibm_function_package_info.py | 20 +- plugins/modules/ibm_function_rule.py | 38 +- plugins/modules/ibm_function_rule_info.py | 4 +- plugins/modules/ibm_function_trigger.py | 48 +- plugins/modules/ibm_function_trigger_info.py | 4 +- .../modules/ibm_hardware_firewall_shared.py | 4 +- plugins/modules/ibm_hpcs.py | 132 +++--- plugins/modules/ibm_hpcs_info.py | 22 +- plugins/modules/ibm_hpcs_key_template.py | 82 ++-- plugins/modules/ibm_hpcs_key_template_info.py | 30 +- plugins/modules/ibm_hpcs_keystore.py | 214 ++++----- plugins/modules/ibm_hpcs_keystore_info.py | 24 +- plugins/modules/ibm_hpcs_managed_key.py | 92 ++-- plugins/modules/ibm_hpcs_managed_key_info.py | 30 +- plugins/modules/ibm_hpcs_vault.py | 10 +- plugins/modules/ibm_hpcs_vault_info.py | 20 +- plugins/modules/ibm_iam_access_group.py | 6 +- .../ibm_iam_access_group_account_settings.py | 4 +- .../ibm_iam_access_group_dynamic_rule.py | 28 +- plugins/modules/ibm_iam_access_group_info.py | 4 +- .../modules/ibm_iam_access_group_members.py | 4 +- .../modules/ibm_iam_access_group_policy.py | 104 ++--- .../ibm_iam_access_group_policy_info.py | 4 +- plugins/modules/ibm_iam_account_settings.py | 82 ++-- .../modules/ibm_iam_account_settings_info.py | 4 +- plugins/modules/ibm_iam_api_key.py | 38 +- plugins/modules/ibm_iam_api_key_info.py | 4 +- plugins/modules/ibm_iam_auth_token_info.py | 4 +- .../ibm_iam_authorization_policies_info.py | 4 +- .../modules/ibm_iam_authorization_policy.py | 130 +++--- .../ibm_iam_authorization_policy_detach.py | 4 +- plugins/modules/ibm_iam_custom_role.py | 48 +- 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 | 66 +-- plugins/modules/ibm_iam_service_id.py | 6 +- plugins/modules/ibm_iam_service_id_info.py | 4 +- plugins/modules/ibm_iam_service_policy.py | 104 ++--- .../modules/ibm_iam_service_policy_info.py | 4 +- plugins/modules/ibm_iam_trusted_profile.py | 22 +- .../ibm_iam_trusted_profile_claim_rule.py | 44 +- ...ibm_iam_trusted_profile_claim_rule_info.py | 4 +- ...bm_iam_trusted_profile_claim_rules_info.py | 4 +- .../modules/ibm_iam_trusted_profile_info.py | 4 +- .../modules/ibm_iam_trusted_profile_link.py | 6 +- .../ibm_iam_trusted_profile_link_info.py | 4 +- .../ibm_iam_trusted_profile_links_info.py | 4 +- .../modules/ibm_iam_trusted_profile_policy.py | 88 ++-- .../ibm_iam_trusted_profile_policy_info.py | 4 +- .../modules/ibm_iam_trusted_profiles_info.py | 4 +- plugins/modules/ibm_iam_user_invite.py | 42 +- plugins/modules/ibm_iam_user_policy.py | 64 +-- 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 | 22 +- plugins/modules/ibm_iam_users_info.py | 4 +- plugins/modules/ibm_ipsec_vpn.py | 90 ++-- .../modules/ibm_is_backup_policies_info.py | 22 +- plugins/modules/ibm_is_backup_policy.py | 8 +- plugins/modules/ibm_is_backup_policy_info.py | 18 +- plugins/modules/ibm_is_backup_policy_plan.py | 62 +-- .../modules/ibm_is_backup_policy_plan_info.py | 18 +- .../ibm_is_backup_policy_plans_info.py | 4 +- plugins/modules/ibm_is_bare_metal_server.py | 130 +++--- .../ibm_is_bare_metal_server_action.py | 4 +- .../modules/ibm_is_bare_metal_server_disk.py | 6 +- .../ibm_is_bare_metal_server_disk_info.py | 4 +- .../ibm_is_bare_metal_server_disks_info.py | 4 +- .../modules/ibm_is_bare_metal_server_info.py | 20 +- ...s_bare_metal_server_initialization_info.py | 4 +- ..._is_bare_metal_server_network_interface.py | 126 ++--- ...al_server_network_interface_allow_float.py | 90 ++-- ...al_server_network_interface_floating_ip.py | 26 +- ...rver_network_interface_floating_ip_info.py | 20 +- ...ver_network_interface_floating_ips_info.py | 4 +- ...are_metal_server_network_interface_info.py | 20 +- ...rver_network_interface_reserved_ip_info.py | 4 +- ...ver_network_interface_reserved_ips_info.py | 4 +- ...re_metal_server_network_interfaces_info.py | 4 +- .../ibm_is_bare_metal_server_profile_info.py | 4 +- .../ibm_is_bare_metal_server_profiles_info.py | 4 +- .../modules/ibm_is_bare_metal_servers_info.py | 4 +- plugins/modules/ibm_is_dedicated_host.py | 36 +- .../ibm_is_dedicated_host_disk_info.py | 4 +- .../ibm_is_dedicated_host_disk_management.py | 4 +- .../ibm_is_dedicated_host_disks_info.py | 4 +- .../modules/ibm_is_dedicated_host_group.py | 36 +- .../ibm_is_dedicated_host_group_info.py | 4 +- .../ibm_is_dedicated_host_groups_info.py | 4 +- plugins/modules/ibm_is_dedicated_host_info.py | 22 +- .../ibm_is_dedicated_host_profile_info.py | 4 +- .../ibm_is_dedicated_host_profiles_info.py | 4 +- .../modules/ibm_is_dedicated_hosts_info.py | 4 +- .../ibm_is_endpoint_gateway_targets_info.py | 4 +- plugins/modules/ibm_is_floating_ip.py | 42 +- plugins/modules/ibm_is_floating_ip_info.py | 4 +- plugins/modules/ibm_is_floating_ips_info.py | 4 +- plugins/modules/ibm_is_flow_log.py | 74 +-- plugins/modules/ibm_is_flow_log_info.py | 18 +- plugins/modules/ibm_is_flow_logs_info.py | 4 +- plugins/modules/ibm_is_ike_policies_info.py | 4 +- plugins/modules/ibm_is_ike_policy.py | 68 +-- plugins/modules/ibm_is_ike_policy_info.py | 18 +- plugins/modules/ibm_is_image.py | 60 +-- plugins/modules/ibm_is_image_info.py | 20 +- plugins/modules/ibm_is_images_info.py | 22 +- plugins/modules/ibm_is_instance.py | 268 +++++------ plugins/modules/ibm_is_instance_action.py | 24 +- plugins/modules/ibm_is_instance_disk_info.py | 4 +- .../ibm_is_instance_disk_management.py | 4 +- plugins/modules/ibm_is_instance_disks_info.py | 4 +- plugins/modules/ibm_is_instance_group.py | 82 ++-- plugins/modules/ibm_is_instance_group_info.py | 4 +- .../modules/ibm_is_instance_group_manager.py | 60 +-- .../ibm_is_instance_group_manager_action.py | 56 +-- ...m_is_instance_group_manager_action_info.py | 20 +- ..._is_instance_group_manager_actions_info.py | 4 +- .../ibm_is_instance_group_manager_info.py | 20 +- ...is_instance_group_manager_policies_info.py | 4 +- .../ibm_is_instance_group_manager_policy.py | 46 +- ...m_is_instance_group_manager_policy_info.py | 4 +- .../ibm_is_instance_group_managers_info.py | 4 +- .../ibm_is_instance_group_membership.py | 36 +- .../ibm_is_instance_group_membership_info.py | 4 +- .../ibm_is_instance_group_memberships_info.py | 4 +- .../modules/ibm_is_instance_groups_info.py | 4 +- plugins/modules/ibm_is_instance_info.py | 22 +- .../ibm_is_instance_network_interface.py | 48 +- .../ibm_is_instance_network_interface_info.py | 20 +- ...ance_network_interface_reserved_ip_info.py | 4 +- ...nce_network_interface_reserved_ips_info.py | 20 +- ...ibm_is_instance_network_interfaces_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 | 204 ++++---- .../modules/ibm_is_instance_template_info.py | 14 +- .../modules/ibm_is_instance_templates_info.py | 4 +- .../ibm_is_instance_volume_attachment.py | 100 ++-- .../ibm_is_instance_volume_attachment_info.py | 4 +- ...ibm_is_instance_volume_attachments_info.py | 4 +- plugins/modules/ibm_is_instances_info.py | 80 ++-- plugins/modules/ibm_is_ipsec_policies_info.py | 4 +- plugins/modules/ibm_is_ipsec_policy.py | 26 +- plugins/modules/ibm_is_ipsec_policy_info.py | 4 +- plugins/modules/ibm_is_lb.py | 70 +-- plugins/modules/ibm_is_lb_info.py | 4 +- plugins/modules/ibm_is_lb_listener.py | 118 ++--- plugins/modules/ibm_is_lb_listener_info.py | 4 +- .../ibm_is_lb_listener_policies_info.py | 4 +- plugins/modules/ibm_is_lb_listener_policy.py | 88 ++-- .../modules/ibm_is_lb_listener_policy_info.py | 20 +- .../modules/ibm_is_lb_listener_policy_rule.py | 58 +-- .../ibm_is_lb_listener_policy_rule_info.py | 4 +- .../ibm_is_lb_listener_policy_rules_info.py | 4 +- plugins/modules/ibm_is_lb_listeners_info.py | 4 +- plugins/modules/ibm_is_lb_pool.py | 128 ++--- plugins/modules/ibm_is_lb_pool_info.py | 22 +- plugins/modules/ibm_is_lb_pool_member.py | 58 +-- plugins/modules/ibm_is_lb_pool_member_info.py | 4 +- .../modules/ibm_is_lb_pool_members_info.py | 4 +- plugins/modules/ibm_is_lb_pools_info.py | 4 +- plugins/modules/ibm_is_lb_profiles_info.py | 4 +- plugins/modules/ibm_is_lbs_info.py | 4 +- plugins/modules/ibm_is_network_acl.py | 36 +- plugins/modules/ibm_is_network_acl_info.py | 22 +- plugins/modules/ibm_is_network_acl_rule.py | 98 ++-- .../modules/ibm_is_network_acl_rule_info.py | 20 +- .../modules/ibm_is_network_acl_rules_info.py | 4 +- plugins/modules/ibm_is_network_acls_info.py | 4 +- .../modules/ibm_is_operating_system_info.py | 4 +- .../modules/ibm_is_operating_systems_info.py | 4 +- plugins/modules/ibm_is_placement_group.py | 38 +- .../modules/ibm_is_placement_group_info.py | 4 +- .../modules/ibm_is_placement_groups_info.py | 4 +- plugins/modules/ibm_is_public_gateway.py | 30 +- plugins/modules/ibm_is_public_gateway_info.py | 22 +- .../modules/ibm_is_public_gateways_info.py | 4 +- plugins/modules/ibm_is_region_info.py | 4 +- plugins/modules/ibm_is_regions_info.py | 4 +- plugins/modules/ibm_is_security_group.py | 42 +- plugins/modules/ibm_is_security_group_info.py | 4 +- ...rity_group_network_interface_attachment.py | 20 +- plugins/modules/ibm_is_security_group_rule.py | 64 +-- .../ibm_is_security_group_rule_info.py | 4 +- .../ibm_is_security_group_rules_info.py | 4 +- .../modules/ibm_is_security_group_target.py | 22 +- .../ibm_is_security_group_target_info.py | 4 +- .../ibm_is_security_group_targets_info.py | 4 +- .../modules/ibm_is_security_groups_info.py | 4 +- plugins/modules/ibm_is_snapshot.py | 39 +- plugins/modules/ibm_is_snapshot_info.py | 4 +- plugins/modules/ibm_is_snapshots_info.py | 46 +- plugins/modules/ibm_is_ssh_key.py | 38 +- plugins/modules/ibm_is_ssh_key_info.py | 22 +- plugins/modules/ibm_is_ssh_keys_info.py | 4 +- plugins/modules/ibm_is_subnet.py | 120 ++--- plugins/modules/ibm_is_subnet_info.py | 14 +- .../ibm_is_subnet_network_acl_attachment.py | 4 +- ...ibm_is_subnet_public_gateway_attachment.py | 4 +- plugins/modules/ibm_is_subnet_reserved_ip.py | 52 +-- .../modules/ibm_is_subnet_reserved_ip_info.py | 4 +- .../ibm_is_subnet_reserved_ips_info.py | 4 +- .../ibm_is_subnet_routing_table_attachment.py | 20 +- plugins/modules/ibm_is_subnets_info.py | 22 +- .../ibm_is_virtual_endpoint_gateway.py | 48 +- .../ibm_is_virtual_endpoint_gateway_info.py | 4 +- .../ibm_is_virtual_endpoint_gateway_ip.py | 20 +- ...bm_is_virtual_endpoint_gateway_ips_info.py | 4 +- .../ibm_is_virtual_endpoint_gateways_info.py | 4 +- plugins/modules/ibm_is_volume.py | 93 ++-- plugins/modules/ibm_is_volume_info.py | 4 +- plugins/modules/ibm_is_volume_profile_info.py | 4 +- .../modules/ibm_is_volume_profiles_info.py | 4 +- plugins/modules/ibm_is_volumes_info.py | 18 +- plugins/modules/ibm_is_vpc.py | 66 +-- plugins/modules/ibm_is_vpc_address_prefix.py | 10 +- .../modules/ibm_is_vpc_address_prefix_info.py | 26 +- .../ibm_is_vpc_address_prefixes_info.py | 4 +- .../ibm_is_vpc_default_routing_table_info.py | 4 +- plugins/modules/ibm_is_vpc_info.py | 14 +- plugins/modules/ibm_is_vpc_route.py | 42 +- plugins/modules/ibm_is_vpc_routing_table.py | 54 ++- .../modules/ibm_is_vpc_routing_table_info.py | 4 +- .../modules/ibm_is_vpc_routing_table_route.py | 60 +-- .../ibm_is_vpc_routing_table_route_info.py | 36 +- .../ibm_is_vpc_routing_table_routes_info.py | 4 +- .../modules/ibm_is_vpc_routing_tables_info.py | 4 +- plugins/modules/ibm_is_vpcs_info.py | 4 +- plugins/modules/ibm_is_vpn_gateway.py | 34 +- .../modules/ibm_is_vpn_gateway_connection.py | 118 ++--- .../ibm_is_vpn_gateway_connection_info.py | 26 +- .../ibm_is_vpn_gateway_connections_info.py | 4 +- plugins/modules/ibm_is_vpn_gateway_info.py | 4 +- plugins/modules/ibm_is_vpn_gateways_info.py | 4 +- plugins/modules/ibm_is_vpn_server.py | 148 +++--- plugins/modules/ibm_is_vpn_server_client.py | 6 +- ...is_vpn_server_client_configuration_info.py | 4 +- .../modules/ibm_is_vpn_server_client_info.py | 4 +- .../modules/ibm_is_vpn_server_clients_info.py | 4 +- plugins/modules/ibm_is_vpn_server_info.py | 4 +- plugins/modules/ibm_is_vpn_server_route.py | 26 +- .../modules/ibm_is_vpn_server_route_info.py | 22 +- .../modules/ibm_is_vpn_server_routes_info.py | 4 +- plugins/modules/ibm_is_vpn_servers_info.py | 4 +- plugins/modules/ibm_is_zone_info.py | 4 +- plugins/modules/ibm_is_zones_info.py | 4 +- plugins/modules/ibm_kms_instance_policies.py | 239 ++++++++++ .../modules/ibm_kms_instance_policies_info.py | 140 ++++++ plugins/modules/ibm_kms_key.py | 90 ++-- plugins/modules/ibm_kms_key_alias.py | 38 +- plugins/modules/ibm_kms_key_info.py | 58 +-- plugins/modules/ibm_kms_key_policies.py | 49 +- plugins/modules/ibm_kms_key_policies_info.py | 49 +- plugins/modules/ibm_kms_key_rings.py | 8 +- plugins/modules/ibm_kms_key_rings_info.py | 22 +- .../ibm_kms_key_with_policy_overrides.py | 289 ++++++++++++ plugins/modules/ibm_kms_keys_info.py | 24 +- plugins/modules/ibm_kp_key.py | 32 +- plugins/modules/ibm_kp_key_info.py | 4 +- plugins/modules/ibm_lb.py | 34 +- plugins/modules/ibm_lb_service.py | 24 +- plugins/modules/ibm_lb_service_group.py | 48 +- plugins/modules/ibm_lb_vpx.py | 64 +-- plugins/modules/ibm_lb_vpx_ha.py | 24 +- plugins/modules/ibm_lb_vpx_service.py | 84 ++-- plugins/modules/ibm_lb_vpx_vip.py | 80 ++-- plugins/modules/ibm_lbaas.py | 70 +-- plugins/modules/ibm_lbaas_health_monitor.py | 44 +- plugins/modules/ibm_lbaas_info.py | 4 +- .../ibm_lbaas_server_instance_attachment.py | 4 +- plugins/modules/ibm_multi_vlan_firewall.py | 42 +- plugins/modules/ibm_network_gateway.py | 28 +- .../ibm_network_gateway_vlan_association.py | 4 +- .../ibm_network_interface_sg_attachment.py | 24 +- plugins/modules/ibm_network_public_ip.py | 22 +- plugins/modules/ibm_network_vlan.py | 44 +- plugins/modules/ibm_network_vlan_info.py | 22 +- plugins/modules/ibm_network_vlan_spanning.py | 4 +- plugins/modules/ibm_ob_logging.py | 34 +- plugins/modules/ibm_ob_monitoring.py | 24 +- plugins/modules/ibm_object_storage_account.py | 4 +- plugins/modules/ibm_org.py | 6 +- plugins/modules/ibm_org_info.py | 4 +- plugins/modules/ibm_org_quota_info.py | 4 +- plugins/modules/ibm_pi_capture.py | 76 +-- plugins/modules/ibm_pi_catalog_images_info.py | 4 +- plugins/modules/ibm_pi_cloud_connection.py | 134 +++--- .../modules/ibm_pi_cloud_connection_info.py | 20 +- .../ibm_pi_cloud_connection_network_attach.py | 4 +- .../modules/ibm_pi_cloud_connections_info.py | 4 +- plugins/modules/ibm_pi_cloud_instance_info.py | 4 +- plugins/modules/ibm_pi_console_language.py | 24 +- .../modules/ibm_pi_console_languages_info.py | 20 +- plugins/modules/ibm_pi_dhcp.py | 58 +-- plugins/modules/ibm_pi_dhcp_info.py | 4 +- plugins/modules/ibm_pi_dhcps_info.py | 4 +- .../ibm_pi_disaster_recovery_location_info.py | 120 +++++ ...ibm_pi_disaster_recovery_locations_info.py | 110 +++++ plugins/modules/ibm_pi_ike_policy.py | 54 +-- plugins/modules/ibm_pi_image.py | 128 ++--- plugins/modules/ibm_pi_image_export.py | 24 +- plugins/modules/ibm_pi_image_info.py | 4 +- plugins/modules/ibm_pi_images_info.py | 4 +- plugins/modules/ibm_pi_instance.py | 334 +++++++------- plugins/modules/ibm_pi_instance_action.py | 4 +- plugins/modules/ibm_pi_instance_info.py | 20 +- plugins/modules/ibm_pi_instance_ip_info.py | 20 +- .../modules/ibm_pi_instance_snapshots_info.py | 4 +- .../modules/ibm_pi_instance_volumes_info.py | 20 +- plugins/modules/ibm_pi_instances_info.py | 4 +- plugins/modules/ibm_pi_ipsec_policy.py | 24 +- plugins/modules/ibm_pi_key.py | 6 +- plugins/modules/ibm_pi_key_info.py | 4 +- plugins/modules/ibm_pi_keys_info.py | 4 +- plugins/modules/ibm_pi_network.py | 62 +-- plugins/modules/ibm_pi_network_info.py | 4 +- plugins/modules/ibm_pi_network_port.py | 6 +- plugins/modules/ibm_pi_network_port_attach.py | 20 +- plugins/modules/ibm_pi_network_port_info.py | 4 +- plugins/modules/ibm_pi_placement_group.py | 10 +- .../modules/ibm_pi_placement_group_info.py | 16 +- .../modules/ibm_pi_placement_groups_info.py | 4 +- plugins/modules/ibm_pi_public_network_info.py | 4 +- plugins/modules/ibm_pi_pvm_snapshots_info.py | 4 +- plugins/modules/ibm_pi_sap_profile_info.py | 4 +- plugins/modules/ibm_pi_sap_profiles_info.py | 4 +- .../modules/ibm_pi_shared_processor_pool.py | 76 +-- .../ibm_pi_shared_processor_pool_info.py | 4 +- .../ibm_pi_shared_processor_pools_info.py | 4 +- plugins/modules/ibm_pi_snapshot.py | 24 +- plugins/modules/ibm_pi_spp_placement_group.py | 30 +- .../ibm_pi_spp_placement_group_info.py | 16 +- .../ibm_pi_spp_placement_groups_info.py | 4 +- .../ibm_pi_storage_pool_capacity_info.py | 4 +- .../ibm_pi_storage_pools_capacity_info.py | 4 +- .../ibm_pi_storage_type_capacity_info.py | 4 +- .../ibm_pi_storage_types_capacity_info.py | 4 +- plugins/modules/ibm_pi_system_pools_info.py | 4 +- plugins/modules/ibm_pi_tenant_info.py | 4 +- plugins/modules/ibm_pi_volume.py | 121 ++--- plugins/modules/ibm_pi_volume_attach.py | 24 +- .../ibm_pi_volume_flash_copy_mappings_info.py | 130 ++++++ plugins/modules/ibm_pi_volume_group.py | 217 +++++++++ plugins/modules/ibm_pi_volume_group_action.py | 193 ++++++++ .../ibm_pi_volume_group_details_info.py | 130 ++++++ plugins/modules/ibm_pi_volume_group_info.py | 130 ++++++ ...me_group_remote_copy_relationships_info.py | 130 ++++++ ...bm_pi_volume_group_storage_details_info.py | 130 ++++++ .../ibm_pi_volume_groups_details_info.py | 120 +++++ plugins/modules/ibm_pi_volume_groups_info.py | 120 +++++ plugins/modules/ibm_pi_volume_info.py | 4 +- plugins/modules/ibm_pi_volume_onboarding.py | 206 +++++++++ .../modules/ibm_pi_volume_onboarding_info.py | 130 ++++++ .../modules/ibm_pi_volume_onboardings_info.py | 120 +++++ ...pi_volume_remote_copy_relationship_info.py | 130 ++++++ plugins/modules/ibm_pi_vpn_connection.py | 34 +- plugins/modules/ibm_pn_application_chrome.py | 6 +- .../modules/ibm_pn_application_chrome_info.py | 4 +- plugins/modules/ibm_resource_group.py | 26 +- plugins/modules/ibm_resource_group_info.py | 22 +- plugins/modules/ibm_resource_instance.py | 102 ++-- plugins/modules/ibm_resource_instance_info.py | 18 +- plugins/modules/ibm_resource_key.py | 60 +-- plugins/modules/ibm_resource_key_info.py | 30 +- plugins/modules/ibm_resource_quota_info.py | 4 +- plugins/modules/ibm_resource_tag.py | 42 +- plugins/modules/ibm_resource_tag_info.py | 4 +- .../ibm_satellite_attach_host_script_info.py | 40 +- plugins/modules/ibm_satellite_cluster.py | 180 ++++---- plugins/modules/ibm_satellite_cluster_info.py | 22 +- .../ibm_satellite_cluster_worker_pool.py | 94 ++-- .../ibm_satellite_cluster_worker_pool_info.py | 22 +- ...ite_cluster_worker_pool_zone_attachment.py | 6 +- ...luster_worker_pool_zone_attachment_info.py | 4 +- plugins/modules/ibm_satellite_endpoint.py | 124 ++--- .../modules/ibm_satellite_endpoint_info.py | 20 +- plugins/modules/ibm_satellite_host.py | 50 +- plugins/modules/ibm_satellite_link.py | 22 +- plugins/modules/ibm_satellite_link_info.py | 4 +- plugins/modules/ibm_satellite_location.py | 102 ++-- .../modules/ibm_satellite_location_info.py | 4 +- .../modules/ibm_satellite_location_nlb_dns.py | 6 +- .../ibm_satellite_location_nlb_dns_info.py | 4 +- .../modules/ibm_scc_account_location_info.py | 4 +- .../ibm_scc_account_location_settings_info.py | 4 +- .../modules/ibm_scc_account_locations_info.py | 4 +- ..._scc_account_notification_settings_info.py | 4 +- plugins/modules/ibm_scc_account_settings.py | 4 +- plugins/modules/ibm_scc_posture_collector.py | 6 +- .../modules/ibm_scc_posture_collector_info.py | 4 +- .../ibm_scc_posture_collectors_info.py | 4 +- plugins/modules/ibm_scc_posture_credential.py | 18 +- .../ibm_scc_posture_credential_info.py | 4 +- .../ibm_scc_posture_credentials_info.py | 4 +- .../ibm_scc_posture_group_profile_info.py | 4 +- .../ibm_scc_posture_latest_scans_info.py | 4 +- .../modules/ibm_scc_posture_profile_import.py | 20 +- .../modules/ibm_scc_posture_profile_info.py | 4 +- .../modules/ibm_scc_posture_profiles_info.py | 4 +- ...bm_scc_posture_scan_initiate_validation.py | 36 +- .../ibm_scc_posture_scan_summaries_info.py | 4 +- .../ibm_scc_posture_scan_summary_info.py | 4 +- plugins/modules/ibm_scc_posture_scope.py | 46 +- .../ibm_scc_posture_scope_correlation_info.py | 4 +- plugins/modules/ibm_scc_posture_scope_info.py | 4 +- .../modules/ibm_scc_posture_scopes_info.py | 4 +- plugins/modules/ibm_scc_rule.py | 70 +-- plugins/modules/ibm_scc_rule_attachment.py | 4 +- plugins/modules/ibm_scc_template.py | 4 +- .../modules/ibm_scc_template_attachment.py | 4 +- plugins/modules/ibm_schematics_action.py | 158 +++---- plugins/modules/ibm_schematics_action_info.py | 4 +- plugins/modules/ibm_schematics_inventory.py | 6 +- .../modules/ibm_schematics_inventory_info.py | 4 +- plugins/modules/ibm_schematics_job.py | 122 ++--- plugins/modules/ibm_schematics_job_info.py | 22 +- plugins/modules/ibm_schematics_output_info.py | 34 +- .../modules/ibm_schematics_resource_query.py | 6 +- .../ibm_schematics_resource_query_info.py | 4 +- plugins/modules/ibm_schematics_state_info.py | 4 +- plugins/modules/ibm_schematics_workspace.py | 280 +++++------ .../modules/ibm_schematics_workspace_info.py | 22 +- .../ibm_secrets_manager_secret_info.py | 20 +- .../ibm_secrets_manager_secrets_info.py | 4 +- plugins/modules/ibm_security_group.py | 8 +- plugins/modules/ibm_security_group_info.py | 24 +- plugins/modules/ibm_security_group_rule.py | 22 +- plugins/modules/ibm_service_instance.py | 28 +- plugins/modules/ibm_service_instance_info.py | 20 +- plugins/modules/ibm_service_key.py | 30 +- plugins/modules/ibm_service_key_info.py | 24 +- plugins/modules/ibm_service_plan_info.py | 4 +- plugins/modules/ibm_space.py | 6 +- plugins/modules/ibm_space_info.py | 4 +- plugins/modules/ibm_ssl_certificate.py | 166 +++---- plugins/modules/ibm_storage_block.py | 114 ++--- plugins/modules/ibm_storage_evault.py | 40 +- plugins/modules/ibm_storage_file.py | 140 +++--- plugins/modules/ibm_subnet.py | 64 +-- plugins/modules/ibm_tg_connection.py | 104 ++--- .../ibm_tg_connection_prefix_filter.py | 66 +-- .../ibm_tg_connection_prefix_filter_info.py | 24 +- .../ibm_tg_connection_prefix_filters_info.py | 20 +- plugins/modules/ibm_tg_gateway.py | 24 +- 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 +- plugins/modules/ibm_tg_route_report.py | 6 +- plugins/modules/ibm_tg_route_report_info.py | 4 +- plugins/modules/ibm_tg_route_reports_info.py | 4 +- 1673 files changed, 22484 insertions(+), 16826 deletions(-) create mode 100644 docs/ibm_cd_toolchain_tool_jira.rst create mode 100644 docs/ibm_cd_toolchain_tool_jira_info.rst create mode 100644 docs/ibm_cm_validation.rst create mode 100644 docs/ibm_kms_instance_policies.rst create mode 100644 docs/ibm_kms_instance_policies_info.rst create mode 100644 docs/ibm_kms_key_with_policy_overrides.rst create mode 100644 docs/ibm_pi_disaster_recovery_location_info.rst create mode 100644 docs/ibm_pi_disaster_recovery_locations_info.rst create mode 100644 docs/ibm_pi_volume_flash_copy_mappings_info.rst create mode 100644 docs/ibm_pi_volume_group.rst create mode 100644 docs/ibm_pi_volume_group_action.rst create mode 100644 docs/ibm_pi_volume_group_details_info.rst create mode 100644 docs/ibm_pi_volume_group_info.rst create mode 100644 docs/ibm_pi_volume_group_remote_copy_relationships_info.rst create mode 100644 docs/ibm_pi_volume_group_storage_details_info.rst create mode 100644 docs/ibm_pi_volume_groups_details_info.rst create mode 100644 docs/ibm_pi_volume_groups_info.rst create mode 100644 docs/ibm_pi_volume_onboarding.rst create mode 100644 docs/ibm_pi_volume_onboarding_info.rst create mode 100644 docs/ibm_pi_volume_onboardings_info.rst create mode 100644 docs/ibm_pi_volume_remote_copy_relationship_info.rst create mode 100644 plugins/modules/ibm_cd_toolchain_tool_jira.py create mode 100644 plugins/modules/ibm_cd_toolchain_tool_jira_info.py create mode 100644 plugins/modules/ibm_cm_validation.py create mode 100644 plugins/modules/ibm_kms_instance_policies.py create mode 100644 plugins/modules/ibm_kms_instance_policies_info.py create mode 100644 plugins/modules/ibm_kms_key_with_policy_overrides.py create mode 100644 plugins/modules/ibm_pi_disaster_recovery_location_info.py create mode 100644 plugins/modules/ibm_pi_disaster_recovery_locations_info.py create mode 100644 plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py create mode 100644 plugins/modules/ibm_pi_volume_group.py create mode 100644 plugins/modules/ibm_pi_volume_group_action.py create mode 100644 plugins/modules/ibm_pi_volume_group_details_info.py create mode 100644 plugins/modules/ibm_pi_volume_group_info.py create mode 100644 plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py create mode 100644 plugins/modules/ibm_pi_volume_group_storage_details_info.py create mode 100644 plugins/modules/ibm_pi_volume_groups_details_info.py create mode 100644 plugins/modules/ibm_pi_volume_groups_info.py create mode 100644 plugins/modules/ibm_pi_volume_onboarding.py create mode 100644 plugins/modules/ibm_pi_volume_onboarding_info.py create mode 100644 plugins/modules/ibm_pi_volume_onboardings_info.py create mode 100644 plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py diff --git a/docs/ibm_account_info.rst b/docs/ibm_account_info.rst index 8b2127534..6eb2b321e 100644 --- a/docs/ibm_account_info.rst +++ b/docs/ibm_account_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_api_gateway_endpoint.rst b/docs/ibm_api_gateway_endpoint.rst index 279196b93..166499fe0 100644 --- a/docs/ibm_api_gateway_endpoint.rst +++ b/docs/ibm_api_gateway_endpoint.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (False, str, unshare) - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage - - - name (True, str, None) - (Required for new resource) Endpoint name - - - routes (False, list, None) - Invokable routes for an endpoint - - provider_id (False, str, user-defined) Provider ID of an endpoint allowable values user-defined and whisk @@ -55,10 +43,22 @@ Parameters (Required for new resource) Json File path + name (True, str, None) + (Required for new resource) Endpoint name + + + routes (False, list, None) + Invokable routes for an endpoint + + managed (False, bool, False) Managed indicates if endpoint is online or offline. + type (False, str, unshare) + Action type of Endpoint ALoowable values are share, unshare, manage, unmanage + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_api_gateway_endpoint_subscription.rst b/docs/ibm_api_gateway_endpoint_subscription.rst index 88844ae51..b24a334af 100644 --- a/docs/ibm_api_gateway_endpoint_subscription.rst +++ b/docs/ibm_api_gateway_endpoint_subscription.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_api_gateway_info.rst b/docs/ibm_api_gateway_info.rst index 0322263b6..5ce141d2b 100644 --- a/docs/ibm_api_gateway_info.rst +++ b/docs/ibm_api_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_collection.rst b/docs/ibm_app_config_collection.rst index a8814d293..0a6b33941 100644 --- a/docs/ibm_app_config_collection.rst +++ b/docs/ibm_app_config_collection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - - tags (False, str, None) - Tags associated with the collection - - name (True, str, None) (Required for new resource) Collection name. @@ -51,6 +43,14 @@ Parameters Collection description + guid (True, str, None) + (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + tags (False, str, None) + Tags associated with the collection + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_collection_info.rst b/docs/ibm_app_config_collection_info.rst index 2e1d01b47..af6918801 100644 --- a/docs/ibm_app_config_collection_info.rst +++ b/docs/ibm_app_config_collection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - collection_id (True, str, None) Collection Id of the collection. - expand (False, bool, None) - If set to true, returns expanded view of the resource details. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. include (False, list, None) Include feature, property details in the response. + expand (False, bool, None) + If set to true, returns expanded view of the resource details. + + 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_config_collections_info.rst b/docs/ibm_app_config_collections_info.rst index a24f0bf03..3103f6b0b 100644 --- a/docs/ibm_app_config_collections_info.rst +++ b/docs/ibm_app_config_collections_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - expand (False, bool, None) - If set to true, returns expanded view of the resource details. - - guid (True, str, None) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. @@ -49,6 +45,10 @@ Parameters Include feature, property details in the response. + expand (False, bool, None) + If set to true, returns expanded view of the resource details. + + 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_config_environment.rst b/docs/ibm_app_config_environment.rst index 2f5ac899e..8729c8b0a 100644 --- a/docs/ibm_app_config_environment.rst +++ b/docs/ibm_app_config_environment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - color_code (False, str, None) - Color code to distinguish the environment. + guid (True, str, None) + (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + description (False, str, None) + Environment description tags (False, str, None) Tags associated with the environment - guid (True, str, None) - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + color_code (False, str, None) + Color code to distinguish the environment. name (True, str, None) @@ -51,10 +55,6 @@ Parameters (Required for new resource) Environment Id. - description (False, str, None) - Environment description - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_environment_info.rst b/docs/ibm_app_config_environment_info.rst index f60f218f2..5ded8e774 100644 --- a/docs/ibm_app_config_environment_info.rst +++ b/docs/ibm_app_config_environment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_environments_info.rst b/docs/ibm_app_config_environments_info.rst index c109e9a0e..90eeb6106 100644 --- a/docs/ibm_app_config_environments_info.rst +++ b/docs/ibm_app_config_environments_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,18 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - tags (False, str, None) filter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags. - offset (False, int, None) - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - - expand (False, bool, None) If set to `true`, returns expanded view of the resource details. @@ -49,6 +41,14 @@ Parameters The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + + + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + 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_config_feature.rst b/docs/ibm_app_config_feature.rst index f75611b59..0cb49ebd4 100644 --- a/docs/ibm_app_config_feature.rst +++ b/docs/ibm_app_config_feature.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Feature name. + type (True, str, None) + (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). - description (False, str, None) - Feature description. + enabled_value (True, str, None) + (Required for new resource) Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + + + disabled_value (True, str, None) + (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + + + collections (False, list, None) + List of collection id representing the collections that are associated with the specified feature flag. guid (True, str, None) (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + name (True, str, None) + (Required for new resource) Feature name. + + + environment_id (True, str, None) + (Required for new resource) Environment Id. + + feature_id (True, str, None) (Required for new resource) Feature id. - enabled_value (True, str, None) - (Required for new resource) Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + description (False, str, None) + Feature description. tags (False, str, None) @@ -59,26 +75,10 @@ Parameters Rollout percentage of the feature. - environment_id (True, str, None) - (Required for new resource) Environment Id. - - - type (True, str, None) - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). - - - disabled_value (True, str, None) - (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. - - segment_rules (False, list, None) Specify the targeting rules that is used to set different feature flag values for different segments. - collections (False, list, None) - List of collection id representing the collections that are associated with the specified feature flag. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_feature_info.rst b/docs/ibm_app_config_feature_info.rst index f34e923e2..04002f1dc 100644 --- a/docs/ibm_app_config_feature_info.rst +++ b/docs/ibm_app_config_feature_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - environment_id (True, str, None) Environment Id. - includes (False, str, None) - Include the associated collections in the response. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. feature_id (True, str, None) Feature Id. + includes (False, str, None) + Include the associated collections in the response. + + 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_config_features_info.rst b/docs/ibm_app_config_features_info.rst index ab86655dc..8bec776dc 100644 --- a/docs/ibm_app_config_features_info.rst +++ b/docs/ibm_app_config_features_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,40 +33,40 @@ Parameters GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - limit (False, int, None) - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. - - environment_id (True, str, None) Environment Id. - expand (False, bool, None) - If set to `true`, returns expanded view of the resource details. - - - includes (False, list, None) - Include the associated collections or targeting rules details in the response. + tags (False, str, None) + Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. collections (False, list, None) Filter features by a list of comma separated collections. - offset (False, int, None) - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + segments (False, list, None) + Filter features by a list of comma separated segments. + + + includes (False, list, None) + Include the associated collections or targeting rules details in the response. + + + limit (False, int, None) + The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. sort (False, str, None) Sort the feature details based on the specified attribute. - tags (False, str, None) - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + expand (False, bool, None) + If set to `true`, returns expanded view of the resource details. - segments (False, list, None) - Filter features by a list of comma separated segments. + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. iaas_classic_username (False, any, None) diff --git a/docs/ibm_app_config_properties_info.rst b/docs/ibm_app_config_properties_info.rst index afa29e076..0bda9ad3a 100644 --- a/docs/ibm_app_config_properties_info.rst +++ b/docs/ibm_app_config_properties_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,16 +33,16 @@ Parameters GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - environment_id (True, str, None) - Environment Id. - - sort (False, str, None) Sort the feature details based on the specified attribute. - segments (False, list, None) - Filter features by a list of comma separated segments. + tags (False, str, None) + Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + + + collections (False, list, None) + Filter features by a list of comma separated collections. expand (False, bool, None) @@ -53,22 +53,22 @@ Parameters Include the associated collections or targeting rules details in the response. - offset (False, int, None) - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - - - tags (False, str, None) - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + environment_id (True, str, None) + Environment Id. - collections (False, list, None) - Filter features by a list of comma separated collections. + segments (False, list, None) + Filter features by a list of comma separated segments. limit (False, int, None) The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + + 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_config_property.rst b/docs/ibm_app_config_property.rst index 2ff24cbfb..a74926092 100644 --- a/docs/ibm_app_config_property.rst +++ b/docs/ibm_app_config_property.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,50 +31,50 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Property description. + property_id (True, str, None) + (Required for new resource) Property id. - format (False, str, None) - Format of the feature (TEXT, JSON, YAML). + collections (False, list, None) + List of collection id representing the collections that are associated with the specified property. + + + environment_id (True, str, None) + (Required for new resource) Environment Id. name (True, str, None) (Required for new resource) Property name. - property_id (True, str, None) - (Required for new resource) Property id. + value (True, str, None) + (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. - guid (True, str, None) - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + description (False, str, None) + Property description. tags (False, str, None) Tags associated with the property. + format (False, str, None) + Format of the feature (TEXT, JSON, YAML). + + segment_rules (False, list, None) Specify the targeting rules that is used to set different property values for different segments. - collections (False, list, None) - List of collection id representing the collections that are associated with the specified property. + guid (True, str, None) + (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. type (True, str, None) (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). - value (True, str, None) - (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. - - - environment_id (True, str, None) - (Required for new resource) Environment Id. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_property_info.rst b/docs/ibm_app_config_property_info.rst index 283d27fe8..a0d858a3f 100644 --- a/docs/ibm_app_config_property_info.rst +++ b/docs/ibm_app_config_property_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_segment.rst b/docs/ibm_app_config_segment.rst index 10a28e510..ce39f2ef9 100644 --- a/docs/ibm_app_config_segment.rst +++ b/docs/ibm_app_config_segment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - - description (False, str, None) - Segment description. - - rules (True, list, None) (Required for new resource) List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is identified by an unique identifier and the attributes that it defines. + guid (True, str, None) + (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + name (True, str, None) (Required for new resource) Segment name. @@ -55,6 +51,10 @@ Parameters Tags associated with the segments. + description (False, str, None) + Segment description. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_segment_info.rst b/docs/ibm_app_config_segment_info.rst index 0d55ede6e..87cf3d699 100644 --- a/docs/ibm_app_config_segment_info.rst +++ b/docs/ibm_app_config_segment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_segments_info.rst b/docs/ibm_app_config_segments_info.rst index ee8791e33..61d6103d0 100644 --- a/docs/ibm_app_config_segments_info.rst +++ b/docs/ibm_app_config_segments_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - sort (False, str, None) Sort the segment details based on the specified attribute. @@ -41,16 +37,20 @@ Parameters Segment details to include the associated rules in the response + expand (False, bool, None) + If set to `true`, returns expanded view of the resource details. + + limit (False, int, None) The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. - tags (False, str, None) - Filter the resources to be returned based on the associated tags. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - expand (False, bool, None) - If set to `true`, returns expanded view of the resource details. + tags (False, str, None) + Filter the resources to be returned based on the associated tags. total_count (False, int, None) diff --git a/docs/ibm_app_config_snapshot.rst b/docs/ibm_app_config_snapshot.rst index 27d01fe87..c4ac6b8f1 100644 --- a/docs/ibm_app_config_snapshot.rst +++ b/docs/ibm_app_config_snapshot.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - action (False, str, None) - action promote + git_config_id (True, str, None) + (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + + + git_url (True, str, None) + (Required for new resource) Git url which will be used to connect to the github account. + + + git_branch (True, str, None) + (Required for new resource) Branch name to which you need to write or update the configuration. guid (True, str, None) (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - git_config_id (True, str, None) - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + git_token (True, str, None) + (Required for new resource) Git token, this needs to be provided with enough permission to write and update the file. - git_url (True, str, None) - (Required for new resource) Git url which will be used to connect to the github account. + action (False, str, None) + action promote collection_id (True, str, None) @@ -59,14 +67,6 @@ Parameters (Required for new resource) Git file path, this is a path where your configuration file will be written. - git_token (True, str, None) - (Required for new resource) Git token, this needs to be provided with enough permission to write and update the file. - - - git_branch (True, str, None) - (Required for new resource) Branch name to which you need to write or update the configuration. - - environment_id (True, str, None) (Required for new resource) Environment id. diff --git a/docs/ibm_app_config_snapshot_info.rst b/docs/ibm_app_config_snapshot_info.rst index f002bf257..a7636cc20 100644 --- a/docs/ibm_app_config_snapshot_info.rst +++ b/docs/ibm_app_config_snapshot_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - git_config_id (True, str, None) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + 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_config_snapshots_info.rst b/docs/ibm_app_config_snapshots_info.rst index b02b9edd8..99486810b 100644 --- a/docs/ibm_app_config_snapshots_info.rst +++ b/docs/ibm_app_config_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - - collection_id (False, str, None) - Filters the response based on the specified collection_id. - - environment_id (False, str, None) Filters the response based on the specified environment_id. @@ -49,6 +41,14 @@ Parameters The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + collection_id (False, str, None) + Filters the response based on the specified collection_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_app_domain_private.rst b/docs/ibm_app_domain_private.rst index 2e1cf34a6..6f3edf4d0 100644 --- a/docs/ibm_app_domain_private.rst +++ b/docs/ibm_app_domain_private.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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 domain + + org_guid (True, str, None) (Required for new resource) The organization that owns the domain. @@ -39,10 +43,6 @@ Parameters None - name (True, str, None) - (Required for new resource) The name of the domain - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_domain_private_info.rst b/docs/ibm_app_domain_private_info.rst index 553ff2d1b..931fa73ae 100644 --- a/docs/ibm_app_domain_private_info.rst +++ b/docs/ibm_app_domain_private_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared.rst b/docs/ibm_app_domain_shared.rst index 8b79b2e96..2f792d341 100644 --- a/docs/ibm_app_domain_shared.rst +++ b/docs/ibm_app_domain_shared.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared_info.rst b/docs/ibm_app_domain_shared_info.rst index c65e9fd8a..42b1fce85 100644 --- a/docs/ibm_app_domain_shared_info.rst +++ b/docs/ibm_app_domain_shared_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_info.rst b/docs/ibm_app_info.rst index bb62f78dc..fa209d58a 100644 --- a/docs/ibm_app_info.rst +++ b/docs/ibm_app_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_route.rst b/docs/ibm_app_route.rst index 0517761a7..a6e236e1f 100644 --- a/docs/ibm_app_route.rst +++ b/docs/ibm_app_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + 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. @@ -47,14 +55,6 @@ Parameters 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 986a5554e..25195ab62 100644 --- a/docs/ibm_app_route_info.rst +++ b/docs/ibm_app_route_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,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 @@ -49,6 +41,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_appid_apm.rst b/docs/ibm_appid_apm.rst index 818f57763..4d3fac348 100644 --- a/docs/ibm_appid_apm.rst +++ b/docs/ibm_appid_apm.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - password_expiration (True, list, None) - (Required for new resource) - - - lockout_policy (True, list, None) - (Required for new resource) - - - min_password_change_interval (True, list, None) - (Required for new resource) - - tenant_id (True, str, None) (Required for new resource) The AppID instance GUID @@ -59,6 +47,18 @@ Parameters (Required for new resource) + password_expiration (True, list, None) + (Required for new resource) + + + lockout_policy (True, list, None) + (Required for new resource) + + + min_password_change_interval (True, list, 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_appid_apm_info.rst b/docs/ibm_appid_apm_info.rst index ae0ff36d7..98b09e3c9 100644 --- a/docs/ibm_appid_apm_info.rst +++ b/docs/ibm_appid_apm_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application.rst b/docs/ibm_appid_application.rst index c68315c13..0b298f911 100644 --- a/docs/ibm_appid_application.rst +++ b/docs/ibm_appid_application.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (False, str, regularwebapp) - The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. - - tenant_id (True, str, None) (Required for new resource) The service `tenantId` @@ -43,6 +39,10 @@ Parameters (Required for new resource) The application name to be registered. Application name cannot exceed 50 characters. + type (False, str, regularwebapp) + The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_application_info.rst b/docs/ibm_appid_application_info.rst index 1d76455d2..7717b64d8 100644 --- a/docs/ibm_appid_application_info.rst +++ b/docs/ibm_appid_application_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_roles.rst b/docs/ibm_appid_application_roles.rst index efc75cf79..a30ea4f34 100644 --- a/docs/ibm_appid_application_roles.rst +++ b/docs/ibm_appid_application_roles.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_roles_info.rst b/docs/ibm_appid_application_roles_info.rst index 0753282e9..bace332a0 100644 --- a/docs/ibm_appid_application_roles_info.rst +++ b/docs/ibm_appid_application_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_scopes.rst b/docs/ibm_appid_application_scopes.rst index 2875cdb8a..f5f144c3b 100644 --- a/docs/ibm_appid_application_scopes.rst +++ b/docs/ibm_appid_application_scopes.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_scopes_info.rst b/docs/ibm_appid_application_scopes_info.rst index 1457a9482..949aaa74f 100644 --- a/docs/ibm_appid_application_scopes_info.rst +++ b/docs/ibm_appid_application_scopes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_applications_info.rst b/docs/ibm_appid_applications_info.rst index 9e701ff92..c1dfd73cb 100644 --- a/docs/ibm_appid_applications_info.rst +++ b/docs/ibm_appid_applications_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_audit_status.rst b/docs/ibm_appid_audit_status.rst index fc88d3e3e..92cd3c293 100644 --- a/docs/ibm_appid_audit_status.rst +++ b/docs/ibm_appid_audit_status.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_audit_status_info.rst b/docs/ibm_appid_audit_status_info.rst index 681bbcd0d..4e0862fe4 100644 --- a/docs/ibm_appid_audit_status_info.rst +++ b/docs/ibm_appid_audit_status_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_cloud_directory_template.rst b/docs/ibm_appid_cloud_directory_template.rst index fba6974f4..af2bcc3ef 100644 --- a/docs/ibm_appid_cloud_directory_template.rst +++ b/docs/ibm_appid_cloud_directory_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subject (True, str, None) - (Required for new resource) The subject of the email - - - html_body (False, str, None) - The HTML body of the email - - plain_text_body (False, str, None) The text body of the email. @@ -55,6 +47,14 @@ Parameters Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. + subject (True, str, None) + (Required for new resource) The subject of the email + + + html_body (False, str, None) + The HTML body of the email + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_cloud_directory_template_info.rst b/docs/ibm_appid_cloud_directory_template_info.rst index f8faac6b0..fe906a817 100644 --- a/docs/ibm_appid_cloud_directory_template_info.rst +++ b/docs/ibm_appid_cloud_directory_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + language (False, str, en) + Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. + + tenant_id (True, str, None) The AppID instance GUID @@ -37,10 +41,6 @@ Parameters The type of email template. This can be `USER_VERIFICATION`, `WELCOME`, `PASSWORD_CHANGED`, `RESET_PASSWORD` or `MFA_VERIFICATION` - language (False, str, en) - Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. - - 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_appid_cloud_directory_user.rst b/docs/ibm_appid_cloud_directory_user.rst index 9c547ddef..6e216bd61 100644 --- a/docs/ibm_appid_cloud_directory_user.rst +++ b/docs/ibm_appid_cloud_directory_user.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - locked_until (False, int, None) - Integer (epoch time in milliseconds), determines till when the user account will be locked - - - display_name (False, str, None) - Cloud Directory user display name - - user_name (False, str, None) Optional username + password (True, str, None) + (Required for new resource) User password + + status (False, str, PENDING) Accepted values `PENDING` or `CONFIRMED` - email (True, list, None) - (Required for new resource) A set of user emails + tenant_id (True, str, None) + (Required for new resource) The AppID instance GUID - create_profile (False, bool, True) - A boolean indication if a profile should be created for the Cloud Directory user + locked_until (False, int, None) + Integer (epoch time in milliseconds), determines till when the user account will be locked - active (False, bool, True) - Determines if the user account is active or not + display_name (False, str, None) + Cloud Directory user display name - password (True, str, None) - (Required for new resource) User password + email (True, list, None) + (Required for new resource) A set of user emails - tenant_id (True, str, None) - (Required for new resource) The AppID instance GUID + active (False, bool, True) + Determines if the user account is active or not + + + create_profile (False, bool, True) + A boolean indication if a profile should be created for the Cloud Directory user id (False, str, None) diff --git a/docs/ibm_appid_cloud_directory_user_info.rst b/docs/ibm_appid_cloud_directory_user_info.rst index 2215cab66..12f304b71 100644 --- a/docs/ibm_appid_cloud_directory_user_info.rst +++ b/docs/ibm_appid_cloud_directory_user_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_cloud_directory.rst b/docs/ibm_appid_idp_cloud_directory.rst index 6e0a8f7f9..16bef3695 100644 --- a/docs/ibm_appid_idp_cloud_directory.rst +++ b/docs/ibm_appid_idp_cloud_directory.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,19 +31,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identity_confirm_methods (False, list, None) - None - - - tenant_id (True, str, None) + is_active (True, bool, None) (Required for new resource) - signup_enabled (False, bool, True) + self_service_enabled (False, bool, True) None - identity_confirm_access_mode (False, str, FULL) + welcome_enabled (False, bool, True) None @@ -51,23 +47,27 @@ Parameters None - reset_password_notification_enabled (False, bool, True) + identity_confirm_access_mode (False, str, FULL) None - identity_field (False, str, None) + tenant_id (True, str, None) + (Required for new resource) + + + signup_enabled (False, bool, True) None - is_active (True, bool, None) - (Required for new resource) + reset_password_notification_enabled (False, bool, True) + None - self_service_enabled (False, bool, True) + identity_confirm_methods (False, list, None) None - welcome_enabled (False, bool, True) + identity_field (False, str, None) None diff --git a/docs/ibm_appid_idp_cloud_directory_info.rst b/docs/ibm_appid_idp_cloud_directory_info.rst index f4227f96e..1cafa1f26 100644 --- a/docs/ibm_appid_idp_cloud_directory_info.rst +++ b/docs/ibm_appid_idp_cloud_directory_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_custom.rst b/docs/ibm_appid_idp_custom.rst index 30a8b71ea..56ccdf486 100644 --- a/docs/ibm_appid_idp_custom.rst +++ b/docs/ibm_appid_idp_custom.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_custom_info.rst b/docs/ibm_appid_idp_custom_info.rst index 9744b0191..a34338627 100644 --- a/docs/ibm_appid_idp_custom_info.rst +++ b/docs/ibm_appid_idp_custom_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_facebook.rst b/docs/ibm_appid_idp_facebook.rst index aa70ad2a6..17b9ff025 100644 --- a/docs/ibm_appid_idp_facebook.rst +++ b/docs/ibm_appid_idp_facebook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_facebook_info.rst b/docs/ibm_appid_idp_facebook_info.rst index 1f8025e8f..5765d54cd 100644 --- a/docs/ibm_appid_idp_facebook_info.rst +++ b/docs/ibm_appid_idp_facebook_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_google.rst b/docs/ibm_appid_idp_google.rst index 2dae87170..2f7e57331 100644 --- a/docs/ibm_appid_idp_google.rst +++ b/docs/ibm_appid_idp_google.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_google_info.rst b/docs/ibm_appid_idp_google_info.rst index dd855531e..05875fed4 100644 --- a/docs/ibm_appid_idp_google_info.rst +++ b/docs/ibm_appid_idp_google_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml.rst b/docs/ibm_appid_idp_saml.rst index 3497066be..2914d1652 100644 --- a/docs/ibm_appid_idp_saml.rst +++ b/docs/ibm_appid_idp_saml.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml_info.rst b/docs/ibm_appid_idp_saml_info.rst index f34aa4d3c..e3e28d43d 100644 --- a/docs/ibm_appid_idp_saml_info.rst +++ b/docs/ibm_appid_idp_saml_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml_metadata_info.rst b/docs/ibm_appid_idp_saml_metadata_info.rst index 3e3f366f0..d83d6508f 100644 --- a/docs/ibm_appid_idp_saml_metadata_info.rst +++ b/docs/ibm_appid_idp_saml_metadata_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_languages.rst b/docs/ibm_appid_languages.rst index 98784e674..2c1f9a88e 100644 --- a/docs/ibm_appid_languages.rst +++ b/docs/ibm_appid_languages.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tenant_id (True, str, None) - (Required for new resource) The service `tenantId` - - languages (True, list, None) (Required for new resource) The list of languages that can be used to customize email templates for Cloud Directory + tenant_id (True, str, None) + (Required for new resource) The service `tenantId` + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_languages_info.rst b/docs/ibm_appid_languages_info.rst index 83edaf9d0..7dd893a32 100644 --- a/docs/ibm_appid_languages_info.rst +++ b/docs/ibm_appid_languages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa.rst b/docs/ibm_appid_mfa.rst index 330079af8..15f1b3608 100644 --- a/docs/ibm_appid_mfa.rst +++ b/docs/ibm_appid_mfa.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa_channel_info.rst b/docs/ibm_appid_mfa_channel_info.rst index 0a9565fbf..4519f535d 100644 --- a/docs/ibm_appid_mfa_channel_info.rst +++ b/docs/ibm_appid_mfa_channel_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa_info.rst b/docs/ibm_appid_mfa_info.rst index bdeb1e327..a20541c2d 100644 --- a/docs/ibm_appid_mfa_info.rst +++ b/docs/ibm_appid_mfa_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_password_regex.rst b/docs/ibm_appid_password_regex.rst index 3f7a2e5c4..82fb65acf 100644 --- a/docs/ibm_appid_password_regex.rst +++ b/docs/ibm_appid_password_regex.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_password_regex_info.rst b/docs/ibm_appid_password_regex_info.rst index 0f5d591d1..03d66d967 100644 --- a/docs/ibm_appid_password_regex_info.rst +++ b/docs/ibm_appid_password_regex_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_redirect_urls.rst b/docs/ibm_appid_redirect_urls.rst index 4918adefe..5c2405ed8 100644 --- a/docs/ibm_appid_redirect_urls.rst +++ b/docs/ibm_appid_redirect_urls.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_redirect_urls_info.rst b/docs/ibm_appid_redirect_urls_info.rst index f19697de6..d24f8c6c2 100644 --- a/docs/ibm_appid_redirect_urls_info.rst +++ b/docs/ibm_appid_redirect_urls_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_role.rst b/docs/ibm_appid_role.rst index d8d6b3c28..8742e1b43 100644 --- a/docs/ibm_appid_role.rst +++ b/docs/ibm_appid_role.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_role_info.rst b/docs/ibm_appid_role_info.rst index a3cda3e5d..8ed17a7fa 100644 --- a/docs/ibm_appid_role_info.rst +++ b/docs/ibm_appid_role_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - role_id (True, str, None) - Role ID - - tenant_id (True, str, None) The service `tenantId` + role_id (True, str, None) + Role 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_appid_roles_info.rst b/docs/ibm_appid_roles_info.rst index b3009547e..6689c09cd 100644 --- a/docs/ibm_appid_roles_info.rst +++ b/docs/ibm_appid_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_color.rst b/docs/ibm_appid_theme_color.rst index e10f8d89f..66732d809 100644 --- a/docs/ibm_appid_theme_color.rst +++ b/docs/ibm_appid_theme_color.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tenant_id (True, str, None) - (Required for new resource) The AppID instance GUID - - header_color (True, str, None) (Required for new resource) + tenant_id (True, str, None) + (Required for new resource) The AppID instance GUID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_theme_color_info.rst b/docs/ibm_appid_theme_color_info.rst index def1aa408..bbcfd9460 100644 --- a/docs/ibm_appid_theme_color_info.rst +++ b/docs/ibm_appid_theme_color_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_text.rst b/docs/ibm_appid_theme_text.rst index 2d4b5a4b4..7b8309aba 100644 --- a/docs/ibm_appid_theme_text.rst +++ b/docs/ibm_appid_theme_text.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_text_info.rst b/docs/ibm_appid_theme_text_info.rst index 771c87d40..2ae3e7589 100644 --- a/docs/ibm_appid_theme_text_info.rst +++ b/docs/ibm_appid_theme_text_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_token_config.rst b/docs/ibm_appid_token_config.rst index 11f725e07..9b524a30c 100644 --- a/docs/ibm_appid_token_config.rst +++ b/docs/ibm_appid_token_config.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - anonymous_token_expires_in (False, int, 2592000) - None - - - anonymous_access_enabled (False, bool, None) - The length of time for which an anonymous token is valid in seconds - - - refresh_token_enabled (False, bool, None) - None - - access_token_claim (False, list, None) A set of objects that are created when claims that are related to access tokens are mapped @@ -63,6 +51,18 @@ Parameters The length of time for which refresh tokens are valid in seconds + anonymous_token_expires_in (False, int, 2592000) + None + + + anonymous_access_enabled (False, bool, None) + The length of time for which an anonymous token is valid in seconds + + + refresh_token_enabled (False, bool, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_token_config_info.rst b/docs/ibm_appid_token_config_info.rst index 27c4f5374..a7c138ed5 100644 --- a/docs/ibm_appid_token_config_info.rst +++ b/docs/ibm_appid_token_config_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_user_roles.rst b/docs/ibm_appid_user_roles.rst index 013df45f4..2c33acec4 100644 --- a/docs/ibm_appid_user_roles.rst +++ b/docs/ibm_appid_user_roles.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tenant_id (True, str, None) - (Required for new resource) The AppID instance GUID - - subject (True, str, None) (Required for new resource) The user's identifier ('subject' in identity token) @@ -43,6 +39,10 @@ Parameters (Required for new resource) A set of AppID role IDs that should be assigned to the user + tenant_id (True, str, None) + (Required for new resource) The AppID instance GUID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_user_roles_info.rst b/docs/ibm_appid_user_roles_info.rst index 3efeea668..705f8ddd0 100644 --- a/docs/ibm_appid_user_roles_info.rst +++ b/docs/ibm_appid_user_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subject (True, str, None) - The user's identifier ('subject' in identity token) - - tenant_id (True, str, None) The AppID instance GUID + subject (True, str, None) + The user's identifier ('subject' in identity token) + + 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_atracker_endpoints_info.rst b/docs/ibm_atracker_endpoints_info.rst index 2c5df178e..df3879f69 100644 --- a/docs/ibm_atracker_endpoints_info.rst +++ b/docs/ibm_atracker_endpoints_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_route.rst b/docs/ibm_atracker_route.rst index 65ffb21de..9c6ea1467 100644 --- a/docs/ibm_atracker_route.rst +++ b/docs/ibm_atracker_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_routes_info.rst b/docs/ibm_atracker_routes_info.rst index 643b5107b..c296f9d66 100644 --- a/docs/ibm_atracker_routes_info.rst +++ b/docs/ibm_atracker_routes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_settings.rst b/docs/ibm_atracker_settings.rst index e769a6654..63919dd5f 100644 --- a/docs/ibm_atracker_settings.rst +++ b/docs/ibm_atracker_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + metadata_region_primary (True, str, None) + (Required for new resource) To store all your meta data in a single region. + + private_api_endpoint_only (True, bool, None) (Required for new resource) If you set this true then you cannot access api through public network. @@ -47,10 +51,6 @@ Parameters Provide a back up region to store meta data. - metadata_region_primary (True, str, None) - (Required for new resource) To store all your meta data in a single region. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_atracker_target.rst b/docs/ibm_atracker_target.rst index 0b38e8a80..89b036d3b 100644 --- a/docs/ibm_atracker_target.rst +++ b/docs/ibm_atracker_target.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - logdna_endpoint (False, list, None) - Property values for a LogDNA Endpoint. - - name (True, str, None) (Required for new resource) The name of the target. The name must be 1000 characters or less, and cannot include any special characters other than `(space) - . _ :`. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + target_type (True, str, None) - (Required for new resource) The type of the target. It can be cloud_object_storage or logdna. Based on this type you must include cos_endpoint or logdna_endpoint. + (Required for new resource) The type of the target. It can be cloud_object_storage, logdna or event_streams. Based on this type you must include cos_endpoint, logdna_endpoint or eventstreams_endpoint. + + + logdna_endpoint (False, list, None) + Property values for a LogDNA Endpoint. cos_endpoint (False, list, None) Property values for a Cloud Object Storage Endpoint. - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + eventstreams_endpoint (False, list, None) + Property values for an Event Streams Endpoint in requests. id (False, str, None) diff --git a/docs/ibm_atracker_targets_info.rst b/docs/ibm_atracker_targets_info.rst index 55182f381..ccaeb32ee 100644 --- a/docs/ibm_atracker_targets_info.rst +++ b/docs/ibm_atracker_targets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cbr_rule_info.rst b/docs/ibm_cbr_rule_info.rst index 3156d2da0..ba033957c 100644 --- a/docs/ibm_cbr_rule_info.rst +++ b/docs/ibm_cbr_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cbr_zone.rst b/docs/ibm_cbr_zone.rst index ee09b65dd..a0a441de8 100644 --- a/docs/ibm_cbr_zone.rst +++ b/docs/ibm_cbr_zone.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - account_id (True, str, None) - (Required for new resource) The id of the account owning this zone. + description (False, str, None) + The description of the zone. addresses (True, list, None) @@ -43,20 +43,20 @@ Parameters The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID. - name (True, str, None) - (Required for new resource) The name of the zone. + transaction_id (False, str, None) + The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. - description (False, str, None) - The description of the zone. + account_id (True, str, None) + (Required for new resource) The id of the account owning this zone. excluded (False, list, None) The list of excluded addresses in the zone. Only addresses of type `ipAddress`, `ipRange`, and `subnet` can be excluded. - transaction_id (False, str, None) - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. + name (True, str, None) + (Required for new resource) The name of the zone. id (False, str, None) diff --git a/docs/ibm_cbr_zone_info.rst b/docs/ibm_cbr_zone_info.rst index bf80da619..a1c49b7e1 100644 --- a/docs/ibm_cbr_zone_info.rst +++ b/docs/ibm_cbr_zone_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline.rst b/docs/ibm_cd_tekton_pipeline.rst index bdcb81778..c56cc4448 100644 --- a/docs/ibm_cd_tekton_pipeline.rst +++ b/docs/ibm_cd_tekton_pipeline.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enable_partial_cloning (False, bool, False) - Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories will be read and cloned. This means symbolic links may not work. + worker (False, list, None) + Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. pipeline_id (True, str, None) (Required for new resource) String. - enable_slack_notifications (False, bool, False) - Flag whether to enable slack notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the enclosing toolchain. + enable_partial_cloning (False, bool, False) + Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories are read and cloned, this means that symbolic links might not work. - worker (False, list, None) - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. + enable_notifications (False, bool, False) + Flag whether to enable notifications for this pipeline. When enabled, pipeline run events are published on all slack integration specified channels in the parent toolchain. id (False, str, None) diff --git a/docs/ibm_cd_tekton_pipeline_definition.rst b/docs/ibm_cd_tekton_pipeline_definition.rst index 05fd7c432..7ace4b36b 100644 --- a/docs/ibm_cd_tekton_pipeline_definition.rst +++ b/docs/ibm_cd_tekton_pipeline_definition.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,8 +35,8 @@ Parameters (Required for new resource) The Tekton pipeline ID. - scm_source (False, list, None) - SCM source for Tekton pipeline definition. + source (False, list, None) + Source repository containing the Tekton pipeline definition. id (False, str, None) diff --git a/docs/ibm_cd_tekton_pipeline_definition_info.rst b/docs/ibm_cd_tekton_pipeline_definition_info.rst index 576cdf404..8358821bc 100644 --- a/docs/ibm_cd_tekton_pipeline_definition_info.rst +++ b/docs/ibm_cd_tekton_pipeline_definition_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - definition_id (True, str, None) - The definition ID. - - pipeline_id (True, str, None) The Tekton pipeline ID. + definition_id (True, str, None) + The definition 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_cd_tekton_pipeline_info.rst b/docs/ibm_cd_tekton_pipeline_info.rst index 5cd880113..8695c9066 100644 --- a/docs/ibm_cd_tekton_pipeline_info.rst +++ b/docs/ibm_cd_tekton_pipeline_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_property.rst b/docs/ibm_cd_tekton_pipeline_property.rst index 0a04a002f..20c828917 100644 --- a/docs/ibm_cd_tekton_pipeline_property.rst +++ b/docs/ibm_cd_tekton_pipeline_property.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -40,7 +40,7 @@ Parameters value (False, str, None) - Property value. + Property value. Any string value is valid. enum (False, list, None) @@ -52,7 +52,7 @@ Parameters path (False, str, None) - A dot notation path for `integration` type properties to select a value from the tool integration. + A dot notation path for `integration` type properties only, to select a value from the tool integration. If left blank the full tool integration data will be used. id (False, str, None) diff --git a/docs/ibm_cd_tekton_pipeline_property_info.rst b/docs/ibm_cd_tekton_pipeline_property_info.rst index 46461f067..5439e07ad 100644 --- a/docs/ibm_cd_tekton_pipeline_property_info.rst +++ b/docs/ibm_cd_tekton_pipeline_property_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_trigger_info.rst b/docs/ibm_cd_tekton_pipeline_trigger_info.rst index ba47d9421..1a417d07c 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger_info.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_trigger_property.rst b/docs/ibm_cd_tekton_pipeline_trigger_property.rst index ee7ab2ed2..42a144cbb 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger_property.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger_property.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pipeline_id (True, str, None) + (Required for new resource) The Tekton pipeline ID. + + trigger_id (True, str, None) (Required for new resource) The trigger ID. @@ -40,7 +44,7 @@ Parameters value (False, str, None) - Property value. + Property value. Any string value is valid. enum (False, list, None) @@ -52,11 +56,7 @@ Parameters path (False, str, None) - A dot notation path for `integration` type properties to select a value from the tool integration. If left blank the full tool integration data will be used. - - - pipeline_id (True, str, None) - (Required for new resource) The Tekton pipeline ID. + A dot notation path for `integration` type properties only, to select a value from the tool integration. If left blank the full tool integration data will be used. id (False, str, None) diff --git a/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst b/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst index 906417c10..1dd77696e 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pipeline_id (True, str, None) + The Tekton pipeline ID. + + trigger_id (True, str, None) The trigger ID. @@ -37,10 +41,6 @@ Parameters The property name. - pipeline_id (True, str, None) - The Tekton pipeline 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_cd_toolchain.rst b/docs/ibm_cd_toolchain.rst index ae2307884..bc13f8e95 100644 --- a/docs/ibm_cd_toolchain.rst +++ b/docs/ibm_cd_toolchain.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_group_id (True, str, None) + (Required for new resource) Resource group where toolchain will be created. + + description (False, str, None) Describes the toolchain. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Toolchain name. - resource_group_id (True, str, None) - (Required for new resource) Resource group where toolchain will be created. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_info.rst b/docs/ibm_cd_toolchain_info.rst index 2f8cb8e0f..6ee58a793 100644 --- a/docs/ibm_cd_toolchain_info.rst +++ b/docs/ibm_cd_toolchain_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_appconfig.rst b/docs/ibm_cd_toolchain_tool_appconfig.rst index fa08cd1c7..5367cea2b 100644 --- a/docs/ibm_cd_toolchain_tool_appconfig.rst +++ b/docs/ibm_cd_toolchain_tool_appconfig.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -36,11 +36,11 @@ Parameters parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. name (False, str, None) - Name of tool. + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_appconfig_info.rst b/docs/ibm_cd_toolchain_tool_appconfig_info.rst index 27a820642..b6cb63c77 100644 --- a/docs/ibm_cd_toolchain_tool_appconfig_info.rst +++ b/docs/ibm_cd_toolchain_tool_appconfig_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_artifactory.rst b/docs/ibm_cd_toolchain_tool_artifactory.rst index 64e442e02..483cb0cc1 100644 --- a/docs/ibm_cd_toolchain_tool_artifactory.rst +++ b/docs/ibm_cd_toolchain_tool_artifactory.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -32,17 +32,17 @@ Parameters ---------- parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - - name (False, str, None) - Name of tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of the tool. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_artifactory_info.rst b/docs/ibm_cd_toolchain_tool_artifactory_info.rst index 9d472e198..d9cdd573a 100644 --- a/docs/ibm_cd_toolchain_tool_artifactory_info.rst +++ b/docs/ibm_cd_toolchain_tool_artifactory_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_bitbucketgit.rst b/docs/ibm_cd_toolchain_tool_bitbucketgit.rst index 7b182a9a4..83d0d9fc8 100644 --- a/docs/ibm_cd_toolchain_tool_bitbucketgit.rst +++ b/docs/ibm_cd_toolchain_tool_bitbucketgit.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - initialization (True, list, None) - (Required for new resource) + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. - name (False, str, None) - Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. + initialization (True, list, None) + (Required for new resource) - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + name (False, str, None) + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst b/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst index 0193aa847..7d783d199 100644 --- a/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst +++ b/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_custom.rst b/docs/ibm_cd_toolchain_tool_custom.rst index ace7585c0..234429659 100644 --- a/docs/ibm_cd_toolchain_tool_custom.rst +++ b/docs/ibm_cd_toolchain_tool_custom.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Name of tool. - - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of the tool. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_custom_info.rst b/docs/ibm_cd_toolchain_tool_custom_info.rst index 77fe19c3e..7c965e4f6 100644 --- a/docs/ibm_cd_toolchain_tool_custom_info.rst +++ b/docs/ibm_cd_toolchain_tool_custom_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_devopsinsights.rst b/docs/ibm_cd_toolchain_tool_devopsinsights.rst index 73c0fbf02..be198a584 100644 --- a/docs/ibm_cd_toolchain_tool_devopsinsights.rst +++ b/docs/ibm_cd_toolchain_tool_devopsinsights.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -36,7 +36,7 @@ Parameters name (False, str, None) - Name of tool. + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst b/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst index 6dc012838..340abdd11 100644 --- a/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst +++ b/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_githubconsolidated.rst b/docs/ibm_cd_toolchain_tool_githubconsolidated.rst index 5bfb5d1b5..8b6bcfb0e 100644 --- a/docs/ibm_cd_toolchain_tool_githubconsolidated.rst +++ b/docs/ibm_cd_toolchain_tool_githubconsolidated.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,16 +35,16 @@ Parameters (Required for new resource) ID of the toolchain to bind the tool to. - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - initialization (True, list, None) (Required for new resource) + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + name (False, str, None) - Name of tool. + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst b/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst index ee518b33b..a0fa975a0 100644 --- a/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst +++ b/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_gitlab.rst b/docs/ibm_cd_toolchain_tool_gitlab.rst index 9baf9675f..f9767cade 100644 --- a/docs/ibm_cd_toolchain_tool_gitlab.rst +++ b/docs/ibm_cd_toolchain_tool_gitlab.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Name of tool. - - - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. initialization (True, list, None) (Required for new resource) - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of the tool. + + + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_gitlab_info.rst b/docs/ibm_cd_toolchain_tool_gitlab_info.rst index bd9210613..32b574f68 100644 --- a/docs/ibm_cd_toolchain_tool_gitlab_info.rst +++ b/docs/ibm_cd_toolchain_tool_gitlab_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_hashicorpvault.rst b/docs/ibm_cd_toolchain_tool_hashicorpvault.rst index 65c4ecc10..4eeafd667 100644 --- a/docs/ibm_cd_toolchain_tool_hashicorpvault.rst +++ b/docs/ibm_cd_toolchain_tool_hashicorpvault.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Name of tool. - - toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of the tool. + + parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst b/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst index 008fa0b90..a2cd71f1e 100644 --- a/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst +++ b/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_hostedgit.rst b/docs/ibm_cd_toolchain_tool_hostedgit.rst index 24ea5d588..0d876e726 100644 --- a/docs/ibm_cd_toolchain_tool_hostedgit.rst +++ b/docs/ibm_cd_toolchain_tool_hostedgit.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - initialization (True, list, None) - (Required for new resource) - - - name (False, str, None) - Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + initialization (True, list, None) + (Required for new resource) + + + name (False, str, None) + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_hostedgit_info.rst b/docs/ibm_cd_toolchain_tool_hostedgit_info.rst index 362bfaee3..da4753f97 100644 --- a/docs/ibm_cd_toolchain_tool_hostedgit_info.rst +++ b/docs/ibm_cd_toolchain_tool_hostedgit_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_jenkins.rst b/docs/ibm_cd_toolchain_tool_jenkins.rst index 7f053603c..52a0c52cb 100644 --- a/docs/ibm_cd_toolchain_tool_jenkins.rst +++ b/docs/ibm_cd_toolchain_tool_jenkins.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + name (False, str, None) + Name of the tool. - name (False, str, None) - Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. toolchain_id (True, str, None) diff --git a/docs/ibm_cd_toolchain_tool_jenkins_info.rst b/docs/ibm_cd_toolchain_tool_jenkins_info.rst index 7dd65f6e3..1821b485a 100644 --- a/docs/ibm_cd_toolchain_tool_jenkins_info.rst +++ b/docs/ibm_cd_toolchain_tool_jenkins_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + 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_cd_toolchain_tool_jira.rst b/docs/ibm_cd_toolchain_tool_jira.rst new file mode 100644 index 000000000..80ddd676a --- /dev/null +++ b/docs/ibm_cd_toolchain_tool_jira.rst @@ -0,0 +1,85 @@ + +ibm_cd_toolchain_tool_jira -- Configure IBM Cloud 'ibm_cd_toolchain_tool_jira' resource +======================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_jira' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cd_toolchain_tool_jira + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + + name (False, str, None) + Name of the tool. + + + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_cd_toolchain_tool_jira_info.rst b/docs/ibm_cd_toolchain_tool_jira_info.rst new file mode 100644 index 000000000..d0ad3c984 --- /dev/null +++ b/docs/ibm_cd_toolchain_tool_jira_info.rst @@ -0,0 +1,71 @@ + +ibm_cd_toolchain_tool_jira_info -- Retrieve IBM Cloud 'ibm_cd_toolchain_tool_jira' resource +=========================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_jira' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/cd_toolchain_tool_jira + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + toolchain_id (True, str, None) + ID of the toolchain. + + + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + + 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'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_cd_toolchain_tool_keyprotect.rst b/docs/ibm_cd_toolchain_tool_keyprotect.rst index aafc2882d..17dd9b555 100644 --- a/docs/ibm_cd_toolchain_tool_keyprotect.rst +++ b/docs/ibm_cd_toolchain_tool_keyprotect.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -36,11 +36,11 @@ Parameters parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. name (False, str, None) - Name of tool. + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_keyprotect_info.rst b/docs/ibm_cd_toolchain_tool_keyprotect_info.rst index 831e57ed6..de9cb5170 100644 --- a/docs/ibm_cd_toolchain_tool_keyprotect_info.rst +++ b/docs/ibm_cd_toolchain_tool_keyprotect_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_nexus.rst b/docs/ibm_cd_toolchain_tool_nexus.rst index aea498635..cc850e214 100644 --- a/docs/ibm_cd_toolchain_tool_nexus.rst +++ b/docs/ibm_cd_toolchain_tool_nexus.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (False, str, None) + Name of the tool. + + toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - - name (False, str, None) - Name of tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_nexus_info.rst b/docs/ibm_cd_toolchain_tool_nexus_info.rst index 53960d656..b469ac971 100644 --- a/docs/ibm_cd_toolchain_tool_nexus_info.rst +++ b/docs/ibm_cd_toolchain_tool_nexus_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_pagerduty.rst b/docs/ibm_cd_toolchain_tool_pagerduty.rst index e9812e66f..df46e3bd7 100644 --- a/docs/ibm_cd_toolchain_tool_pagerduty.rst +++ b/docs/ibm_cd_toolchain_tool_pagerduty.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,12 +35,12 @@ Parameters (Required for new resource) ID of the toolchain to bind the tool to. - name (False, str, None) - Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + name (False, str, None) + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_pagerduty_info.rst b/docs/ibm_cd_toolchain_tool_pagerduty_info.rst index f2860124f..344f8f515 100644 --- a/docs/ibm_cd_toolchain_tool_pagerduty_info.rst +++ b/docs/ibm_cd_toolchain_tool_pagerduty_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + 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_cd_toolchain_tool_pipeline.rst b/docs/ibm_cd_toolchain_tool_pipeline.rst index af2f0358c..cf079c6b4 100644 --- a/docs/ibm_cd_toolchain_tool_pipeline.rst +++ b/docs/ibm_cd_toolchain_tool_pipeline.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of the tool. parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - name (False, str, None) - Name of tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_pipeline_info.rst b/docs/ibm_cd_toolchain_tool_pipeline_info.rst index 425764f50..40cb91b1f 100644 --- a/docs/ibm_cd_toolchain_tool_pipeline_info.rst +++ b/docs/ibm_cd_toolchain_tool_pipeline_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_privateworker.rst b/docs/ibm_cd_toolchain_tool_privateworker.rst index af5ef6629..27c5e2c18 100644 --- a/docs/ibm_cd_toolchain_tool_privateworker.rst +++ b/docs/ibm_cd_toolchain_tool_privateworker.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -36,11 +36,11 @@ Parameters parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. name (False, str, None) - Name of tool. + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_privateworker_info.rst b/docs/ibm_cd_toolchain_tool_privateworker_info.rst index 010004ca5..6090589c9 100644 --- a/docs/ibm_cd_toolchain_tool_privateworker_info.rst +++ b/docs/ibm_cd_toolchain_tool_privateworker_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_saucelabs.rst b/docs/ibm_cd_toolchain_tool_saucelabs.rst index 96738c4fd..dadc46c0d 100644 --- a/docs/ibm_cd_toolchain_tool_saucelabs.rst +++ b/docs/ibm_cd_toolchain_tool_saucelabs.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -32,11 +32,11 @@ Parameters ---------- parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. name (False, str, None) - Name of tool. + Name of the tool. toolchain_id (True, str, None) diff --git a/docs/ibm_cd_toolchain_tool_saucelabs_info.rst b/docs/ibm_cd_toolchain_tool_saucelabs_info.rst index 690385409..d150f806a 100644 --- a/docs/ibm_cd_toolchain_tool_saucelabs_info.rst +++ b/docs/ibm_cd_toolchain_tool_saucelabs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_secretsmanager.rst b/docs/ibm_cd_toolchain_tool_secretsmanager.rst index 3b0d5b798..3ce2f262c 100644 --- a/docs/ibm_cd_toolchain_tool_secretsmanager.rst +++ b/docs/ibm_cd_toolchain_tool_secretsmanager.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + name (False, str, None) - Name of tool. + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst b/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst index 1efdd619c..0aa5e770a 100644 --- a/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst +++ b/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_securitycompliance.rst b/docs/ibm_cd_toolchain_tool_securitycompliance.rst index d1657e839..88b93713f 100644 --- a/docs/ibm_cd_toolchain_tool_securitycompliance.rst +++ b/docs/ibm_cd_toolchain_tool_securitycompliance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. - name (False, str, None) - Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst b/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst index 767e4ae6a..f961ce1c7 100644 --- a/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst +++ b/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_slack.rst b/docs/ibm_cd_toolchain_tool_slack.rst index d5748dc0c..60a32354c 100644 --- a/docs/ibm_cd_toolchain_tool_slack.rst +++ b/docs/ibm_cd_toolchain_tool_slack.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Name of tool. - - toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + + name (False, str, None) + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_slack_info.rst b/docs/ibm_cd_toolchain_tool_slack_info.rst index 5a10205ff..01c9f5373 100644 --- a/docs/ibm_cd_toolchain_tool_slack_info.rst +++ b/docs/ibm_cd_toolchain_tool_slack_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + 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_cd_toolchain_tool_sonarqube.rst b/docs/ibm_cd_toolchain_tool_sonarqube.rst index 9f8e38074..9abae094d 100644 --- a/docs/ibm_cd_toolchain_tool_sonarqube.rst +++ b/docs/ibm_cd_toolchain_tool_sonarqube.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + name (False, str, None) + Name of the tool. - name (False, str, None) - Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. toolchain_id (True, str, None) diff --git a/docs/ibm_cd_toolchain_tool_sonarqube_info.rst b/docs/ibm_cd_toolchain_tool_sonarqube_info.rst index 3ee5f0775..6f20cf4c3 100644 --- a/docs/ibm_cd_toolchain_tool_sonarqube_info.rst +++ b/docs/ibm_cd_toolchain_tool_sonarqube_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cdn.rst b/docs/ibm_cdn.rst index 61b9ad625..0d0623118 100644 --- a/docs/ibm_cdn.rst +++ b/docs/ibm_cdn.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bucket_name (False, str, None) - Bucket name - - - header (False, str, None) - Header info + certificate_type (False, str, None) + Certificate type cache_key_query_rule (False, str, include-all) query rule info - https_port (False, int, 443) - HTTPS port number - - - file_extension (False, str, None) - File extension info - - performance_configuration (False, str, General web delivery) performance configuration info @@ -59,34 +47,30 @@ Parameters Path details - vendor_name (False, str, akamai) - Vendor name + bucket_name (False, str, None) + Bucket name - origin_type (False, str, HOST_SERVER) - Origin type info + header (False, str, None) + Header info http_port (False, int, 80) HTTP port number - host_name (True, str, None) - (Required for new resource) Host name - - - protocol (False, str, HTTP) - Protocol name - - - certificate_type (False, str, None) - Certificate type + vendor_name (False, str, akamai) + Vendor name origin_address (True, str, None) (Required for new resource) origin address info + https_port (False, int, 443) + HTTPS port number + + cname (False, str, None) cname info @@ -95,6 +79,22 @@ Parameters respect headers info + file_extension (False, str, None) + File extension info + + + host_name (True, str, None) + (Required for new resource) Host name + + + protocol (False, str, HTTP) + Protocol name + + + origin_type (False, str, HOST_SERVER) + Origin type info + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_certificate_manager_certificate_info.rst b/docs/ibm_certificate_manager_certificate_info.rst index 6e8d0122b..797e891f1 100644 --- a/docs/ibm_certificate_manager_certificate_info.rst +++ b/docs/ibm_certificate_manager_certificate_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - certificate_manager_instance_id (True, str, None) + name (True, str, None) None - name (True, str, None) + certificate_manager_instance_id (True, str, None) None diff --git a/docs/ibm_certificate_manager_certificates_info.rst b/docs/ibm_certificate_manager_certificates_info.rst index 76acb80e5..5f9bf6ab0 100644 --- a/docs/ibm_certificate_manager_certificates_info.rst +++ b/docs/ibm_certificate_manager_certificates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_import.rst b/docs/ibm_certificate_manager_import.rst index d08193dc6..2a3148380 100644 --- a/docs/ibm_certificate_manager_import.rst +++ b/docs/ibm_certificate_manager_import.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - certificate_manager_instance_id (True, str, None) - (Required for new resource) Instance ID of the certificate manager resource - - name (True, str, None) (Required for new resource) Name of the instance @@ -47,6 +43,10 @@ Parameters Description of the certificate instance + certificate_manager_instance_id (True, str, None) + (Required for new resource) Instance ID of the certificate manager resource + + 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 bd23171b9..9a5632379 100644 --- a/docs/ibm_certificate_manager_order.rst +++ b/docs/ibm_certificate_manager_order.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,38 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - certificate_manager_instance_id (True, str, None) - (Required for new resource) Certificate manager instance ID - - - rotate_keys (False, bool, False) - Keys are sorated if set to true - - auto_renew_enabled (False, bool, False) None - name (True, str, None) - (Required for new resource) Certificate name + certificate_manager_instance_id (True, str, None) + (Required for new resource) Certificate manager instance ID - description (False, str, None) - Certicate description + domains (True, list, None) + (Required for new resource) List of domain names - domain_validation_method (False, str, dns-01) - Domain validation methods + description (False, str, None) + Certicate description dns_provider_instance_crn (False, str, None) DNS provider instance CRN - domains (True, list, None) - (Required for new resource) List of domain names - - renew_certificate (False, bool, False) Invokes renew functionality @@ -71,6 +59,18 @@ Parameters Keyalgorithm info + name (True, str, None) + (Required for new resource) Certificate name + + + rotate_keys (False, bool, False) + Keys are sorated if set to true + + + domain_validation_method (False, str, dns-01) + Domain validation methods + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis.rst b/docs/ibm_cis.rst index 6c9828a98..474ad5b2d 100644 --- a/docs/ibm_cis.rst +++ b/docs/ibm_cis.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ 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 - resource_group_id (False, str, None) - The resource group id + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object tags (False, list, None) None - parameters (False, dict, None) - Arbitrary parameters to pass. Must be a JSON object + 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 + name (True, str, None) + (Required for new resource) A name for the resource instance + + + resource_group_id (False, str, None) + The resource group id id (False, str, None) diff --git a/docs/ibm_cis_alert.rst b/docs/ibm_cis_alert.rst index cf1917fe1..a695a2306 100644 --- a/docs/ibm_cis_alert.rst +++ b/docs/ibm_cis_alert.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,18 +35,10 @@ Parameters (Required for new resource) CIS instance crn - mechanisms (True, list, None) - (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. - - name (True, str, None) (Required for new resource) Policy name - description (False, str, None) - Policy Description - - enabled (True, bool, None) (Required for new resource) Is the alert policy active @@ -55,14 +47,22 @@ Parameters (Required for new resource) Condition for the alert - filters (False, str, None) - Filters based on filter type - - conditions (False, str, None) Conditions based on filter type + description (False, str, None) + Policy Description + + + mechanisms (True, list, None) + (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. + + + filters (False, str, None) + Filters based on filter type + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_alerts_info.rst b/docs/ibm_cis_alerts_info.rst index 8e25d0cd7..aaa22f50c 100644 --- a/docs/ibm_cis_alerts_info.rst +++ b/docs/ibm_cis_alerts_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_cache_settings.rst b/docs/ibm_cis_cache_settings.rst index c5442ea63..4abf71af4 100644 --- a/docs/ibm_cis_cache_settings.rst +++ b/docs/ibm_cis_cache_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - development_mode (False, str, None) - Development mode setting + serve_stale_content (False, str, True) + Serve Stale Content - purge_all (False, bool, None) - Purge all setting + browser_expiration (False, int, None) + Browser Expiration setting purge_by_urls (False, list, None) @@ -51,8 +51,12 @@ Parameters Cache level setting - browser_expiration (False, int, None) - Browser Expiration setting + query_string_sort (False, str, None) + Query String sort setting + + + purge_all (False, bool, None) + Purge all setting purge_by_tags (False, list, None) @@ -67,12 +71,8 @@ Parameters (Required for new resource) Associated CIS domain - serve_stale_content (False, str, True) - Serve Stale Content - - - query_string_sort (False, str, None) - Query String sort setting + development_mode (False, str, None) + Development mode setting id (False, str, None) diff --git a/docs/ibm_cis_cache_settings_info.rst b/docs/ibm_cis_cache_settings_info.rst index 5cb49a990..de2520186 100644 --- a/docs/ibm_cis_cache_settings_info.rst +++ b/docs/ibm_cis_cache_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_certificate_order.rst b/docs/ibm_cis_certificate_order.rst index 5025ce943..15d9bb3a0 100644 --- a/docs/ibm_cis_certificate_order.rst +++ b/docs/ibm_cis_certificate_order.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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 + + type (False, str, dedicated) certificate type @@ -43,10 +47,6 @@ Parameters (Required for new resource) CIS object id or CRN - 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_upload.rst b/docs/ibm_cis_certificate_upload.rst index 0038cc228..50642bd54 100644 --- a/docs/ibm_cis_certificate_upload.rst +++ b/docs/ibm_cis_certificate_upload.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - private_key (True, str, None) - (Required for new resource) Certificate private key + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - priority (False, int, None) - Certificate priority + certificate (True, str, None) + (Required for new resource) Certificate key - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + priority (False, int, None) + Certificate priority cis_id (True, str, None) @@ -51,8 +51,8 @@ Parameters Certificate bundle method - certificate (True, str, None) - (Required for new resource) Certificate key + private_key (True, str, None) + (Required for new resource) Certificate private key id (False, str, None) diff --git a/docs/ibm_cis_certificates_info.rst b/docs/ibm_cis_certificates_info.rst index 2cfd194d9..da1981986 100644 --- a/docs/ibm_cis_certificates_info.rst +++ b/docs/ibm_cis_certificates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_certificates_info.rst b/docs/ibm_cis_custom_certificates_info.rst index e1889a539..b9b3d0b04 100644 --- a/docs/ibm_cis_custom_certificates_info.rst +++ b/docs/ibm_cis_custom_certificates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - CIS instance crn - - domain_id (True, str, None) None + cis_id (True, str, None) + CIS instance crn + + 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_custom_page.rst b/docs/ibm_cis_custom_page.rst index 9c5983328..6afdf6e5b 100644 --- a/docs/ibm_cis_custom_page.rst +++ b/docs/ibm_cis_custom_page.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,22 +31,22 @@ 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 - - domain_id (True, str, None) (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 + 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_custom_pages_info.rst b/docs/ibm_cis_custom_pages_info.rst index fec129f0c..8c70d09d2 100644 --- a/docs/ibm_cis_custom_pages_info.rst +++ b/docs/ibm_cis_custom_pages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_dns_record.rst b/docs/ibm_cis_dns_record.rst index c8973a78e..14eefb63f 100644 --- a/docs/ibm_cis_dns_record.rst +++ b/docs/ibm_cis_dns_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - content (False, str, None) - DNS record content + name (False, str, None) + DNS record name - data (False, dict, None) - None + type (True, str, None) + (Required for new resource) Record type - priority (False, int, None) - Priority Value + data (False, dict, None) + None - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + proxied (False, bool, False) + Boolean value true if proxied else flase cis_id (True, str, None) (Required for new resource) CIS object id or CRN - name (False, str, None) - DNS record name + content (False, str, None) + DNS record content - type (True, str, None) - (Required for new resource) Record type + ttl (False, int, 1) + TTL value - proxied (False, bool, False) - Boolean value true if proxied else flase + priority (False, int, None) + Priority Value - ttl (False, int, 1) - TTL value + domain_id (True, str, None) + (Required for new resource) Associated CIS domain id (False, str, None) diff --git a/docs/ibm_cis_dns_records_import.rst b/docs/ibm_cis_dns_records_import.rst index 7f94b9324..2b3034035 100644 --- a/docs/ibm_cis_dns_records_import.rst +++ b/docs/ibm_cis_dns_records_import.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_dns_records_info.rst b/docs/ibm_cis_dns_records_info.rst index dceec135e..3d9cdce9c 100644 --- a/docs/ibm_cis_dns_records_info.rst +++ b/docs/ibm_cis_dns_records_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_domain.rst b/docs/ibm_cis_domain.rst index b227e256a..ec7e6f6e6 100644 --- a/docs/ibm_cis_domain.rst +++ b/docs/ibm_cis_domain.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + domain (True, str, None) (Required for new resource) CISzone - Domain @@ -39,10 +43,6 @@ Parameters CISzone - Domain Type - 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_domain_info.rst b/docs/ibm_cis_domain_info.rst index f19140acb..0a9e1e402 100644 --- a/docs/ibm_cis_domain_info.rst +++ b/docs/ibm_cis_domain_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + domain (True, str, None) + CISzone - Domain + + cis_id (True, str, None) CIS instance crn @@ -41,10 +45,6 @@ Parameters None - domain (True, str, None) - CISzone - 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_cis_domain_settings.rst b/docs/ibm_cis_domain_settings.rst index 77b39baa9..f4c16a584 100644 --- a/docs/ibm_cis_domain_settings.rst +++ b/docs/ibm_cis_domain_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,136 +31,136 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - websockets (False, str, None) - websockets setting + automatic_https_rewrites (False, str, None) + automatic_https_rewrites setting - opportunistic_encryption (False, str, None) - opportunistic_encryption setting + always_use_https (False, str, None) + always_use_https setting - browser_check (False, str, None) - browser_check setting + true_client_ip_header (False, str, None) + true_client_ip_header setting - minify (False, list, None) - Minify setting + ip_geolocation (False, str, None) + ip_geolocation setting - cis_id (True, str, None) - (Required for new resource) CIS instance crn + pseudo_ipv4 (False, str, None) + pseudo_ipv4 setting - ssl (False, str, None) - SSL/TLS setting + challenge_ttl (False, int, None) + Challenge TTL setting - automatic_https_rewrites (False, str, None) - automatic_https_rewrites setting + min_tls_version (False, str, 1.1) + Minimum version of TLS required - origin_error_page_pass_thru (False, str, None) - origin_error_page_pass_thru setting + image_load_optimization (False, str, None) + image_load_optimization setting - mobile_redirect (False, list, None) - None + origin_error_page_pass_thru (False, str, None) + origin_error_page_pass_thru setting domain_id (True, str, None) (Required for new resource) Associated CIS domain - hotlink_protection (False, str, None) - hotlink_protection setting - - - http2 (False, str, None) - http2 setting + ssl (False, str, None) + SSL/TLS setting brotli (False, str, None) brotli setting - pseudo_ipv4 (False, str, None) - pseudo_ipv4 setting + cname_flattening (False, str, None) + cname_flattening setting - prefetch_preload (False, str, None) - prefetch_preload setting + tls_client_auth (False, str, None) + tls_client_auth setting - min_tls_version (False, str, 1.1) - Minimum version of TLS required + minify (False, list, None) + Minify setting - waf (False, str, None) - WAF setting + mobile_redirect (False, list, None) + None ipv6 (False, str, None) ipv6 setting - image_load_optimization (False, str, None) - image_load_optimization setting + http2 (False, str, None) + http2 setting - response_buffering (False, str, None) - response_buffering setting + image_size_optimization (False, str, None) + image_size_optimization setting - tls_client_auth (False, str, None) - tls_client_auth setting + prefetch_preload (False, str, None) + prefetch_preload setting - true_client_ip_header (False, str, None) - true_client_ip_header setting + security_header (False, list, None) + Security Header Setting - dnssec (False, str, None) - DNS Sec setting + cis_id (True, str, None) + (Required for new resource) CIS instance crn - ip_geolocation (False, str, None) - ip_geolocation setting + browser_check (False, str, None) + browser_check setting - max_upload (False, int, None) - Maximum upload + script_load_optimization (False, str, None) + script_load_optimization setting - security_header (False, list, None) - Security Header Setting + server_side_exclude (False, str, None) + server_side_exclude setting - image_size_optimization (False, str, None) - image_size_optimization setting + websockets (False, str, None) + websockets setting - always_use_https (False, str, None) - always_use_https setting + max_upload (False, int, None) + Maximum upload - script_load_optimization (False, str, None) - script_load_optimization setting + dnssec (False, str, None) + DNS Sec setting - server_side_exclude (False, str, None) - server_side_exclude setting + waf (False, str, None) + WAF setting - challenge_ttl (False, int, None) - Challenge TTL setting + opportunistic_encryption (False, str, None) + opportunistic_encryption setting - cipher (False, list, None) - Cipher settings + hotlink_protection (False, str, None) + hotlink_protection setting - cname_flattening (False, str, None) - cname_flattening setting + response_buffering (False, str, None) + response_buffering setting + + + cipher (False, list, None) + Cipher settings id (False, str, None) diff --git a/docs/ibm_cis_edge_functions_action.rst b/docs/ibm_cis_edge_functions_action.rst index 6f62d8b63..09fabe3c6 100644 --- a/docs/ibm_cis_edge_functions_action.rst +++ b/docs/ibm_cis_edge_functions_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + script (True, str, None) + (Required for new resource) Edge function action script + + cis_id (True, str, None) (Required for new resource) CIS Intance CRN @@ -43,10 +47,6 @@ Parameters (Required for new resource) Edge function action script name - script (True, str, None) - (Required for new resource) Edge function action script - - 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 c5c1f0f51..247f35cd7 100644 --- a/docs/ibm_cis_edge_functions_actions_info.rst +++ b/docs/ibm_cis_edge_functions_actions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - CIS Domain ID - - cis_id (True, str, None) CIS Intance CRN + domain_id (True, str, None) + CIS Domain 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_cis_edge_functions_trigger.rst b/docs/ibm_cis_edge_functions_trigger.rst index 5a5dfd5fb..9fee5f31d 100644 --- a/docs/ibm_cis_edge_functions_trigger.rst +++ b/docs/ibm_cis_edge_functions_trigger.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pattern_url (True, str, None) - (Required for new resource) Edge function trigger pattern - - - action_name (False, str, None) - Edge function trigger action name - - cis_id (True, str, None) (Required for new resource) CIS Intance CRN @@ -47,6 +39,14 @@ Parameters (Required for new resource) CIS Domain ID + pattern_url (True, str, None) + (Required for new resource) Edge function trigger pattern + + + action_name (False, str, None) + Edge function trigger action name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_edge_functions_triggers_info.rst b/docs/ibm_cis_edge_functions_triggers_info.rst index 377cf88c3..9e40fb032 100644 --- a/docs/ibm_cis_edge_functions_triggers_info.rst +++ b/docs/ibm_cis_edge_functions_triggers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_filter.rst b/docs/ibm_cis_filter.rst index 198652baa..51549e386 100644 --- a/docs/ibm_cis_filter.rst +++ b/docs/ibm_cis_filter.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - paused (False, bool, None) Filter Paused @@ -51,6 +43,14 @@ Parameters Filter Description + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + + 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_filters_info.rst b/docs/ibm_cis_filters_info.rst index aa6635e36..d805f36e4 100644 --- a/docs/ibm_cis_filters_info.rst +++ b/docs/ibm_cis_filters_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_firewall.rst b/docs/ibm_cis_firewall.rst index bcaa393ae..42cdaf1ce 100644 --- a/docs/ibm_cis_firewall.rst +++ b/docs/ibm_cis_firewall.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_firewall_info.rst b/docs/ibm_cis_firewall_info.rst index c7a20fb26..92730b68b 100644 --- a/docs/ibm_cis_firewall_info.rst +++ b/docs/ibm_cis_firewall_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,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 instance crn @@ -37,10 +41,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_firewall_rule.rst b/docs/ibm_cis_firewall_rule.rst index 1f39899b3..4c7cdab7a 100644 --- a/docs/ibm_cis_firewall_rule.rst +++ b/docs/ibm_cis_firewall_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + description (False, str, None) + Firewallrules Description + + + paused (False, bool, None) + Firewallrules Paused + + cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -51,14 +59,6 @@ Parameters Firewallrules Action - description (False, str, None) - Firewallrules Description - - - paused (False, bool, None) - Firewallrules Paused - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_firewall_rules_info.rst b/docs/ibm_cis_firewall_rules_info.rst index 91fae2177..b85a8d8e4 100644 --- a/docs/ibm_cis_firewall_rules_info.rst +++ b/docs/ibm_cis_firewall_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_global_load_balancer.rst b/docs/ibm_cis_global_load_balancer.rst index b24e517fc..4dd7f90e4 100644 --- a/docs/ibm_cis_global_load_balancer.rst +++ b/docs/ibm_cis_global_load_balancer.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn + ttl (False, int, 60) + TTL value - name (True, str, None) - (Required for new resource) name + session_affinity (False, str, none) + Session affinity info - region_pools (False, list, None) + pop_pools (False, list, None) None - default_pool_ids (True, list, None) - (Required for new resource) List of default Pool IDs + name (True, str, None) + (Required for new resource) name - pop_pools (False, list, None) - None + fallback_pool_id (True, str, None) + (Required for new resource) fallback pool ID description (False, str, None) @@ -63,24 +63,24 @@ Parameters set to true if proxy needs to be enabled - enabled (False, bool, True) - set to true of LB needs to enabled + 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 - session_affinity (False, str, none) - Session affinity info + region_pools (False, list, None) + None - fallback_pool_id (True, str, None) - (Required for new resource) fallback pool ID + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - ttl (False, int, 60) - TTL value + enabled (False, bool, True) + set to true of LB needs to enabled 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 96b4b956d..87af5927f 100644 --- a/docs/ibm_cis_global_load_balancers_info.rst +++ b/docs/ibm_cis_global_load_balancers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_healthcheck.rst b/docs/ibm_cis_healthcheck.rst index 8f1ec70e9..923731a5a 100644 --- a/docs/ibm_cis_healthcheck.rst +++ b/docs/ibm_cis_healthcheck.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,60 +31,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - expected_codes (False, str, None) - expected_codes + type (False, str, http) + type - description (False, str, None) - description + retries (False, int, 2) + retries - type (False, str, http) - type + interval (False, int, 60) + interval - method (False, str, GET) - method + path (False, str, /) + path - timeout (False, int, 5) - timeout + method (False, str, GET) + method - cis_id (True, str, None) - (Required for new resource) CIS instance crn + allow_insecure (False, bool, False) + allow_insecure - interval (False, int, 60) - interval + expected_body (False, str, None) + expected_body follow_redirects (False, bool, False) follow_redirects - allow_insecure (False, bool, False) - allow_insecure - - port (False, int, None) port number - path (False, str, /) - path + headers (False, list, None) + None - expected_body (False, str, None) - expected_body + cis_id (True, str, None) + (Required for new resource) CIS instance crn - retries (False, int, 2) - retries + expected_codes (False, str, None) + expected_codes - headers (False, list, None) - None + description (False, str, None) + description + + + 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 f709748ca..f4f0234e7 100644 --- a/docs/ibm_cis_healthchecks_info.rst +++ b/docs/ibm_cis_healthchecks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_info.rst b/docs/ibm_cis_info.rst index 8f1b9e96d..aa1124d95 100644 --- a/docs/ibm_cis_info.rst +++ b/docs/ibm_cis_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Resource instance name for example, my cis instance - - resource_group_id (False, str, None) The id of the resource group in which the cis instance is present + name (True, str, None) + Resource instance name for example, my cis instance + + 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_ip_addresses_info.rst b/docs/ibm_cis_ip_addresses_info.rst index d43d37f9e..9415df8c9 100644 --- a/docs/ibm_cis_ip_addresses_info.rst +++ b/docs/ibm_cis_ip_addresses_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_logpush_job.rst b/docs/ibm_cis_logpush_job.rst index 9d75886e0..e8f3c343a 100644 --- a/docs/ibm_cis_logpush_job.rst +++ b/docs/ibm_cis_logpush_job.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ 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 - - - logdna (True, str, None) - (Required for new resource) Information to identify the LogDNA instance the data will be pushed. - - - name (False, str, None) - Logpush Job Name - - enabled (False, bool, None) Whether the logpush job enabled or not @@ -63,6 +51,18 @@ Parameters (Required for new resource) CIS instance crn + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + logdna (True, str, None) + (Required for new resource) Information to identify the LogDNA instance the data will be pushed. + + + name (False, str, None) + Logpush Job Name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_logpush_jobs_info.rst b/docs/ibm_cis_logpush_jobs_info.rst index fdc0fb78d..cdd841f9a 100644 --- a/docs/ibm_cis_logpush_jobs_info.rst +++ b/docs/ibm_cis_logpush_jobs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_mtls.rst b/docs/ibm_cis_mtls.rst index 37fcc7ec0..ed3a57cfb 100644 --- a/docs/ibm_cis_mtls.rst +++ b/docs/ibm_cis_mtls.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - certificate (True, str, None) - (Required for new resource) Certificate contents - - name (True, str, None) (Required for new resource) Certificate name @@ -51,6 +47,10 @@ Parameters (Required for new resource) Associated CIS domain + certificate (True, str, None) + (Required for new resource) Certificate contents + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_mtls_app.rst b/docs/ibm_cis_mtls_app.rst index 012627b10..f19b139db 100644 --- a/docs/ibm_cis_mtls_app.rst +++ b/docs/ibm_cis_mtls_app.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn + policy_name (False, str, mtls-policy) + Policy Name - name (True, str, None) - (Required for new resource) App Name + domain (True, str, None) + (Required for new resource) Associated host domain value - session_duration (False, str, 24h) - Duration for app validatidity + cert_rule_val (False, str, CA root certificate) + Policy certificate rule value - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + cis_id (True, str, None) + (Required for new resource) CIS instance crn - policy_name (False, str, mtls-policy) - Policy Name + name (True, str, None) + (Required for new resource) App Name - policy_decision (False, str, non_identity) - Policy Action + session_duration (False, str, 24h) + Duration for app validatidity common_rule_val (False, str, None) Policy common rule value - cert_rule_val (False, str, CA root certificate) - Policy certificate rule value + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - domain (True, str, None) - (Required for new resource) Associated host domain value + policy_decision (False, str, non_identity) + Policy Action id (False, str, None) diff --git a/docs/ibm_cis_mtls_apps_info.rst b/docs/ibm_cis_mtls_apps_info.rst index 60bad73a9..45b4538d2 100644 --- a/docs/ibm_cis_mtls_apps_info.rst +++ b/docs/ibm_cis_mtls_apps_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_mtlss_info.rst b/docs/ibm_cis_mtlss_info.rst index a03cb6bd6..188c93105 100644 --- a/docs/ibm_cis_mtlss_info.rst +++ b/docs/ibm_cis_mtlss_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - Associated CIS domain - - cis_id (True, str, None) CIS instance crn + domain_id (True, str, None) + Associated CIS 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_cis_origin_auth.rst b/docs/ibm_cis_origin_auth.rst index c0e968f07..d0bac1eca 100644 --- a/docs/ibm_cis_origin_auth.rst +++ b/docs/ibm_cis_origin_auth.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + level (True, str, None) (Required for new resource) Origin auth level zone or hostname @@ -51,14 +59,6 @@ Parameters (Required for new resource) Private key content which needs to be uploaded - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - - 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_origin_auths_info.rst b/docs/ibm_cis_origin_auths_info.rst index b7490c860..c89dff856 100644 --- a/docs/ibm_cis_origin_auths_info.rst +++ b/docs/ibm_cis_origin_auths_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - request_type (False, str, zone_level) - Associated CIS Request Type - - cis_id (True, str, None) CIS instance crn @@ -45,6 +41,10 @@ Parameters Associated CIS host name + request_type (False, str, zone_level) + Associated CIS Request Type + + 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_origin_pool.rst b/docs/ibm_cis_origin_pool.rst index 8cc171877..2d321749e 100644 --- a/docs/ibm_cis_origin_pool.rst +++ b/docs/ibm_cis_origin_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn - - - notification_email (False, str, None) - Email address configured to recieve the notifications + monitor (False, str, None) + Monitor value - name (True, str, None) - (Required for new resource) name + origins (True, list, None) + (Required for new resource) Origins info description (False, str, None) Description of the CIS Origin Pool - monitor (False, str, None) - Monitor value - - check_regions (True, list, None) (Required for new resource) List of regions @@ -63,8 +55,16 @@ Parameters Minimum number of Origins - origins (True, list, None) - (Required for new resource) Origins info + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + + name (True, str, None) + (Required for new resource) name + + + notification_email (False, str, None) + Email address configured to recieve the notifications id (False, str, None) diff --git a/docs/ibm_cis_origin_pools_info.rst b/docs/ibm_cis_origin_pools_info.rst index 5fddd4546..de6aee5f3 100644 --- a/docs/ibm_cis_origin_pools_info.rst +++ b/docs/ibm_cis_origin_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_page_rule.rst b/docs/ibm_cis_page_rule.rst index 166091ef8..112d08f6e 100644 --- a/docs/ibm_cis_page_rule.rst +++ b/docs/ibm_cis_page_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_page_rules_info.rst b/docs/ibm_cis_page_rules_info.rst index 67a222601..43f6b4548 100644 --- a/docs/ibm_cis_page_rules_info.rst +++ b/docs/ibm_cis_page_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_range_app.rst b/docs/ibm_cis_range_app.rst index d328dd732..692cc8a9e 100644 --- a/docs/ibm_cis_range_app.rst +++ b/docs/ibm_cis_range_app.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dns_type (True, str, None) - (Required for new resource) Type of the DNS record for this application - - - proxy_protocol (False, str, None) - Allows for the true client IP to be passed to the service. - - - edge_ips_type (False, str, dynamic) - The type of edge IP configuration. - - domain_id (True, str, None) (Required for new resource) CIS Domain ID + origin_port (False, int, None) + Port at the origin that listens to traffic + + protocol (True, str, None) (Required for new resource) Defines the protocol and port for this application + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN + + dns (True, str, None) (Required for new resource) Name of the DNS record for this application @@ -59,32 +55,36 @@ Parameters IP address and port of the origin for this Range application. - ip_firewall (False, bool, None) - Enables the IP Firewall for this application. Only available for TCP applications. + origin_dns (False, str, None) + DNS record pointing to the origin for this Range application. - edge_ips_connectivity (False, str, all) - Specifies the IP version. + edge_ips_type (False, str, dynamic) + The type of edge IP configuration. traffic_type (False, str, direct) Configure how traffic is handled at the edge. - cis_id (True, str, None) - (Required for new resource) CIS Intance CRN + dns_type (True, str, None) + (Required for new resource) Type of the DNS record for this application - tls (False, str, False) - Configure if and how TLS connections are terminated at the edge. + ip_firewall (False, bool, None) + Enables the IP Firewall for this application. Only available for TCP applications. - origin_port (False, int, None) - Port at the origin that listens to traffic + proxy_protocol (False, str, None) + Allows for the true client IP to be passed to the service. - origin_dns (False, str, None) - DNS record pointing to the origin for this Range application. + edge_ips_connectivity (False, str, all) + Specifies the IP version. + + + tls (False, str, False) + Configure if and how TLS connections are terminated at the edge. id (False, str, None) diff --git a/docs/ibm_cis_range_apps_info.rst b/docs/ibm_cis_range_apps_info.rst index 71df6bcb1..73803590c 100644 --- a/docs/ibm_cis_range_apps_info.rst +++ b/docs/ibm_cis_range_apps_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_rate_limit.rst b/docs/ibm_cis_rate_limit.rst index 2ace0ff2d..dcb9859df 100644 --- a/docs/ibm_cis_rate_limit.rst +++ b/docs/ibm_cis_rate_limit.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + disabled (False, bool, False) + Whether this rate limiting rule is currently disabled. + + + bypass (False, list, None) + Bypass URL + + + 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) (Required for new resource) Rate Limiting Action @@ -47,28 +63,12 @@ Parameters (Required for new resource) CIS Domain ID - threshold (True, int, None) - (Required for new resource) Rate Limiting Threshold - - - correlate (False, list, None) - Ratelimiting Correlate - - - disabled (False, bool, False) - 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. - bypass (False, list, None) - Bypass URL - - - period (True, int, None) - (Required for new resource) Rate Limiting Period + correlate (False, list, None) + Ratelimiting Correlate id (False, str, None) diff --git a/docs/ibm_cis_rate_limit_info.rst b/docs/ibm_cis_rate_limit_info.rst index 2e4133893..7f3105ec0 100644 --- a/docs/ibm_cis_rate_limit_info.rst +++ b/docs/ibm_cis_rate_limit_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_routing.rst b/docs/ibm_cis_routing.rst index 7b64adb70..a258ed1b5 100644 --- a/docs/ibm_cis_routing.rst +++ b/docs/ibm_cis_routing.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_tls_settings.rst b/docs/ibm_cis_tls_settings.rst index 6b0598d1a..e70870abd 100644 --- a/docs/ibm_cis_tls_settings.rst +++ b/docs/ibm_cis_tls_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_group.rst b/docs/ibm_cis_waf_group.rst index dae46180a..e98bec5d7 100644 --- a/docs/ibm_cis_waf_group.rst +++ b/docs/ibm_cis_waf_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,22 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - (Required for new resource) CIS Domain ID - - group_id (True, str, None) (Required for new resource) WAF Rule group id - cis_id (True, str, None) - (Required for new resource) CIS Intance CRN - - - package_id (True, str, None) - (Required for new resource) WAF Rule package id - - mode (True, str, None) (Required for new resource) WAF Rule group mode on/off @@ -55,6 +43,18 @@ Parameters Check Mode before making a create/update request + 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) + (Required for new resource) WAF Rule package id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_groups_info.rst b/docs/ibm_cis_waf_groups_info.rst index 9b311b723..9233ed3fb 100644 --- a/docs/ibm_cis_waf_groups_info.rst +++ b/docs/ibm_cis_waf_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_package.rst b/docs/ibm_cis_waf_package.rst index 4584d31c3..7958d76a6 100644 --- a/docs/ibm_cis_waf_package.rst +++ b/docs/ibm_cis_waf_package.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + package_id (True, str, None) + (Required for new resource) WAF pakcage ID + + sensitivity (True, str, None) (Required for new resource) WAF pakcage sensitivity @@ -47,10 +51,6 @@ Parameters (Required for new resource) CIS Domain ID - package_id (True, str, None) - (Required for new resource) WAF pakcage ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_packages_info.rst b/docs/ibm_cis_waf_packages_info.rst index f74eaf015..b652c21ea 100644 --- a/docs/ibm_cis_waf_packages_info.rst +++ b/docs/ibm_cis_waf_packages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_rule.rst b/docs/ibm_cis_waf_rule.rst index ecf7c0b87..52179a0f4 100644 --- a/docs/ibm_cis_waf_rule.rst +++ b/docs/ibm_cis_waf_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - mode (True, str, None) - (Required for new resource) CIS WAF Rule mode + domain_id (True, str, None) + (Required for new resource) CIS Domain ID - package_id (True, str, None) - (Required for new resource) CIS WAF Rule package id + mode (True, str, None) + (Required for new resource) CIS WAF Rule mode 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 + package_id (True, str, None) + (Required for new resource) CIS WAF Rule package id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_rules_info.rst b/docs/ibm_cis_waf_rules_info.rst index 6741ac1cc..0515982a6 100644 --- a/docs/ibm_cis_waf_rules_info.rst +++ b/docs/ibm_cis_waf_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_webhook.rst b/docs/ibm_cis_webhook.rst index b30f41cd9..6ba9d1085 100644 --- a/docs/ibm_cis_webhook.rst +++ b/docs/ibm_cis_webhook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Webhook Name - - - url (False, str, None) - Webhook URL - - secret (False, str, None) API key needed to use the webhook @@ -47,6 +39,14 @@ Parameters (Required for new resource) CIS instance crn + name (True, str, None) + (Required for new resource) Webhook Name + + + url (False, str, None) + Webhook URL + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_webhooks_info.rst b/docs/ibm_cis_webhooks_info.rst index 2de37ae3e..4c8906d2c 100644 --- a/docs/ibm_cis_webhooks_info.rst +++ b/docs/ibm_cis_webhooks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cloud_shell_account_settings.rst b/docs/ibm_cloud_shell_account_settings.rst index d44ff317f..8bfdbc3f6 100644 --- a/docs/ibm_cloud_shell_account_settings.rst +++ b/docs/ibm_cloud_shell_account_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - features (False, list, None) - List of Cloud Shell features. - - - default_enable_new_regions (False, bool, None) - Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. + rev (False, str, None) + Unique revision number for the settings object. enabled (False, bool, None) When enabled, Cloud Shell is available to all users in the account. - default_enable_new_features (False, bool, None) - You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. + features (False, list, None) + List of Cloud Shell features. regions (False, list, None) @@ -55,8 +51,12 @@ Parameters (Required for new resource) The account ID in which the account settings belong to. - rev (False, str, None) - Unique revision number for the settings object. + default_enable_new_features (False, bool, None) + You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. + + + default_enable_new_regions (False, bool, None) + Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. id (False, str, None) diff --git a/docs/ibm_cloud_shell_account_settings_info.rst b/docs/ibm_cloud_shell_account_settings_info.rst index 6258d790e..87076683c 100644 --- a/docs/ibm_cloud_shell_account_settings_info.rst +++ b/docs/ibm_cloud_shell_account_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cloudant.rst b/docs/ibm_cloudant.rst index e84c3d8b4..90baac16f 100644 --- a/docs/ibm_cloudant.rst +++ b/docs/ibm_cloudant.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,60 +31,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - include_data_events (False, bool, False) - Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. + cors_config (False, list, None) + Configuration for CORS. - name (True, str, None) - (Required for new resource) A name for the resource instance + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object - enable_cors (False, bool, True) - Boolean value to turn CORS on and off. + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - capacity (False, int, 1) - A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global queries/sec of provisioned throughput capacity. + legacy_credentials (False, bool, False) + Use both legacy credentials and IAM for authentication - resource_group_id (False, str, None) - The resource group id + environment_crn (False, str, None) + CRN of the IBM Cloudant Dedicated Hardware plan instance - tags (False, list, None) - None + name (True, str, None) + (Required for new resource) A name for the resource instance - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + location (True, str, None) + (Required for new resource) The location where the instance available - plan (True, str, None) - (Required for new resource) The plan type of the service + tags (False, list, None) + None - location (True, str, None) - (Required for new resource) The location where the instance available + enable_cors (False, bool, True) + Boolean value to turn CORS on and off. - legacy_credentials (False, bool, False) - Use both legacy credentials and IAM for authentication + include_data_events (False, bool, False) + Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. - environment_crn (False, str, None) - CRN of the IBM Cloudant Dedicated Hardware plan instance + capacity (False, int, 1) + A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global queries/sec of provisioned throughput capacity. - parameters_json (False, str, None) - Arbitrary parameters to pass in Json string format + plan (True, str, None) + (Required for new resource) The plan type of the service - cors_config (False, list, None) - Configuration for CORS. + resource_group_id (False, str, None) + The resource group id - parameters (False, dict, None) - Arbitrary parameters to pass. Must be a JSON object + parameters_json (False, str, None) + Arbitrary parameters to pass in Json string format id (False, str, None) diff --git a/docs/ibm_cloudant_database.rst b/docs/ibm_cloudant_database.rst index 4ef3b4e74..bb40a147f 100644 --- a/docs/ibm_cloudant_database.rst +++ b/docs/ibm_cloudant_database.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cloudant_database_info.rst b/docs/ibm_cloudant_database_info.rst index b56ce5cfa..5bb3dc04a 100644 --- a/docs/ibm_cloudant_database_info.rst +++ b/docs/ibm_cloudant_database_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cloudant_info.rst b/docs/ibm_cloudant_info.rst index e07f0b055..ad3d38f10 100644 --- a/docs/ibm_cloudant_info.rst +++ b/docs/ibm_cloudant_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Resource instance name for example, myobjectstorage - - resource_group_id (False, str, None) The id of the resource group in which the instance is present @@ -41,6 +37,10 @@ Parameters The location or the environment in which instance exists + name (True, str, None) + Resource instance name for example, myobjectstorage + + 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_cm_catalog.rst b/docs/ibm_cm_catalog.rst index e656409fa..7a6414912 100644 --- a/docs/ibm_cm_catalog.rst +++ b/docs/ibm_cm_catalog.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - short_description (False, str, None) - Description in the requested language. + short_description_i18n (False, dict, None) + A map of translated strings, by language code. tags (False, list, None) List of tags associated with this catalog. - kind (False, str, offering) - Kind of catalog, offering or vpe. + disabled (False, bool, None) + Denotes whether a catalog is disabled. + + + label (False, str, None) + Display Name in the requested language. + + + features (False, list, None) + List of features associated with this catalog. - label (True, str, None) - (Required for new resource) Display Name in the requested language. + kind (False, str, None) + Kind of catalog. Supported kinds are offering and vpe. + + + label_i18n (False, dict, None) + A map of translated strings, by language code. + + + short_description (False, str, None) + Description in the requested language. catalog_icon_url (False, str, None) URL for an icon associated with this catalog. - resource_group_id (False, str, None) - Resource Group ID + metadata (False, dict, None) + Catalog specific metadata. id (False, str, None) diff --git a/docs/ibm_cm_catalog_info.rst b/docs/ibm_cm_catalog_info.rst index 04a09a2ca..6117e5130 100644 --- a/docs/ibm_cm_catalog_info.rst +++ b/docs/ibm_cm_catalog_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -30,7 +30,7 @@ Parameters ---------- catalog_identifier (True, str, None) - ID for catalog + Catalog identifier. iaas_classic_username (False, any, None) diff --git a/docs/ibm_cm_offering_info.rst b/docs/ibm_cm_offering_info.rst index 411a9503d..1bb648bfb 100644 --- a/docs/ibm_cm_offering_info.rst +++ b/docs/ibm_cm_offering_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -30,10 +30,10 @@ Parameters ---------- offering_id (True, str, None) - The id of the catalog containing this offering. + Offering identifier. - catalog_identifier (True, str, None) + catalog_id (True, str, None) Catalog identifier. diff --git a/docs/ibm_cm_offering_instance.rst b/docs/ibm_cm_offering_instance.rst index edf78c157..f83a1fd4f 100644 --- a/docs/ibm_cm_offering_instance.rst +++ b/docs/ibm_cm_offering_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,58 +31,58 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - offering_id (True, str, None) - (Required for new resource) Offering ID this instance was created from. + resource_group_id (False, str, None) + id of the resource group - kind_format (True, str, None) - (Required for new resource) the format this instance has (helm, operator, ova...). + label (True, str, None) + (Required for new resource) the label for this instance. version (True, str, None) (Required for new resource) The version this instance was installed from (not version id). + cluster_id (True, str, None) + (Required for new resource) Cluster ID. + + + cluster_namespaces (True, list, None) + (Required for new resource) List of target namespaces to install into. + + cluster_all_namespaces (True, bool, None) (Required for new resource) designate to install into all namespaces. - label (True, str, None) - (Required for new resource) the label for this instance. + catalog_id (True, str, None) + (Required for new resource) Catalog ID this instance was created from. - cluster_region (True, str, None) - (Required for new resource) Cluster region (e.g., us-south). + wait_until_successful (False, bool, True) + Whether to wait until the offering instance successfully provisions, or to return when accepted channel (False, str, None) channel to target for the operator subscription. Required for operator bundles - catalog_id (True, str, None) - (Required for new resource) Catalog ID this instance was created from. - - - cluster_id (True, str, None) - (Required for new resource) Cluster ID. + offering_id (True, str, None) + (Required for new resource) Offering ID this instance was created from. - cluster_namespaces (True, list, None) - (Required for new resource) List of target namespaces to install into. + kind_format (True, str, None) + (Required for new resource) the format this instance has (helm, operator, ova...). - resource_group_id (False, str, None) - id of the resource group + cluster_region (True, str, None) + (Required for new resource) Cluster region (e.g., us-south). install_plan (False, str, None) install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles - wait_until_successful (False, bool, True) - Whether to wait until the offering instance successfully provisions, or to return when accepted - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cm_offering_instance_info.rst b/docs/ibm_cm_offering_instance_info.rst index b809041e7..993f85186 100644 --- a/docs/ibm_cm_offering_instance_info.rst +++ b/docs/ibm_cm_offering_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cm_validation.rst b/docs/ibm_cm_validation.rst new file mode 100644 index 000000000..403e2a0e5 --- /dev/null +++ b/docs/ibm_cm_validation.rst @@ -0,0 +1,101 @@ + +ibm_cm_validation -- Configure IBM Cloud 'ibm_cm_validation' resource +===================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_cm_validation' resource + +This module does not support idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cm_validation + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + schematics (False, list, None) + Other values to pass to the schematics workspace. + + + revalidate_if_validated (False, bool, None) + If the version should be revalidated if it is already validated. + + + mark_version_consumable (False, bool, None) + If the version should be marked as consumable or "ready to share". + + + version_locator (True, str, None) + (Required for new resource) Version locator - the version that will be validated. + + + x_auth_refresh_token (True, str, None) + (Required for new resource) Authentication token used to submit validation job. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + override_values (False, dict, None) + Override values during validation. + + + environment_variables (False, list, None) + Environment variables to include in the schematics workspace. + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_cm_version_info.rst b/docs/ibm_cm_version_info.rst index a3d939b8e..4e1f98667 100644 --- a/docs/ibm_cm_version_info.rst +++ b/docs/ibm_cm_version_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -30,7 +30,11 @@ Parameters ---------- version_loc_id (True, str, None) - Catalog identifier. + A dotted value of `catalogID`.`versionID`. + + + metadata (False, list, None) + Generic data to be included with content being onboarded. Required for virtual server image for VPC. iaas_classic_username (False, any, None) diff --git a/docs/ibm_compute_autoscale_group.rst b/docs/ibm_compute_autoscale_group.rst index 54b9a1213..97c453576 100644 --- a/docs/ibm_compute_autoscale_group.rst +++ b/docs/ibm_compute_autoscale_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -39,10 +39,6 @@ Parameters virtual server ID - port (False, int, None) - Port number - - health_check (False, dict, None) None @@ -51,32 +47,36 @@ Parameters (Required for new resource) Virtual guest member template - network_vlan_ids (False, list, None) - List of network VLAN ids + tags (False, list, None) + List of tags name (True, str, None) (Required for new resource) Name - regional_group (True, str, None) - (Required for new resource) regional group + minimum_member_count (True, int, None) + (Required for new resource) Minimum member count - tags (False, list, None) - List of tags + maximum_member_count (True, int, None) + (Required for new resource) Maximum member count termination_policy (True, str, None) (Required for new resource) Termination policy - minimum_member_count (True, int, None) - (Required for new resource) Minimum member count + port (False, int, None) + Port number - maximum_member_count (True, int, None) - (Required for new resource) Maximum member count + network_vlan_ids (False, list, None) + List of network VLAN ids + + + regional_group (True, str, None) + (Required for new resource) regional group id (False, str, None) diff --git a/docs/ibm_compute_autoscale_policy.rst b/docs/ibm_compute_autoscale_policy.rst index 3460d695a..39fb6124a 100644 --- a/docs/ibm_compute_autoscale_policy.rst +++ b/docs/ibm_compute_autoscale_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cooldown (False, int, None) + cooldown value + + + scale_group_id (True, int, None) + (Required for new resource) scale group ID + + triggers (False, list, None) None @@ -51,14 +59,6 @@ Parameters (Required for new resource) Scale amount - cooldown (False, int, None) - cooldown value - - - scale_group_id (True, int, None) - (Required for new resource) scale group ID - - 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 dd0500388..4b9a4cf4a 100644 --- a/docs/ibm_compute_bare_metal.rst +++ b/docs/ibm_compute_bare_metal.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,23 +31,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - hostname (False, str, None) - Host name - - - public_bandwidth (False, int, None) - None - - - private_subnet (False, str, None) - None - - - storage_groups (False, list, None) + block_storage_ids (False, list, None) None - block_storage_ids (False, list, None) + os_key_name (False, str, None) None @@ -59,55 +47,59 @@ Parameters OS refernece code value - hourly_billing (False, bool, True) - Enables hourly billing + software_guard_extensions (False, bool, False) + None - private_network_only (False, bool, False) - only private network configured if is true + quote_id (False, int, None) + Quote ID for Quote based provisioning - software_guard_extensions (False, bool, False) + package_key_name (False, str, None) None - process_key_name (False, str, None) + unbonded_network (False, bool, False) None - ipv6_enabled (False, bool, False) - Boolean value true if IPV6 ia enabled or false - - domain (True, str, None) (Required for new resource) Domain name - network_speed (False, int, 100) - Network speed in MBPS + ssh_key_ids (False, list, None) + SSH KEY IDS list - tcp_monitoring (False, bool, False) - TCP monitoring enabled if set as true + user_metadata (False, str, None) + User metadata info - gpu_secondary_key_name (False, str, None) - None + notes (False, str, None) + Optional notes info - ssh_key_ids (False, list, None) - SSH KEY IDS list + hourly_billing (False, bool, True) + Enables hourly billing - package_key_name (False, str, None) - None + secondary_ip_count (False, int, None) + Secondary IP addresses count - public_subnet (False, str, None) - None + image_template_id (False, int, None) + OS image template ID - private_vlan_id (False, int, None) + network_speed (False, int, 100) + Network speed in MBPS + + + tcp_monitoring (False, bool, False) + TCP monitoring enabled if set as true + + + public_subnet (False, str, None) None @@ -115,11 +107,11 @@ Parameters None - disk_key_names (False, list, None) - None + private_network_only (False, bool, False) + only private network configured if is true - unbonded_network (False, bool, False) + storage_groups (False, list, None) None @@ -127,70 +119,78 @@ Parameters None - secondary_ip_count (False, int, None) - Secondary IP addresses count + ipv6_enabled (False, bool, False) + Boolean value true if IPV6 ia enabled or false - ipv6_static_enabled (False, bool, False) - boolean value true if ipv6 static is enabled else false + process_key_name (False, str, None) + None - user_metadata (False, str, None) - User metadata info + gpu_secondary_key_name (False, str, None) + None - redundant_power_supply (False, bool, None) + disk_key_names (False, list, None) None - quote_id (False, int, None) - Quote ID for Quote based provisioning + redundant_network (False, bool, False) + None - public_vlan_id (False, int, None) + public_bandwidth (False, int, None) None - file_storage_ids (False, list, None) + gpu_key_name (False, str, None) None - tags (False, list, None) + restricted_network (False, bool, False) None - gpu_key_name (False, str, None) + extended_hardware_testing (False, bool, False) None - extended_hardware_testing (False, bool, False) + private_vlan_id (False, int, None) None - notes (False, str, None) - Optional notes info + private_subnet (False, str, None) + None - post_install_script_uri (False, str, None) + public_vlan_id (False, int, None) None - image_template_id (False, int, None) - OS image template ID + hostname (False, str, None) + Host name - os_key_name (False, str, None) + file_storage_ids (False, list, None) None - redundant_network (False, bool, False) + post_install_script_uri (False, str, None) None - restricted_network (False, bool, False) + tags (False, list, None) None + redundant_power_supply (False, bool, None) + None + + + ipv6_static_enabled (False, bool, False) + boolean value true if ipv6 static is enabled else false + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_bare_metal_info.rst b/docs/ibm_compute_bare_metal_info.rst index 50c184f0c..8665faf5c 100644 --- a/docs/ibm_compute_bare_metal_info.rst +++ b/docs/ibm_compute_bare_metal_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,20 +29,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 - - 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 + + domain (False, str, None) The domain of the bare metal server - hostname (False, str, None) - The hostname 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 841e9f8fc..65403f47e 100644 --- a/docs/ibm_compute_dedicated_host.rst +++ b/docs/ibm_compute_dedicated_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - flavor (False, str, 56_CORES_X_242_RAM_X_1_4_TB) - The flavor of the dedicatated host. - - - tags (False, list, None) - None - - wait_time_minutes (False, int, 90) None @@ -47,12 +39,8 @@ Parameters (Required for new resource) The host name of dedicatated host. - domain (True, str, None) - (Required for new resource) The domain of dedicatated host. - - - datacenter (True, str, None) - (Required for new resource) The data center in which the dedicatated host is to be provisioned. + flavor (False, str, 56_CORES_X_242_RAM_X_1_4_TB) + The flavor of the dedicatated host. hourly_billing (False, bool, True) @@ -63,6 +51,18 @@ Parameters (Required for new resource) The hostname of the primary router that the dedicated host is associated with. + tags (False, list, None) + None + + + domain (True, str, None) + (Required for new resource) The domain of 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) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_image_template_info.rst b/docs/ibm_compute_image_template_info.rst index cdb886592..43a626b9a 100644 --- a/docs/ibm_compute_image_template_info.rst +++ b/docs/ibm_compute_image_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_monitor.rst b/docs/ibm_compute_monitor.rst index 911c8586d..ba3b2625c 100644 --- a/docs/ibm_compute_monitor.rst +++ b/docs/ibm_compute_monitor.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + notified_users (False, list, None) + List of users notified + + tags (False, list, None) List of tags @@ -55,10 +59,6 @@ Parameters wait cycles count - notified_users (False, list, None) - List of users notified - - 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 e0d4754a3..b1e818d30 100644 --- a/docs/ibm_compute_placement_group.rst +++ b/docs/ibm_compute_placement_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - List of tags - - datacenter (True, str, None) (Required for new resource) Dataceneter name @@ -51,6 +47,10 @@ Parameters Rule info + tags (False, list, None) + List of tags + + 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 6240299f9..cb6730efe 100644 --- a/docs/ibm_compute_placement_group_info.rst +++ b/docs/ibm_compute_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_provisioning_hook.rst b/docs/ibm_compute_provisioning_hook.rst index e9859607b..f48f5ead2 100644 --- a/docs/ibm_compute_provisioning_hook.rst +++ b/docs/ibm_compute_provisioning_hook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + Tags associated with resource + + name (True, str, None) (Required for new resource) Provision hook name @@ -39,10 +43,6 @@ Parameters (Required for new resource) URI of the hook - tags (False, list, None) - Tags associated with resource - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_reserved_capacity.rst b/docs/ibm_compute_reserved_capacity.rst index 33950e9eb..206973a98 100644 --- a/docs/ibm_compute_reserved_capacity.rst +++ b/docs/ibm_compute_reserved_capacity.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pod (True, str, None) - (Required for new resource) Pod name - - name (True, str, None) (Required for new resource) Name @@ -59,6 +55,10 @@ Parameters (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_reserved_capacity_info.rst b/docs/ibm_compute_reserved_capacity_info.rst index cfbd6beb3..0746f8574 100644 --- a/docs/ibm_compute_reserved_capacity_info.rst +++ b/docs/ibm_compute_reserved_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssh_key.rst b/docs/ibm_compute_ssh_key.rst index ee893f1de..6922a430f 100644 --- a/docs/ibm_compute_ssh_key.rst +++ b/docs/ibm_compute_ssh_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - public_key (True, str, None) - (Required for new resource) Plublic Key info - - notes (False, str, None) Additional notes @@ -47,6 +43,10 @@ Parameters (Required for new resource) SSH Key label + public_key (True, str, None) + (Required for new resource) Plublic Key info + + 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 601e56be2..d4fb97494 100644 --- a/docs/ibm_compute_ssh_key_info.rst +++ b/docs/ibm_compute_ssh_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssl_certificate.rst b/docs/ibm_compute_ssl_certificate.rst index 45b3d2ff0..a63d12634 100644 --- a/docs/ibm_compute_ssl_certificate.rst +++ b/docs/ibm_compute_ssl_certificate.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,10 +35,6 @@ Parameters (Required for new resource) SSL Private Key - intermediate_certificate (False, str, None) - Intermediate certificate value - - tags (False, list, None) Tags set for resource @@ -47,6 +43,10 @@ Parameters (Required for new resource) SSL Certifcate + intermediate_certificate (False, str, None) + Intermediate certificate value + + 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 c629e8b86..0e019b8fb 100644 --- a/docs/ibm_compute_user.rst +++ b/docs/ibm_compute_user.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,12 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - address1 (True, str, None) - (Required for new resource) Address info of the user - - - state_ (True, str, None) - (Required for new resource) Satate name + timezone (True, str, None) + (Required for new resource) time zone info password (False, str, None) @@ -47,58 +43,62 @@ Parameters Tags set for the resources - company_name (True, str, None) - (Required for new resource) comapany name - - - email (True, str, None) - (Required for new resource) email address of the user - - - country (True, str, None) - (Required for new resource) Country name - - - timezone (True, str, None) - (Required for new resource) time zone info - - - has_api_key (False, bool, False) - API Key info of the user + address1 (True, str, None) + (Required for new resource) Address info of the user - last_name (True, str, None) - (Required for new resource) Last name of the user + address2 (False, str, None) + Address info of the user permissions (False, list, None) set of persmissions assigned for the user - address2 (False, str, None) - Address info of the user + api_key (False, str, None) + API key for the user 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 user_status (False, str, ACTIVE) user status info - api_key (False, str, None) - API key for the user + city (True, str, None) + (Required for new resource) City name + + + state_ (True, str, None) + (Required for new resource) Satate name + + + country (True, str, None) + (Required for new resource) Country name + + + has_api_key (False, bool, False) + API Key info of the user username (False, str, None) user name + last_name (True, str, None) + (Required for new resource) Last name of the user + + + email (True, str, None) + (Required for new resource) email address of the user + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_vm_instance.rst b/docs/ibm_compute_vm_instance.rst index 05f70ff7d..838ece610 100644 --- a/docs/ibm_compute_vm_instance.rst +++ b/docs/ibm_compute_vm_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,67 +31,67 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dedicated_acct_host_only (False, bool, None) + ipv6_static_enabled (False, bool, False) None - disks (False, list, None) + datacenter (False, str, None) None - tags (False, list, None) - None + quote_id (False, int, None) + Quote ID for Quote based provisioning - bulk_vms (False, list, None) + os_reference_code (False, str, None) None - reserved_capacity_name (False, str, None) + reserved_capacity_id (False, int, None) The reserved group id - block_storage_ids (False, list, None) + public_security_group_ids (False, list, None) None - quote_id (False, int, None) - Quote ID for Quote based provisioning + network_speed (False, int, 100) + None - reserved_instance_primary_disk (False, int, None) - The primary disk of reserved instance + hostname (False, str, None) + None cores (False, int, None) None - private_network_only (False, bool, False) + dedicated_host_name (False, str, None) None - dedicated_host_name (False, str, None) - None + datacenter_choice (False, list, None) + The user provided datacenter options - ssh_key_ids (False, list, None) + tags (False, list, None) None - public_subnet (False, str, None) + dedicated_acct_host_only (False, bool, None) None - secondary_ip_count (False, int, None) + private_security_group_ids (False, list, None) None - network_speed (False, int, 100) + image_id (False, int, None) None - user_metadata (False, str, None) + public_bandwidth_unlimited (False, bool, False) None @@ -99,51 +99,47 @@ Parameters None - private_security_group_ids (False, list, None) + ssh_key_ids (False, list, None) None - reserved_capacity_id (False, int, None) - The reserved group id - - - public_bandwidth_limited (False, int, None) + evault (False, int, None) None - memory (False, int, None) + file_storage_ids (False, list, None) None - ipv6_static_enabled (False, bool, False) + notes (False, str, None) None - notes (False, str, None) + user_metadata (False, str, None) None - placement_group_name (False, str, None) - The placement group name + public_bandwidth_limited (False, int, None) + None flavor_key_name (False, str, None) Flavor key name used to provision vm. - public_vlan_id (False, int, None) + post_install_script_uri (False, str, None) None - file_storage_ids (False, list, None) + hourly_billing (False, bool, True) None - public_bandwidth_unlimited (False, bool, False) + memory (False, int, None) None - hostname (False, str, None) + public_subnet (False, str, None) None @@ -151,51 +147,51 @@ Parameters None - placement_group_id (False, int, None) - The placement group id - - - private_vlan_id (False, int, None) + domain (False, str, None) None - os_reference_code (False, str, None) + private_network_only (False, bool, False) None - datacenter_choice (False, list, None) - The user provided datacenter options + placement_group_name (False, str, None) + The placement group name - transient (False, bool, None) - None + reserved_instance_primary_disk (False, int, None) + The primary disk of reserved instance - public_security_group_ids (False, list, None) - None + reserved_capacity_name (False, str, None) + The reserved group id local_disk (False, bool, True) None - hourly_billing (False, bool, True) + private_vlan_id (False, int, None) None - datacenter (False, str, None) + secondary_ip_count (False, int, None) None - post_install_script_uri (False, str, None) + placement_group_id (False, int, None) + The placement group id + + + public_vlan_id (False, int, None) None - evault (False, int, None) + block_storage_ids (False, list, None) None - domain (False, str, None) + bulk_vms (False, list, None) None @@ -203,7 +199,11 @@ Parameters None - image_id (False, int, None) + transient (False, bool, None) + None + + + disks (False, list, None) None diff --git a/docs/ibm_compute_vm_instance_info.rst b/docs/ibm_compute_vm_instance_info.rst index 09e6565da..df979fbea 100644 --- a/docs/ibm_compute_vm_instance_info.rst +++ b/docs/ibm_compute_vm_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - hostname (True, str, None) - The hostname 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 @@ -41,6 +37,10 @@ Parameters The domain of the virtual guest + hostname (True, str, None) + The hostname of the virtual guest + + 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_container_addons.rst b/docs/ibm_container_addons.rst index b720ebec2..77ccc2896 100644 --- a/docs/ibm_container_addons.rst +++ b/docs/ibm_container_addons.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_addons_info.rst b/docs/ibm_container_addons_info.rst index 2f8a78243..9a4ebc3a9 100644 --- a/docs/ibm_container_addons_info.rst +++ b/docs/ibm_container_addons_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_alb.rst b/docs/ibm_container_alb.rst index 4f48191ed..0786704a8 100644 --- a/docs/ibm_container_alb.rst +++ b/docs/ibm_container_alb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - user_ip (False, str, None) - IP assigned by the user - - enable (False, bool, None) set to true if ALB needs to be enabled @@ -47,6 +43,10 @@ Parameters (Required for new resource) ALB ID + user_ip (False, str, None) + IP assigned by the user + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_alb_cert.rst b/docs/ibm_container_alb_cert.rst index fba8243a9..d2e2e4e0b 100644 --- a/docs/ibm_container_alb_cert.rst +++ b/docs/ibm_container_alb_cert.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cert_crn (True, str, None) - (Required for new resource) Certificate CRN id - - secret_name (True, str, None) (Required for new resource) Secret name @@ -43,6 +39,10 @@ Parameters Persistence of secret + cert_crn (True, str, None) + (Required for new resource) Certificate CRN id + + cluster_id (True, str, None) (Required for new resource) Cluster ID diff --git a/docs/ibm_container_alb_cert_info.rst b/docs/ibm_container_alb_cert_info.rst index dd93cdd62..e39407c2d 100644 --- a/docs/ibm_container_alb_cert_info.rst +++ b/docs/ibm_container_alb_cert_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters Cluster ID - namespace (False, str, ibm-cert-store) - Namespace of the secret - - secret_name (True, str, None) Secret name + namespace (False, str, ibm-cert-store) + Namespace of the secret + + 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_create.rst b/docs/ibm_container_alb_create.rst index e85aac323..d8e9343e2 100644 --- a/docs/ibm_container_alb_create.rst +++ b/docs/ibm_container_alb_create.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,10 +35,22 @@ Parameters The version of the network load balancer that you want to use for the ALB. + cluster (True, str, None) + (Required for new resource) The ID of the cluster that the ALB belongs to. + + + ip (False, str, None) + The IP address that you want to assign to the ALB. + + alb_type (True, str, None) (Required for new resource) The type of ALB that you want to create. + vlan_id (True, str, None) + (Required for new resource) The VLAN ID that you want to use for your ALBs. + + zone (True, str, None) (Required for new resource) The zone where you want to deploy the ALB. @@ -47,22 +59,10 @@ Parameters If set to true, the ALB is enabled by default. - ip (False, str, None) - The IP address that you want to assign to the ALB. - - ingress_image (False, str, None) The type of Ingress image that you want to use for your ALB deployment. - cluster (True, str, None) - (Required for new resource) The ID of the cluster that the ALB belongs to. - - - vlan_id (True, str, None) - (Required for new resource) The VLAN ID that you want to use for your ALBs. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_alb_info.rst b/docs/ibm_container_alb_info.rst index 07f8540f6..966f04fae 100644 --- a/docs/ibm_container_alb_info.rst +++ b/docs/ibm_container_alb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_api_key_reset.rst b/docs/ibm_container_api_key_reset.rst index deb5c9917..6a4021e5b 100644 --- a/docs/ibm_container_api_key_reset.rst +++ b/docs/ibm_container_api_key_reset.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_bind_service.rst b/docs/ibm_container_bind_service.rst index a1e3002f0..13690d87d 100644 --- a/docs/ibm_container_bind_service.rst +++ b/docs/ibm_container_bind_service.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,38 +31,38 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service_instance_id (False, str, None) - Service instance ID - - - namespace_id (True, str, None) - (Required for new resource) namespace ID - - key (False, str, None) Key info - role (False, str, None) - Role info - - - cluster_name_id (True, str, None) - (Required for new resource) Cluster name or ID + tags (False, list, None) + List of tags for the resource service_instance_name (False, str, None) serivice instance name - tags (False, list, None) - List of tags for the resource + service_instance_id (False, str, None) + Service instance ID resource_group_id (False, str, None) ID of the resource group. + cluster_name_id (True, str, None) + (Required for new resource) Cluster name or ID + + + namespace_id (True, str, None) + (Required for new resource) namespace ID + + + role (False, str, None) + Role info + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_bind_service_info.rst b/docs/ibm_container_bind_service_info.rst index f421c64c9..46df6ddc4 100644 --- a/docs/ibm_container_bind_service_info.rst +++ b/docs/ibm_container_bind_service_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster.rst b/docs/ibm_container_cluster.rst index 2309db0de..e67eb0e19 100644 --- a/docs/ibm_container_cluster.rst +++ b/docs/ibm_container_cluster.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - webhook (False, list, None) - None - - - resource_group_id (False, str, None) - ID of the resource group. + patch_version (False, str, None) + Kubernetes patch version - kms_config (False, list, None) - Enables KMS on a given cluster + subnet_id (False, list, None) + List of subnet IDs - workers_info (False, list, None) - The IDs of the worker node + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + datacenter (True, str, None) + (Required for new resource) The datacenter where this cluster will be deployed - taints (False, list, None) - WorkerPool Taints + hardware (True, str, None) + (Required for new resource) Hardware type kube_version (False, str, None) @@ -63,96 +59,104 @@ Parameters Updates all the woker nodes if sets to true - machine_type (False, str, None) - Machine type + kms_config (False, list, None) + Enables KMS on a given cluster - private_vlan_id (False, str, None) - Private VLAN ID + labels (False, dict, None) + list of labels to the default worker pool - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters service_subnet (False, str, None) Custom subnet CIDR to provide private IP addresses for services - gateway_enabled (False, bool, False) - Set true for gateway enabled clusters - - - name (True, str, None) - (Required for new resource) The cluster name + webhook (False, list, None) + None - patch_version (False, str, None) - Kubernetes patch version + public_service_endpoint (False, bool, None) + None - image_security_enforcement (False, bool, False) - Set true to enable image security enforcement policies + 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. - public_service_endpoint (False, bool, None) - None + image_security_enforcement (False, bool, False) + Set true to enable image security enforcement policies default_pool_size (False, int, 1) The size of the default worker pool - labels (False, dict, None) - list of labels to the default worker pool + operating_system (False, str, None) + The operating system of the workers in the default worker pool. - pod_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for pods + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - datacenter (True, str, None) - (Required for new resource) The datacenter where this cluster will be deployed + taints (False, list, None) + WorkerPool Taints disk_encryption (False, bool, True) disc encryption done, if set to true. - no_subnet (False, bool, False) - Boolean value set to true when subnet creation is not required. + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready, Ingress Ready or Normal - tags (False, list, None) - Tags for the resource + machine_type (False, str, None) + Machine type - private_service_endpoint (False, bool, None) - None + private_vlan_id (False, str, None) + Private VLAN ID - retry_patch_version (False, int, None) - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + gateway_enabled (False, bool, False) + Set true for gateway enabled clusters - subnet_id (False, list, None) - List of subnet IDs + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + private_service_endpoint (False, bool, None) + None + + + name (True, str, None) + (Required for new resource) The cluster name public_vlan_id (False, str, None) Public VLAN ID - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + tags (False, list, None) + Tags for the resource + + + retry_patch_version (False, int, None) + Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + + + no_subnet (False, bool, False) + Boolean value set to true when subnet creation is not required. id (False, str, None) diff --git a/docs/ibm_container_cluster_config_info.rst b/docs/ibm_container_cluster_config_info.rst index bfc731391..a506be99e 100644 --- a/docs/ibm_container_cluster_config_info.rst +++ b/docs/ibm_container_cluster_config_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,24 +33,24 @@ Parameters ID of the resource group. - cluster_name_id (True, str, None) - The name/id of the cluster + 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 - network (False, bool, False) - If set to true will download the Calico network config with the Admin config + admin (False, bool, False) + If set to true will download the config for admin - config_dir (False, str, None) - The directory where the cluster config to be downloaded. Default is home directory + cluster_name_id (True, str, None) + The name/id of the cluster - 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 + config_dir (False, str, None) + The directory where the cluster config to be downloaded. Default is home directory - admin (False, bool, False) - If set to true will download the config for admin + network (False, bool, False) + If set to true will download the Calico network config with the Admin config ibmcloud_api_key (True, any, None) diff --git a/docs/ibm_container_cluster_feature.rst b/docs/ibm_container_cluster_feature.rst index 443477783..51173a96b 100644 --- a/docs/ibm_container_cluster_feature.rst +++ b/docs/ibm_container_cluster_feature.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,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. - - - cluster (True, str, None) - (Required for new resource) Cluster name of ID - - - public_service_endpoint (False, bool, None) - None - - private_service_endpoint (False, bool, None) None @@ -55,6 +43,18 @@ Parameters 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 + + + public_service_endpoint (False, bool, None) + None + + 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 6953e0cc0..deff48d86 100644 --- a/docs/ibm_container_cluster_info.rst +++ b/docs/ibm_container_cluster_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + alb_type (False, str, all) + None + + resource_group_id (False, str, None) ID of the resource group. @@ -37,10 +41,6 @@ Parameters Name or id of the cluster - alb_type (False, str, all) - None - - list_bounded_services (False, bool, True) If set to false bounded services won't be listed. diff --git a/docs/ibm_container_cluster_versions_info.rst b/docs/ibm_container_cluster_versions_info.rst index ddd5a269f..a3f4b3fcb 100644 --- a/docs/ibm_container_cluster_versions_info.rst +++ b/docs/ibm_container_cluster_versions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster_worker_info.rst b/docs/ibm_container_cluster_worker_info.rst index 01ce421bf..a209e90dc 100644 --- a/docs/ibm_container_cluster_worker_info.rst +++ b/docs/ibm_container_cluster_worker_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - worker_id (True, str, None) - ID of the worker - - resource_group_id (False, str, None) ID of the resource group. + worker_id (True, str, None) + ID of the worker + + 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_dedicated_host.rst b/docs/ibm_container_dedicated_host.rst index 18588d392..0cf16ce5b 100644 --- a/docs/ibm_container_dedicated_host.rst +++ b/docs/ibm_container_dedicated_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_flavor_info.rst b/docs/ibm_container_dedicated_host_flavor_info.rst index 34dd47569..bfc85f850 100644 --- a/docs/ibm_container_dedicated_host_flavor_info.rst +++ b/docs/ibm_container_dedicated_host_flavor_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_flavors_info.rst b/docs/ibm_container_dedicated_host_flavors_info.rst index a89e09076..6c2ea9245 100644 --- a/docs/ibm_container_dedicated_host_flavors_info.rst +++ b/docs/ibm_container_dedicated_host_flavors_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_info.rst b/docs/ibm_container_dedicated_host_info.rst index cfc7858fe..b18d69fdd 100644 --- a/docs/ibm_container_dedicated_host_info.rst +++ b/docs/ibm_container_dedicated_host_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - host_id (True, str, None) - The id of the dedicated host - - host_pool_id (True, str, None) The id of the dedicated host pool the dedicated host is associated with + host_id (True, str, None) + The id of the dedicated host + + 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_dedicated_host_pool.rst b/docs/ibm_container_dedicated_host_pool.rst index ed6f24df1..2892ee94c 100644 --- a/docs/ibm_container_dedicated_host_pool.rst +++ b/docs/ibm_container_dedicated_host_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,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 (True, str, None) (Required for new resource) The name of the dedicated host pool @@ -47,6 +43,10 @@ Parameters (Required for new resource) The flavor class of the dedicated host pool + resource_group_id (False, str, None) + ID of the resource group. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_dedicated_host_pool_info.rst b/docs/ibm_container_dedicated_host_pool_info.rst index 28de5fd2c..876bf050d 100644 --- a/docs/ibm_container_dedicated_host_pool_info.rst +++ b/docs/ibm_container_dedicated_host_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_nlb_dns.rst b/docs/ibm_container_nlb_dns.rst index fd0c49bed..873164672 100644 --- a/docs/ibm_container_nlb_dns.rst +++ b/docs/ibm_container_nlb_dns.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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 that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. + + cluster (True, str, None) (Required for new resource) The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`. @@ -43,10 +47,6 @@ Parameters (Required for new resource) - resource_group_id (False, str, None) - The ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_nlb_dns_info.rst b/docs/ibm_container_nlb_dns_info.rst index be0ee9971..d1354a374 100644 --- a/docs/ibm_container_nlb_dns_info.rst +++ b/docs/ibm_container_nlb_dns_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_storage_attachment.rst b/docs/ibm_container_storage_attachment.rst index 84ca9b536..c5ff935fa 100644 --- a/docs/ibm_container_storage_attachment.rst +++ b/docs/ibm_container_storage_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - worker (True, str, None) - (Required for new resource) worker node ID - - resource_group_id (False, str, None) ID of the resource group. @@ -47,6 +43,10 @@ Parameters (Required for new resource) Cluster name or ID + worker (True, str, None) + (Required for new resource) worker node ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_storage_attachment_info.rst b/docs/ibm_container_storage_attachment_info.rst index 678e14cd2..bd12d54c6 100644 --- a/docs/ibm_container_storage_attachment_info.rst +++ b/docs/ibm_container_storage_attachment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - worker (True, str, None) - Worker node ID - - - resource_group_id (False, str, None) - ID of the resource group. - - volume_attachment_id (True, str, None) The volume attachment ID @@ -45,6 +37,14 @@ Parameters Cluster name or ID + worker (True, str, None) + Worker node ID + + + 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_alb.rst b/docs/ibm_container_vpc_alb.rst index a68064d9a..769fb17d7 100644 --- a/docs/ibm_container_vpc_alb.rst +++ b/docs/ibm_container_vpc_alb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + enable (False, bool, None) + Enable the ALB instance in the cluster + + resource_group_id (False, str, None) ID of the resource group. @@ -39,10 +43,6 @@ Parameters (Required for new resource) ALB ID - enable (False, bool, None) - Enable the ALB instance in the cluster - - disable_deployment (False, bool, None) Disable the ALB instance in the cluster diff --git a/docs/ibm_container_vpc_alb_create.rst b/docs/ibm_container_vpc_alb_create.rst index 9e042a467..930bf988f 100644 --- a/docs/ibm_container_vpc_alb_create.rst +++ b/docs/ibm_container_vpc_alb_create.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_alb_info.rst b/docs/ibm_container_vpc_alb_info.rst index 5c20241c4..b7644924b 100644 --- a/docs/ibm_container_vpc_alb_info.rst +++ b/docs/ibm_container_vpc_alb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alb_id (True, str, None) - ALB ID - - resource_group_id (False, str, None) ID of the resource group. + alb_id (True, str, None) + ALB 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_vpc_cluster.rst b/docs/ibm_container_vpc_cluster.rst index e5fe45c37..f88892daa 100644 --- a/docs/ibm_container_vpc_cluster.rst +++ b/docs/ibm_container_vpc_cluster.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,108 +31,116 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters - - - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + zones (True, list, None) + (Required for new resource) Zone info - flavor (True, str, None) - (Required for new resource) Cluster nodes flavour + patch_version (False, str, None) + Kubernetes patch version - name (True, str, None) - (Required for new resource) The cluster name + retry_patch_version (False, int, None) + Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + kms_instance_id (False, str, None) + Instance ID for boot volume encryption - pod_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for pods + flavor (True, str, None) + (Required for new resource) Cluster nodes flavour - worker_labels (False, dict, None) - Labels for default worker pool + kube_version (False, str, None) + Kubernetes version - resource_group_id (False, str, None) - ID of the resource group. + service_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for services - crk (False, str, None) - Root Key ID for boot volume encryption + worker_labels (False, dict, None) + Labels for default worker pool - image_security_enforcement (False, bool, False) - Set true to enable image security enforcement policies + host_pool_id (False, str, None) + The ID of the cluster's associated host pool - zones (True, list, None) - (Required for new resource) Zone info + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - worker_count (False, int, 1) - Number of worker nodes in the cluster + operating_system (False, str, None) + The operating system of the workers in the default worker pool. taints (False, list, None) WorkerPool Taints - kms_instance_id (False, str, None) - Instance ID for boot volume encryption - - - patch_version (False, str, None) - Kubernetes patch version + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters - retry_patch_version (False, int, None) - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + update_all_workers (False, bool, False) + Updates all the woker nodes if sets to true - service_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for services + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods - tags (False, list, None) - List of tags for the resources + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready or Ingress Ready or Normal - host_pool_id (False, str, None) - The ID of the cluster's associated host pool + 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 - update_all_workers (False, bool, False) - Updates all the woker nodes if sets to true + name (True, str, None) + (Required for new resource) The cluster name disable_public_service_endpoint (False, bool, False) Boolean value true if Public service endpoint to be disabled - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - vpc_id (True, str, None) - (Required for new resource) The vpc id where the cluster is + resource_group_id (False, str, None) + ID of the resource group. kms_config (False, list, None) Enables KMS on a given cluster - kube_version (False, str, None) - Kubernetes version + worker_count (False, int, 1) + Number of worker nodes in the cluster - 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 + crk (False, str, None) + Root Key ID for boot volume encryption + + + kms_account_id (False, str, None) + Account ID of kms instance holder - if not provided, defaults to the account in use + + + 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 + + + image_security_enforcement (False, bool, False) + Set true to enable image security enforcement policies 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 020134bca..04e0bbde0 100644 --- a/docs/ibm_container_vpc_cluster_alb_info.rst +++ b/docs/ibm_container_vpc_cluster_alb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alb_id (True, str, None) - ALB ID - - resource_group_id (False, str, None) ID of the resource group. + alb_id (True, str, None) + ALB 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_vpc_cluster_info.rst b/docs/ibm_container_vpc_cluster_info.rst index aafd14849..481072ef9 100644 --- a/docs/ibm_container_vpc_cluster_info.rst +++ b/docs/ibm_container_vpc_cluster_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters ID of the resource group. - name (False, str, None) - Name or id of the cluster - - alb_type (False, str, all) None + 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_vpc_cluster_worker_info.rst b/docs/ibm_container_vpc_cluster_worker_info.rst index 79f315068..70aa04002 100644 --- a/docs/ibm_container_vpc_cluster_worker_info.rst +++ b/docs/ibm_container_vpc_cluster_worker_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_cluster_worker_pool_info.rst b/docs/ibm_container_vpc_cluster_worker_pool_info.rst index 5d39e583a..84d788e7c 100644 --- a/docs/ibm_container_vpc_cluster_worker_pool_info.rst +++ b/docs/ibm_container_vpc_cluster_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_worker.rst b/docs/ibm_container_vpc_worker.rst index 1807149fa..a2bd8efe2 100644 --- a/docs/ibm_container_vpc_worker.rst +++ b/docs/ibm_container_vpc_worker.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_worker_pool.rst b/docs/ibm_container_vpc_worker_pool.rst index abe9496d2..d8ca85711 100644 --- a/docs/ibm_container_vpc_worker_pool.rst +++ b/docs/ibm_container_vpc_worker_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - (Required for new resource) Cluster name - - resource_group_id (False, str, None) ID of the resource group. - worker_count (True, int, None) - (Required for new resource) The number of workers + vpc_id (True, str, None) + (Required for new resource) The vpc id where the cluster is kms_instance_id (False, str, None) Instance ID for boot volume encryption + crk (False, str, None) + Root Key ID for boot volume encryption + + flavor (True, str, None) (Required for new resource) cluster node falvor @@ -55,32 +55,40 @@ Parameters Labels - host_pool_id (False, str, None) - The ID of the dedicated host pool associated with the worker pool + worker_count (True, int, None) + (Required for new resource) The number of workers - crk (False, str, None) - Root Key ID for boot volume encryption + kms_account_id (False, str, None) + Account ID of kms instance holder - if not provided, defaults to the account in use worker_pool_name (True, str, None) (Required for new resource) worker pool name - zones (True, list, None) - (Required for new resource) Zones info + taints (False, list, None) + WorkerPool Taints - vpc_id (True, str, None) - (Required for new resource) The vpc id where the cluster is + zones (True, list, None) + (Required for new resource) Zones info entitlement (False, str, None) Entitlement option reduces additional OCP Licence cost in Openshift Clusters - taints (False, list, None) - WorkerPool Taints + operating_system (False, str, None) + The operating system of the workers in the worker pool. + + + host_pool_id (False, str, None) + The ID of the dedicated host pool associated with the worker pool + + + 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 719c5cf42..428083bb1 100644 --- a/docs/ibm_container_vpc_worker_pool_info.rst +++ b/docs/ibm_container_vpc_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - worker_pool_name (True, str, None) - worker pool name - - cluster (True, str, None) Cluster name + worker_pool_name (True, str, None) + worker pool 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 ecb52917f..c5dda8136 100644 --- a/docs/ibm_container_worker_pool.rst +++ b/docs/ibm_container_worker_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,42 +31,46 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. - - - cluster (True, str, None) - (Required for new resource) Cluster 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 + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters hardware (False, str, shared) Hardware type - worker_pool_name (True, str, None) - (Required for new resource) worker pool name + resource_group_id (False, str, None) + ID of the resource group. - labels (False, dict, None) - list of labels to worker pool + size_per_zone (True, int, None) + (Required for new resource) Number of nodes per zone - 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 + + + operating_system (False, str, None) + The operating system of the workers in the worker pool. disk_encryption (False, bool, True) worker node disk encrypted if set to true + cluster (True, str, None) + (Required for new resource) Cluster name + + + labels (False, dict, None) + list of labels to worker pool + + taints (False, list, None) WorkerPool Taints diff --git a/docs/ibm_container_worker_pool_info.rst b/docs/ibm_container_worker_pool_info.rst index 43227963e..b00e7a4e4 100644 --- a/docs/ibm_container_worker_pool_info.rst +++ b/docs/ibm_container_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_worker_pool_zone_attachment.rst b/docs/ibm_container_worker_pool_zone_attachment.rst index dd0b2af8e..cd1d08423 100644 --- a/docs/ibm_container_worker_pool_zone_attachment.rst +++ b/docs/ibm_container_worker_pool_zone_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + 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 @@ -39,10 +47,6 @@ Parameters (Required for new resource) Workerpool name - cluster (True, str, None) - (Required for new resource) cluster name or ID - - public_vlan_id (False, str, None) None @@ -55,10 +59,6 @@ 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 - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cos_bucket.rst b/docs/ibm_cos_bucket.rst index 4e173bdb5..7674c9b6c 100644 --- a/docs/ibm_cos_bucket.rst +++ b/docs/ibm_cos_bucket.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,64 @@ 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 - - - region_location (False, str, None) - Region Location info. + hard_quota (False, int, None) + sets a maximum amount of storage (in bytes) available for a bucket - retention_rule (False, list, None) - A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. + allowed_ip (False, list, None) + List of IPv4 or IPv6 addresses - hard_quota (False, int, None) - sets a maximum amount of storage (in bytes) available for a bucket + abort_incomplete_multipart_upload_days (False, list, None) + Enable abort incomplete multipart upload to COS Bucket after a defined period of time - bucket_name (True, str, None) - (Required for new resource) COS Bucket name + 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 + noncurrent_version_expiration (False, list, None) + Enable configuration expire_rule to COS Bucket after a defined period of time activity_tracking (False, list, None) Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events - metrics_monitoring (False, list, None) - Enables sending metrics to IBM Cloud Monitoring. + retention_rule (False, list, None) + A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. 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. + bucket_name (True, str, None) + (Required for new resource) COS Bucket name + + + key_protect (False, str, None) + CRN of the key you want to use data at rest encryption + + cross_region_location (False, str, None) Cros region location info - storage_class (False, str, None) - Storage class info + resource_instance_id (True, str, None) + (Required for new resource) resource instance ID - abort_incomplete_multipart_upload_days (False, list, None) - Enable abort incomplete multipart upload to COS Bucket after a defined period of time + endpoint_type (False, str, public) + public or private + + + metrics_monitoring (False, list, None) + Enables sending metrics to IBM Cloud Monitoring. + + + expire_rule (False, list, None) + Enable configuration expire_rule to COS Bucket after a defined period of time satellite_location_id (False, str, None) @@ -87,30 +99,18 @@ Parameters single site location info - allowed_ip (False, list, None) - List of IPv4 or IPv6 addresses - - - archive_rule (False, list, None) - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time + 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 + storage_class (False, str, None) + Storage class info object_versioning (False, list, None) Protect objects from accidental deletion or overwrites. Versioning allows you to keep multiple versions of an object protecting from unintentional data loss. - noncurrent_version_expiration (False, list, None) - Enable configuration expire_rule to COS Bucket after a defined period of time - - - resource_instance_id (True, str, None) - (Required for new resource) resource instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cos_bucket_info.rst b/docs/ibm_cos_bucket_info.rst index 0115b268a..8118279cc 100644 --- a/docs/ibm_cos_bucket_info.rst +++ b/docs/ibm_cos_bucket_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_instance_id (True, str, None) + bucket_name (True, str, None) None - bucket_name (True, str, None) + endpoint_type (False, str, public) + public or private + + + resource_instance_id (True, str, None) None @@ -49,10 +53,6 @@ Parameters None - 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_cr_namespace.rst b/docs/ibm_cr_namespace.rst index edf1cb7de..c38d85282 100644 --- a/docs/ibm_cr_namespace.rst +++ b/docs/ibm_cr_namespace.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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 that the namespace will be created within. + + tags (False, list, None) List of tags @@ -39,10 +43,6 @@ Parameters (Required for new resource) The name of the namespace. - resource_group_id (False, str, None) - The ID of the resource group that the namespace will be created within. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cr_namespaces_info.rst b/docs/ibm_cr_namespaces_info.rst index 0af8087ed..56d973d83 100644 --- a/docs/ibm_cr_namespaces_info.rst +++ b/docs/ibm_cr_namespaces_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_cr_retention_policy.rst b/docs/ibm_cr_retention_policy.rst index 5b11fbda4..e186ebb4f 100644 --- a/docs/ibm_cr_retention_policy.rst +++ b/docs/ibm_cr_retention_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_database.rst b/docs/ibm_database.rst index 3c8fc0b70..472d20bea 100644 --- a/docs/ibm_database.rst +++ b/docs/ibm_database.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,92 +31,92 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - - point_in_time_recovery_deployment_id (False, str, None) - The CRN of source instance - - - whitelist (False, list, None) + group (False, list, None) None - plan (True, str, None) - (Required for new resource) The plan type of the Database instance + version (False, str, None) + The database version to provision if specified plan_validation (False, bool, True) For elasticsearch and postgres perform database parameter validation during the plan phase. Otherwise, database parameter validation happens in apply phase. - version (False, str, None) - The database version to provision if specified + service (True, str, None) + (Required for new resource) The name of the Cloud Internet database service - remote_leader_id (False, str, None) - The CRN of leader database + point_in_time_recovery_deployment_id (False, str, None) + The CRN of source instance - point_in_time_recovery_time (False, str, None) - The point in time recovery time stamp of the deployed instance + allowlist (False, list, None) + None auto_scaling (False, list, None) ICD Auto Scaling - resource_group_id (False, str, None) - The id of the resource group in which the Database instance is present + name (True, str, None) + (Required for new resource) Resource instance name for example, my Database instance service_endpoints (False, str, public) Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - key_protect_instance (False, str, None) - The CRN of Key protect instance + adminpassword (False, str, None) + The admin user password for the instance - users (False, list, None) - None + configuration (False, str, None) + The configuration in JSON format - group (False, list, None) + remote_leader_id (False, str, None) + The CRN of leader database + + + users (False, list, None) None - adminpassword (False, str, None) - The admin user password for the instance + resource_group_id (False, str, None) + The id of the resource group in which the Database instance is present - configuration (False, str, None) - The configuration in JSON format + location (True, str, None) + (Required for new resource) The location or the region in which Database instance exists backup_id (False, str, None) The CRN of backup source database - name (True, str, None) - (Required for new resource) Resource instance name for example, my Database instance + key_protect_key (False, str, None) + The CRN of Key protect key - backup_encryption_key_crn (False, str, None) - The Backup Encryption Key CRN + point_in_time_recovery_time (False, str, None) + The point in time recovery time stamp of the deployed instance - key_protect_key (False, str, None) - The CRN of Key protect key + plan (True, str, None) + (Required for new resource) The plan type of the Database instance - location (True, str, None) - (Required for new resource) The location or the region in which Database instance exists + tags (False, list, None) + None - service (True, str, None) - (Required for new resource) The name of the Cloud Internet database service + key_protect_instance (False, str, None) + The CRN of Key protect instance + + + backup_encryption_key_crn (False, str, None) + The Backup Encryption Key CRN id (False, str, None) diff --git a/docs/ibm_database_backup_info.rst b/docs/ibm_database_backup_info.rst index 2332380c5..f4f1c6300 100644 --- a/docs/ibm_database_backup_info.rst +++ b/docs/ibm_database_backup_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_backups_info.rst b/docs/ibm_database_backups_info.rst index 00baca3dc..f6ce5e444 100644 --- a/docs/ibm_database_backups_info.rst +++ b/docs/ibm_database_backups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_connection_info.rst b/docs/ibm_database_connection_info.rst index da1471a39..39ae7f5f2 100644 --- a/docs/ibm_database_connection_info.rst +++ b/docs/ibm_database_connection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - user_type (True, str, None) - User type. - - - endpoint_type (True, str, None) - Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. - - user_id (True, str, None) User ID. @@ -45,6 +37,14 @@ Parameters Deployment ID. + user_type (True, str, None) + User type. + + + endpoint_type (True, str, None) + Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. + + 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_database_info.rst b/docs/ibm_database_info.rst index 02d53e643..a0da6b7e0 100644 --- a/docs/ibm_database_info.rst +++ b/docs/ibm_database_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,20 +33,20 @@ Parameters The location or the region in which the Database instance exists - service (False, str, None) - The name of the Cloud Database service - - - name (True, str, None) - Resource instance name for example, my Database instance + tags (False, list, None) + None resource_group_id (False, str, None) The id of the resource group in which the Database instance is present - tags (False, list, None) - None + service (False, str, None) + The name of the Cloud Database service + + + name (True, str, None) + Resource instance name for example, my Database instance iaas_classic_username (False, any, None) diff --git a/docs/ibm_database_point_in_time_recovery_info.rst b/docs/ibm_database_point_in_time_recovery_info.rst index d6da24a62..81816c8f5 100644 --- a/docs/ibm_database_point_in_time_recovery_info.rst +++ b/docs/ibm_database_point_in_time_recovery_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_remotes_info.rst b/docs/ibm_database_remotes_info.rst index 759968777..a6f5b9fd5 100644 --- a/docs/ibm_database_remotes_info.rst +++ b/docs/ibm_database_remotes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_task_info.rst b/docs/ibm_database_task_info.rst index 15813500b..1e2deddbf 100644 --- a/docs/ibm_database_task_info.rst +++ b/docs/ibm_database_task_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_tasks_info.rst b/docs/ibm_database_tasks_info.rst index 09c994a99..6d40f2e49 100644 --- a/docs/ibm_database_tasks_info.rst +++ b/docs/ibm_database_tasks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateway.rst b/docs/ibm_dl_gateway.rst index 3112fb2c5..dfbeacc2e 100644 --- a/docs/ibm_dl_gateway.rst +++ b/docs/ibm_dl_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,104 +31,104 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bfd_status (False, str, None) - Gateway BFD status + authentication_key (False, str, None) + BGP MD5 authentication key - loa_reject_reason (False, str, None) - Loa reject reason + carrier_name (False, str, None) + Carrier name - global_ (True, bool, None) - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + macsec_config (False, list, None) + MACsec configuration information - cross_connect_router (False, str, None) - Cross connect router + as_prepends (False, list, None) + List of AS Prepend configuration information - port (False, str, None) - Gateway port + metered (True, bool, None) + (Required for new resource) Metered billing option speed_mbps (True, int, None) (Required for new resource) Gateway speed in megabits per second - authentication_key (False, str, None) - BGP MD5 authentication key - - - bfd_interval (False, int, None) - BFD Interval + bgp_base_cidr (False, str, None) + BGP base CIDR - metered (True, bool, None) - (Required for new resource) Metered billing option + port (False, str, None) + Gateway port - carrier_name (False, str, None) - Carrier name + name (True, str, None) + (Required for new resource) The unique user-defined name for this gateway customer_name (False, str, None) Customer name - macsec_config (False, list, None) - MACsec configuration information + loa_reject_reason (False, str, None) + Loa reject reason - connection_mode (False, str, None) - Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection + bgp_asn (True, int, None) + (Required for new resource) BGP ASN - location_name (False, str, None) - Gateway location + type (True, str, None) + (Required for new resource) Gateway type bgp_ibm_cidr (False, str, None) BGP IBM CIDR - bfd_multiplier (False, int, None) - BFD Multiplier + resource_group (False, str, None) + Gateway resource group - bgp_base_cidr (False, str, None) - BGP base CIDR + connection_mode (False, str, None) + Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection - tags (False, list, None) - Tags for the direct link gateway + bfd_status (False, str, None) + Gateway BFD status - as_prepends (False, list, None) - List of AS Prepend configuration information + global_ (True, bool, None) + (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region - bfd_status_updated_at (False, str, None) - Date and time BFD status was updated + location_name (False, str, None) + Gateway location - bgp_asn (True, int, None) - (Required for new resource) BGP ASN + bgp_cer_cidr (False, str, None) + BGP customer edge router CIDR - name (True, str, None) - (Required for new resource) The unique user-defined name for this gateway + bfd_multiplier (False, int, None) + BFD Multiplier - type (True, str, None) - (Required for new resource) Gateway type + tags (False, list, None) + Tags for the direct link gateway - bgp_cer_cidr (False, str, None) - BGP customer edge router CIDR + bfd_status_updated_at (False, str, None) + Date and time BFD status was updated - resource_group (False, str, None) - Gateway resource group + cross_connect_router (False, str, None) + Cross connect router + + + bfd_interval (False, int, None) + BFD Interval id (False, str, None) diff --git a/docs/ibm_dl_gateway_info.rst b/docs/ibm_dl_gateway_info.rst index e9b0e2997..cf677b3d7 100644 --- a/docs/ibm_dl_gateway_info.rst +++ b/docs/ibm_dl_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateways_info.rst b/docs/ibm_dl_gateways_info.rst index 4850a1419..05cb56d71 100644 --- a/docs/ibm_dl_gateways_info.rst +++ b/docs/ibm_dl_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_locations_info.rst b/docs/ibm_dl_locations_info.rst index 57d7c1e22..9f8ab3f89 100644 --- a/docs/ibm_dl_locations_info.rst +++ b/docs/ibm_dl_locations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_offering_speeds_info.rst b/docs/ibm_dl_offering_speeds_info.rst index f850b13de..8419f23dc 100644 --- a/docs/ibm_dl_offering_speeds_info.rst +++ b/docs/ibm_dl_offering_speeds_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_port_info.rst b/docs/ibm_dl_port_info.rst index 7afa38035..440ebc58f 100644 --- a/docs/ibm_dl_port_info.rst +++ b/docs/ibm_dl_port_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_ports_info.rst b/docs/ibm_dl_ports_info.rst index 511bd8e76..dc73fed72 100644 --- a/docs/ibm_dl_ports_info.rst +++ b/docs/ibm_dl_ports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_gateway.rst b/docs/ibm_dl_provider_gateway.rst index 4c70f1745..2175857ca 100644 --- a/docs/ibm_dl_provider_gateway.rst +++ b/docs/ibm_dl_provider_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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_cer_cidr (False, str, None) + BGP customer edge router CIDR - vlan (False, int, None) - VLAN allocated for this gateway + 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 - bgp_cer_cidr (False, str, None) - BGP customer edge router CIDR + 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. + + + vlan (False, int, None) + VLAN allocated for this gateway bgp_ibm_cidr (False, str, None) @@ -55,18 +63,10 @@ Parameters (Required for new resource) Gateway port - 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 - bgp_asn (True, int, None) - (Required for new resource) BGP ASN - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dl_provider_gateways_info.rst b/docs/ibm_dl_provider_gateways_info.rst index 96e084bdc..ca8ec247a 100644 --- a/docs/ibm_dl_provider_gateways_info.rst +++ b/docs/ibm_dl_provider_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_ports_info.rst b/docs/ibm_dl_provider_ports_info.rst index 0fe43cab2..42bbbd970 100644 --- a/docs/ibm_dl_provider_ports_info.rst +++ b/docs/ibm_dl_provider_ports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_report.rst b/docs/ibm_dl_route_report.rst index c8d9de4f7..897c93a5a 100644 --- a/docs/ibm_dl_route_report.rst +++ b/docs/ibm_dl_route_report.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_report_info.rst b/docs/ibm_dl_route_report_info.rst index c541bb7c3..60cc7a663 100644 --- a/docs/ibm_dl_route_report_info.rst +++ b/docs/ibm_dl_route_report_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_reports_info.rst b/docs/ibm_dl_route_reports_info.rst index 1201f0b0c..24c1bda4c 100644 --- a/docs/ibm_dl_route_reports_info.rst +++ b/docs/ibm_dl_route_reports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_routers_info.rst b/docs/ibm_dl_routers_info.rst index cdae25151..6c4ffc25a 100644 --- a/docs/ibm_dl_routers_info.rst +++ b/docs/ibm_dl_routers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location_name (True, str, None) - The name of the Direct Link location - - offering_type (True, str, None) The Direct Link offering type + location_name (True, str, None) + The name of the Direct Link location + + 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_virtual_connection.rst b/docs/ibm_dl_virtual_connection.rst index 34ad8ec43..f4a1753ea 100644 --- a/docs/ibm_dl_virtual_connection.rst +++ b/docs/ibm_dl_virtual_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + type (True, str, None) + (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) + + network_id (False, str, None) Unique identifier of the target network. For type=vpc virtual connections this is the CRN of the target VPC. This field does not apply to type=classic connections. @@ -39,10 +43,6 @@ Parameters (Required for new resource) The Direct Link gateway identifier - type (True, str, None) - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) - - name (True, str, None) (Required for new resource) The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute diff --git a/docs/ibm_dns_custom_resolver.rst b/docs/ibm_dns_custom_resolver.rst index 1706e4691..5347f5b12 100644 --- a/docs/ibm_dns_custom_resolver.rst +++ b/docs/ibm_dns_custom_resolver.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of the custom resolver - - - description (False, str, None) - Descriptive text of the custom resolver. + high_availability (False, bool, True) + Whether High Availability is enabled in custom resolver locations (False, list, None) Locations on which the custom resolver will be running - instance_id (True, str, None) - (Required for new resource) Instance ID + name (True, str, None) + (Required for new resource) Name of the custom resolver enabled (False, bool, True) Whether the custom resolver is enabled - high_availability (False, bool, True) - Whether High Availability is enabled in custom resolver + instance_id (True, str, None) + (Required for new resource) Instance ID + + + description (False, str, None) + Descriptive text of the custom resolver. id (False, str, None) diff --git a/docs/ibm_dns_custom_resolver_forwarding_rule.rst b/docs/ibm_dns_custom_resolver_forwarding_rule.rst index 9abd2a113..197937e66 100644 --- a/docs/ibm_dns_custom_resolver_forwarding_rule.rst +++ b/docs/ibm_dns_custom_resolver_forwarding_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_id (True, str, None) + (Required for new resource) The unique identifier of a service instance. + + + resolver_id (True, str, None) + (Required for new resource) The unique identifier of a custom resolver. + + description (False, str, None) Descriptive text of the forwarding rule. @@ -47,14 +55,6 @@ Parameters The upstream DNS servers will be forwarded to. - instance_id (True, str, None) - (Required for new resource) The unique identifier of a service instance. - - - resolver_id (True, str, None) - (Required for new resource) The unique identifier of a custom resolver. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst b/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst index 2394b1f9e..c20c5f937 100644 --- a/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst +++ b/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolver_location.rst b/docs/ibm_dns_custom_resolver_location.rst index a3bf885f9..bbbf2974e 100644 --- a/docs/ibm_dns_custom_resolver_location.rst +++ b/docs/ibm_dns_custom_resolver_location.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolver_secondary_zone.rst b/docs/ibm_dns_custom_resolver_secondary_zone.rst index fc244913d..56f10e093 100644 --- a/docs/ibm_dns_custom_resolver_secondary_zone.rst +++ b/docs/ibm_dns_custom_resolver_secondary_zone.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,22 +35,22 @@ Parameters (Required for new resource) The unique identifier of a service instance. - zone (True, str, None) - (Required for new resource) The name of the zone. - - resolver_id (True, str, None) (Required for new resource) The unique identifier of a custom resolver. - transfer_from (True, list, None) - (Required for new resource) The addresses of DNS servers where the secondary zone data should be transferred from + zone (True, str, None) + (Required for new resource) The name of the zone. enabled (True, bool, None) (Required for new resource) Enable/Disable the secondary zone + transfer_from (True, list, None) + (Required for new resource) The addresses of DNS servers where the secondary zone data should be transferred from + + description (False, str, None) Descriptive text of the secondary zone diff --git a/docs/ibm_dns_custom_resolver_secondary_zones_info.rst b/docs/ibm_dns_custom_resolver_secondary_zones_info.rst index ecd2c0b98..070c56d68 100644 --- a/docs/ibm_dns_custom_resolver_secondary_zones_info.rst +++ b/docs/ibm_dns_custom_resolver_secondary_zones_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolvers_info.rst b/docs/ibm_dns_custom_resolvers_info.rst index 477f15855..2fd844c02 100644 --- a/docs/ibm_dns_custom_resolvers_info.rst +++ b/docs/ibm_dns_custom_resolvers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain.rst b/docs/ibm_dns_domain.rst index 1391f5f60..008d32ad1 100644 --- a/docs/ibm_dns_domain.rst +++ b/docs/ibm_dns_domain.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_info.rst b/docs/ibm_dns_domain_info.rst index 258bc685d..f41182836 100644 --- a/docs/ibm_dns_domain_info.rst +++ b/docs/ibm_dns_domain_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_info.rst b/docs/ibm_dns_domain_registration_info.rst index 517868463..82d5334d3 100644 --- a/docs/ibm_dns_domain_registration_info.rst +++ b/docs/ibm_dns_domain_registration_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_nameservers.rst b/docs/ibm_dns_domain_registration_nameservers.rst index 7a386ff4b..f3b02ec03 100644 --- a/docs/ibm_dns_domain_registration_nameservers.rst +++ b/docs/ibm_dns_domain_registration_nameservers.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name_servers (True, list, None) - (Required for new resource) Custom name servers for the domain registration - - dns_registration_id (True, str, None) (Required for new resource) DNS registration ID + name_servers (True, list, None) + (Required for new resource) Custom name servers for the domain registration + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_glb.rst b/docs/ibm_dns_glb.rst index c9b6dddc7..56fc4eb1f 100644 --- a/docs/ibm_dns_glb.rst +++ b/docs/ibm_dns_glb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + az_pools (False, list, None) + Map availability zones to pool ID's. + + instance_id (True, str, None) (Required for new resource) The GUID of the private DNS. @@ -39,6 +43,10 @@ Parameters (Required for new resource) Zone Id + name (True, str, None) + (Required for new resource) Name of the load balancer + + description (False, str, None) Descriptive text of the load balancer @@ -51,20 +59,12 @@ Parameters Time to live in second - default_pools (True, list, None) - (Required for new resource) A list of pool IDs ordered by their failover priority - - - name (True, str, None) - (Required for new resource) Name of the load balancer - - fallback_pool (True, str, None) (Required for new resource) The pool ID to use when all other pools are detected as unhealthy - az_pools (False, list, None) - Map availability zones to pool ID's. + default_pools (True, list, None) + (Required for new resource) A list of pool IDs ordered by their failover priority id (False, str, None) diff --git a/docs/ibm_dns_glb_monitor.rst b/docs/ibm_dns_glb_monitor.rst index b50a6a97c..531c9f7f7 100644 --- a/docs/ibm_dns_glb_monitor.rst +++ b/docs/ibm_dns_glb_monitor.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,60 +31,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The unique identifier of a service instance. + allow_insecure (False, bool, None) + Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. description (False, str, None) Descriptive text of the load balancer monitor - 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 - - - instance_id (True, str, None) - (Required for new resource) Instance Id + port (False, int, None) + Port number to connect to for the health check 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 - - - allow_insecure (False, bool, None) - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + expected_body (False, str, None) + A case-insensitive sub-string to look for in the response body - interval (False, int, 60) - The interval between each health check + instance_id (True, str, None) + (Required for new resource) Instance Id - method (False, str, None) - The method to use for the health check + name (True, str, None) + (Required for new resource) The unique identifier of a service instance. type (False, str, HTTP) The protocol to use 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 + method (False, str, None) + The method to use for the health check + + + interval (False, int, 60) + The interval between each health check path (False, str, None) The endpoint path to health check against - expected_body (False, str, None) - A case-insensitive sub-string to look for in the response body + 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 - 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 + + + headers (False, list, None) + The HTTP request headers to send in the health check id (False, str, None) diff --git a/docs/ibm_dns_glb_monitors_info.rst b/docs/ibm_dns_glb_monitors_info.rst index 3a137fde0..0a669947f 100644 --- a/docs/ibm_dns_glb_monitors_info.rst +++ b/docs/ibm_dns_glb_monitors_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glb_pool.rst b/docs/ibm_dns_glb_pool.rst index 5e107e5fb..e529c54a6 100644 --- a/docs/ibm_dns_glb_pool.rst +++ b/docs/ibm_dns_glb_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,12 +35,8 @@ Parameters The notification channel,It is a webhook url - 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 healthcheck_subnets (False, list, None) @@ -51,10 +47,18 @@ Parameters (Required for new resource) The unique identifier of a service instance. + instance_id (True, str, None) + (Required for new resource) Instance Id + + enabled (False, bool, None) Whether the load balancer pool is enabled + 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 @@ -63,12 +67,8 @@ Parameters The ID of the load balancer monitor to be associated to this pool - healthy_origins_threshold (False, int, None) - The minimum number of origins that must be healthy for this pool to serve traffic - - - description (False, str, None) - Descriptive text of the load balancer pool + 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 a07357f4a..21341364d 100644 --- a/docs/ibm_dns_glb_pools_info.rst +++ b/docs/ibm_dns_glb_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glbs_info.rst b/docs/ibm_dns_glbs_info.rst index d14de703e..334929aec 100644 --- a/docs/ibm_dns_glbs_info.rst +++ b/docs/ibm_dns_glbs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_permitted_network.rst b/docs/ibm_dns_permitted_network.rst index ef4f75a72..884f72c46 100644 --- a/docs/ibm_dns_permitted_network.rst +++ b/docs/ibm_dns_permitted_network.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone_id (True, str, None) - (Required for new resource) Zone Id - - type (False, str, vpc) Network Type @@ -47,6 +43,10 @@ Parameters (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 f40773758..dda8e1c81 100644 --- a/docs/ibm_dns_permitted_networks_info.rst +++ b/docs/ibm_dns_permitted_networks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_record.rst b/docs/ibm_dns_record.rst index aeab6cc6d..7c6c4d731 100644 --- a/docs/ibm_dns_record.rst +++ b/docs/ibm_dns_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,74 +31,74 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) DNS record type + ttl (True, int, None) + (Required for new resource) TTL configuration port (False, int, None) port number - tags (False, list, None) - tags set for the resource - - - domain_id (True, int, None) - (Required for new resource) Domain ID of dns record instance + priority (False, int, 0) + priority info - retry (False, int, None) - Retry count + mx_priority (False, int, 0) + Maximum priority - minimum_ttl (False, int, None) - Minimun TTL configuration + refresh (False, int, None) + refresh rate - ttl (True, int, None) - (Required for new resource) TTL configuration + responsible_person (False, str, None) + Responsible person for DNS record - weight (False, int, 0) - weight info + minimum_ttl (False, int, None) + Minimun TTL configuration - expire (False, int, None) - DNS record expiry info + domain_id (True, int, None) + (Required for new resource) Domain ID of dns record instance - refresh (False, int, None) - refresh rate + type (True, str, None) + (Required for new resource) DNS record type - mx_priority (False, int, 0) - Maximum priority + protocol (False, str, None) + protocol info service (False, str, None) service info - responsible_person (False, str, None) - Responsible person for DNS record - - - protocol (False, str, None) - protocol info - - - priority (False, int, 0) - priority info + weight (False, int, 0) + weight info data (True, str, None) (Required for new resource) DNS record data + expire (False, int, None) + DNS record expiry info + + host (True, str, None) (Required for new resource) Hostname + retry (False, int, None) + Retry count + + + 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 ca3382255..ec5b2e31d 100644 --- a/docs/ibm_dns_resource_record.rst +++ b/docs/ibm_dns_resource_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,48 +35,48 @@ Parameters (Required for new resource) Instance ID - type (True, str, None) - (Required for new resource) DNS record Type - - - preference (False, int, 0) - DNS maximum preference + name (True, str, None) + (Required for new resource) DNS record name - service (False, str, None) - Service info + rdata (True, str, None) + (Required for new resource) DNS record Data 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 - rdata (True, str, None) - (Required for new resource) DNS record Data + service (False, str, None) + Service info - priority (False, int, 0) - DNS server Priority + protocol (False, str, None) + Protocol ttl (False, int, 900) DNS record TTL + preference (False, int, 0) + DNS maximum preference + + port (False, int, None) DNS server Port - weight (False, int, 0) - DNS server weight + type (True, str, None) + (Required for new resource) DNS record Type - protocol (False, str, None) - Protocol + weight (False, int, 0) + DNS server weight id (False, str, None) diff --git a/docs/ibm_dns_resource_records_info.rst b/docs/ibm_dns_resource_records_info.rst index 364e7f340..aa08d8e72 100644 --- a/docs/ibm_dns_resource_records_info.rst +++ b/docs/ibm_dns_resource_records_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone_id (True, str, None) - Zone Id - - instance_id (True, str, None) Instance ID + zone_id (True, str, None) + Zone 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_reverse_record.rst b/docs/ibm_dns_reverse_record.rst index bc4c9de72..84f548e8d 100644 --- a/docs/ibm_dns_reverse_record.rst +++ b/docs/ibm_dns_reverse_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_secondary.rst b/docs/ibm_dns_secondary.rst index 0438f84cd..2edaa9440 100644 --- a/docs/ibm_dns_secondary.rst +++ b/docs/ibm_dns_secondary.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_secondary_info.rst b/docs/ibm_dns_secondary_info.rst index e699aa554..ce67aa48e 100644 --- a/docs/ibm_dns_secondary_info.rst +++ b/docs/ibm_dns_secondary_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_zone.rst b/docs/ibm_dns_zone.rst index 119a8e6ad..07a6c1cc7 100644 --- a/docs/ibm_dns_zone.rst +++ b/docs/ibm_dns_zone.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - label (False, str, None) - Label - - - instance_id (True, str, None) - (Required for new resource) Instance ID - - name (True, str, None) (Required for new resource) Zone name @@ -47,6 +39,14 @@ Parameters Zone description + label (False, str, None) + Label + + + instance_id (True, str, None) + (Required for new resource) Instance ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_zones_info.rst b/docs/ibm_dns_zones_info.rst index 1ba6571c5..6824ede63 100644 --- a/docs/ibm_dns_zones_info.rst +++ b/docs/ibm_dns_zones_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination.rst b/docs/ibm_en_destination.rst index d3ec369a0..62802a7c9 100644 --- a/docs/ibm_en_destination.rst +++ b/docs/ibm_en_destination.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_android.rst b/docs/ibm_en_destination_android.rst index 02b318740..29f615131 100644 --- a/docs/ibm_en_destination_android.rst +++ b/docs/ibm_en_destination_android.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) The type of Destination push_android. - - - config (False, list, None) - Payload describing a destination configuration. - - instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -47,10 +39,18 @@ Parameters (Required for new resource) The Destintion name. + type (True, str, None) + (Required for new resource) The type of Destination push_android. + + description (False, str, None) The Destination description. + config (False, list, None) + Payload describing a destination configuration. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_android_info.rst b/docs/ibm_en_destination_android_info.rst index 1f1365ee5..a90b8e3f3 100644 --- a/docs/ibm_en_destination_android_info.rst +++ b/docs/ibm_en_destination_android_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_chrome.rst b/docs/ibm_en_destination_chrome.rst index 3a1378f2e..7f1d8871b 100644 --- a/docs/ibm_en_destination_chrome.rst +++ b/docs/ibm_en_destination_chrome.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,14 +35,6 @@ Parameters (Required for new resource) The Destintion name. - type (True, str, None) - (Required for new resource) The type of Destination type push_chrome. - - - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - description (False, str, None) The Destination description. @@ -51,6 +43,14 @@ Parameters Payload describing a destination configuration. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + + type (True, str, None) + (Required for new resource) The type of Destination type push_chrome. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_chrome_info.rst b/docs/ibm_en_destination_chrome_info.rst index 4cef2f585..1548210d0 100644 --- a/docs/ibm_en_destination_chrome_info.rst +++ b/docs/ibm_en_destination_chrome_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_firefox.rst b/docs/ibm_en_destination_firefox.rst index 8a46ec60e..aa0b86828 100644 --- a/docs/ibm_en_destination_firefox.rst +++ b/docs/ibm_en_destination_firefox.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) The Destintion name. + + type (True, str, None) (Required for new resource) The type of Destination type push_firefox. + description (False, str, None) + The Destination description. + + config (False, list, None) Payload describing a destination configuration. @@ -43,14 +51,6 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - name (True, str, None) - (Required for new resource) The Destintion name. - - - description (False, str, None) - The Destination description. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_firefox_info.rst b/docs/ibm_en_destination_firefox_info.rst index c9ca4f1a2..8edc6044e 100644 --- a/docs/ibm_en_destination_firefox_info.rst +++ b/docs/ibm_en_destination_firefox_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_info.rst b/docs/ibm_en_destination_info.rst index 11681a1b5..ba7a5d00e 100644 --- a/docs/ibm_en_destination_info.rst +++ b/docs/ibm_en_destination_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - destination_id (True, str, None) Unique identifier for Destination. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + 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_en_destination_ios.rst b/docs/ibm_en_destination_ios.rst index 798eb1263..b54b3e4ad 100644 --- a/docs/ibm_en_destination_ios.rst +++ b/docs/ibm_en_destination_ios.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - The Destination description. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - certificate_content_type (True, str, None) - (Required for new resource) The Certificate Content Type to be set p8/p12. + type (True, str, None) + (Required for new resource) The type of Destination type push_ios. - certificate (True, str, None) - (Required for new resource) The Certificate File. + description (False, str, None) + The Destination description. - config (False, list, None) - Payload describing a destination configuration. + certificate_content_type (True, str, None) + (Required for new resource) The Certificate Content Type to be set p8/p12. name (True, str, None) (Required for new resource) The Destintion name. - type (True, str, None) - (Required for new resource) The type of Destination type push_ios. + certificate (True, str, None) + (Required for new resource) The Certificate File. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + config (False, list, None) + Payload describing a destination configuration. id (False, str, None) diff --git a/docs/ibm_en_destination_ios_info.rst b/docs/ibm_en_destination_ios_info.rst index 68c0689df..0cc304fa7 100644 --- a/docs/ibm_en_destination_ios_info.rst +++ b/docs/ibm_en_destination_ios_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_safari.rst b/docs/ibm_en_destination_safari.rst index bdd9b9361..da110921f 100644 --- a/docs/ibm_en_destination_safari.rst +++ b/docs/ibm_en_destination_safari.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,15 +31,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - - icon_32x32_2x (False, str, None) - The Certificate File. + certificate (True, str, None) + (Required for new resource) The Certificate File. - icon_128x128 (False, str, None) + icon_16x16 (False, str, None) The Certificate File. @@ -51,15 +47,7 @@ Parameters The Certificate File. - icon_32x32_content_type (False, str, None) - The Certificate File. - - - icon_16x16 (False, str, None) - The Certificate File. - - - icon_32x32_2x_content_type (False, str, None) + icon_16x16_2x_content_type (False, str, None) The Certificate File. @@ -71,35 +59,47 @@ Parameters (Required for new resource) The Destintion name. - certificate (True, str, None) - (Required for new resource) The Certificate File. + type (True, str, None) + (Required for new resource) The type of Destination type push_ios. - icon_16x16_2x (False, str, None) - The Certificate File. + description (False, str, None) + The Destination description. icon_128x128_content_type (False, str, None) The Certificate File. - type (True, str, None) - (Required for new resource) The type of Destination type push_ios. + icon_128x128_2x_content_type (False, str, None) + The Certificate File. - description (False, str, None) - The Destination description. + icon_128x128 (False, str, None) + The Certificate File. + + + icon_32x32_content_type (False, str, None) + The Certificate File. icon_32x32 (False, str, None) The Certificate File. - icon_16x16_2x_content_type (False, str, None) + icon_32x32_2x (False, str, None) The Certificate File. - icon_128x128_2x_content_type (False, str, None) + icon_32x32_2x_content_type (False, str, None) + The Certificate File. + + + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + + icon_16x16_2x (False, str, None) The Certificate File. diff --git a/docs/ibm_en_destination_safari_info.rst b/docs/ibm_en_destination_safari_info.rst index 711786e6d..610ea5251 100644 --- a/docs/ibm_en_destination_safari_info.rst +++ b/docs/ibm_en_destination_safari_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - Unique identifier for Destination. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + destination_id (True, str, None) + Unique identifier for Destination. + + 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_en_destination_slack.rst b/docs/ibm_en_destination_slack.rst index f57ef32c9..c1e02bde4 100644 --- a/docs/ibm_en_destination_slack.rst +++ b/docs/ibm_en_destination_slack.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + type (True, str, None) + (Required for new resource) The type of Destination Webhook. + + config (False, list, None) Payload describing a destination configuration. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - type (True, str, None) - (Required for new resource) The type of Destination Webhook. - - name (True, str, None) (Required for new resource) The Destintion name. diff --git a/docs/ibm_en_destination_slack_info.rst b/docs/ibm_en_destination_slack_info.rst index 1468f9590..cf8693d69 100644 --- a/docs/ibm_en_destination_slack_info.rst +++ b/docs/ibm_en_destination_slack_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - Unique identifier for Destination. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + destination_id (True, str, None) + Unique identifier for Destination. + + 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_en_destination_webhook.rst b/docs/ibm_en_destination_webhook.rst index 194e7dc5c..6167dd0d5 100644 --- a/docs/ibm_en_destination_webhook.rst +++ b/docs/ibm_en_destination_webhook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The Destintion name. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. type (True, str, None) (Required for new resource) The type of Destination Webhook. - description (False, str, None) - The Destination description. + config (False, list, None) + Payload describing a destination configuration. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) The Destintion name. - config (False, list, None) - Payload describing a destination configuration. + description (False, str, None) + The Destination description. id (False, str, None) diff --git a/docs/ibm_en_destination_webhook_info.rst b/docs/ibm_en_destination_webhook_info.rst index aeed013b0..fc4bca478 100644 --- a/docs/ibm_en_destination_webhook_info.rst +++ b/docs/ibm_en_destination_webhook_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - Unique identifier for Destination. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + destination_id (True, str, None) + Unique identifier for Destination. + + 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_en_destinations_info.rst b/docs/ibm_en_destinations_info.rst index 3d7b20469..2111b9708 100644 --- a/docs/ibm_en_destinations_info.rst +++ b/docs/ibm_en_destinations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_source.rst b/docs/ibm_en_source.rst index b47ce7971..cec2e2903 100644 --- a/docs/ibm_en_source.rst +++ b/docs/ibm_en_source.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_source_info.rst b/docs/ibm_en_source_info.rst index b1fbd2b81..0435d5873 100644 --- a/docs/ibm_en_source_info.rst +++ b/docs/ibm_en_source_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription.rst b/docs/ibm_en_subscription.rst index fcf90a63d..d774bc8f0 100644 --- a/docs/ibm_en_subscription.rst +++ b/docs/ibm_en_subscription.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - (Required for new resource) Destination ID. - - description (False, str, None) Subscription description. - topic_id (True, str, None) - (Required for new resource) Topic ID. + destination_id (True, str, None) + (Required for new resource) Destination ID. - attributes (False, list, None) - None + topic_id (True, str, None) + (Required for new resource) Topic ID. instance_guid (True, str, None) @@ -55,6 +51,10 @@ Parameters (Required for new resource) Subscription name. + attributes (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_android.rst b/docs/ibm_en_subscription_android.rst index 478dc7b70..f7e89d1d3 100644 --- a/docs/ibm_en_subscription_android.rst +++ b/docs/ibm_en_subscription_android.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Subscription name. - - destination_id (True, str, None) (Required for new resource) Destination ID. + topic_id (True, str, None) + (Required for new resource) Topic ID. + + instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - description (False, str, None) - Subscription description. + name (True, str, None) + (Required for new resource) Subscription name. - topic_id (True, str, None) - (Required for new resource) Topic ID. + description (False, str, None) + Subscription description. id (False, str, None) diff --git a/docs/ibm_en_subscription_android_info.rst b/docs/ibm_en_subscription_android_info.rst index de588840d..314e5d1c4 100644 --- a/docs/ibm_en_subscription_android_info.rst +++ b/docs/ibm_en_subscription_android_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subscription_id (True, str, None) - Unique identifier for result. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + subscription_id (True, str, None) + Unique identifier for result. + + 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_en_subscription_chrome.rst b/docs/ibm_en_subscription_chrome.rst index dca1e6e85..3a469cde1 100644 --- a/docs/ibm_en_subscription_chrome.rst +++ b/docs/ibm_en_subscription_chrome.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) Subscription name. + + instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -43,10 +47,6 @@ Parameters (Required for new resource) Destination ID. - name (True, str, None) - (Required for new resource) Subscription name. - - topic_id (True, str, None) (Required for new resource) Topic ID. diff --git a/docs/ibm_en_subscription_chrome_info.rst b/docs/ibm_en_subscription_chrome_info.rst index 48dba30aa..b7cc00071 100644 --- a/docs/ibm_en_subscription_chrome_info.rst +++ b/docs/ibm_en_subscription_chrome_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_email.rst b/docs/ibm_en_subscription_email.rst index c78998545..9e5461e5f 100644 --- a/docs/ibm_en_subscription_email.rst +++ b/docs/ibm_en_subscription_email.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Subscription name. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. description (False, str, None) Subscription description. - topic_id (True, str, None) - (Required for new resource) Topic ID. + name (True, str, None) + (Required for new resource) Subscription name. - attributes (False, list, None) - None + destination_id (True, str, None) + (Required for new resource) Destination ID. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + topic_id (True, str, None) + (Required for new resource) Topic ID. - destination_id (True, str, None) - (Required for new resource) Destination ID. + attributes (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_en_subscription_email_info.rst b/docs/ibm_en_subscription_email_info.rst index 7b8f7332b..29a68a000 100644 --- a/docs/ibm_en_subscription_email_info.rst +++ b/docs/ibm_en_subscription_email_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - subscription_id (True, str, None) Unique identifier for result. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + 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_en_subscription_firefox.rst b/docs/ibm_en_subscription_firefox.rst index fa61fcbdd..aebffa9f9 100644 --- a/docs/ibm_en_subscription_firefox.rst +++ b/docs/ibm_en_subscription_firefox.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - description (False, str, None) Subscription description. @@ -43,14 +39,18 @@ Parameters (Required for new resource) Destination ID. - name (True, str, None) - (Required for new resource) Subscription name. - - topic_id (True, str, None) (Required for new resource) Topic ID. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + + name (True, str, None) + (Required for new resource) Subscription name. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_firefox_info.rst b/docs/ibm_en_subscription_firefox_info.rst index acd77a617..43104adc9 100644 --- a/docs/ibm_en_subscription_firefox_info.rst +++ b/docs/ibm_en_subscription_firefox_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_info.rst b/docs/ibm_en_subscription_info.rst index c5f76b942..9f7914f02 100644 --- a/docs/ibm_en_subscription_info.rst +++ b/docs/ibm_en_subscription_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_ios.rst b/docs/ibm_en_subscription_ios.rst index f7b137208..a756e6843 100644 --- a/docs/ibm_en_subscription_ios.rst +++ b/docs/ibm_en_subscription_ios.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -43,14 +43,14 @@ Parameters Subscription description. - topic_id (True, str, None) - (Required for new resource) Topic ID. - - destination_id (True, str, None) (Required for new resource) Destination ID. + topic_id (True, str, None) + (Required for new resource) Topic ID. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_ios_info.rst b/docs/ibm_en_subscription_ios_info.rst index 8b0237bc6..a98451d67 100644 --- a/docs/ibm_en_subscription_ios_info.rst +++ b/docs/ibm_en_subscription_ios_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_safari.rst b/docs/ibm_en_subscription_safari.rst index 2f3616cda..a8cf2e8f3 100644 --- a/docs/ibm_en_subscription_safari.rst +++ b/docs/ibm_en_subscription_safari.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - topic_id (True, str, None) - (Required for new resource) Topic ID. - - instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -43,6 +39,10 @@ Parameters (Required for new resource) Subscription name. + topic_id (True, str, None) + (Required for new resource) Topic ID. + + description (False, str, None) Subscription description. diff --git a/docs/ibm_en_subscription_safari_info.rst b/docs/ibm_en_subscription_safari_info.rst index 777c9d199..1c816cf9e 100644 --- a/docs/ibm_en_subscription_safari_info.rst +++ b/docs/ibm_en_subscription_safari_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_slack.rst b/docs/ibm_en_subscription_slack.rst index 0f02119ba..fe6f13310 100644 --- a/docs/ibm_en_subscription_slack.rst +++ b/docs/ibm_en_subscription_slack.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + name (True, str, None) (Required for new resource) Subscription name. - attributes (False, list, None) - None + topic_id (True, str, None) + (Required for new resource) Topic ID. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + attributes (False, list, None) + None description (False, str, None) @@ -51,10 +55,6 @@ Parameters (Required for new resource) Destination ID. - topic_id (True, str, None) - (Required for new resource) Topic ID. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_slack_info.rst b/docs/ibm_en_subscription_slack_info.rst index bb26e772f..ff2863c9d 100644 --- a/docs/ibm_en_subscription_slack_info.rst +++ b/docs/ibm_en_subscription_slack_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_sms.rst b/docs/ibm_en_subscription_sms.rst index fe9d872a2..a95b347b2 100644 --- a/docs/ibm_en_subscription_sms.rst +++ b/docs/ibm_en_subscription_sms.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,8 +35,8 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - name (True, str, None) - (Required for new resource) Subscription name. + description (False, str, None) + Subscription description. destination_id (True, str, None) @@ -47,8 +47,8 @@ Parameters (Required for new resource) Topic ID. - description (False, str, None) - Subscription description. + name (True, str, None) + (Required for new resource) Subscription name. attributes (False, list, None) diff --git a/docs/ibm_en_subscription_sms_info.rst b/docs/ibm_en_subscription_sms_info.rst index 8a9a21fda..a4b2c3270 100644 --- a/docs/ibm_en_subscription_sms_info.rst +++ b/docs/ibm_en_subscription_sms_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_webhook.rst b/docs/ibm_en_subscription_webhook.rst index bd87c44eb..a97011612 100644 --- a/docs/ibm_en_subscription_webhook.rst +++ b/docs/ibm_en_subscription_webhook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Subscription description. - - topic_id (True, str, None) (Required for new resource) Topic ID. - name (True, str, None) - (Required for new resource) Subscription name. + attributes (False, list, None) + None - destination_id (True, str, None) - (Required for new resource) Destination ID. + description (False, str, None) + Subscription description. - attributes (False, list, None) - None + destination_id (True, str, None) + (Required for new resource) Destination ID. instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) Subscription name. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_webhook_info.rst b/docs/ibm_en_subscription_webhook_info.rst index 6ff5cae03..12831b459 100644 --- a/docs/ibm_en_subscription_webhook_info.rst +++ b/docs/ibm_en_subscription_webhook_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - subscription_id (True, str, None) Unique identifier for result. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + 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_en_subscriptions_info.rst b/docs/ibm_en_subscriptions_info.rst index c78988655..4679ba77d 100644 --- a/docs/ibm_en_subscriptions_info.rst +++ b/docs/ibm_en_subscriptions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_topic.rst b/docs/ibm_en_topic.rst index baa3e06ad..24e7d7632 100644 --- a/docs/ibm_en_topic.rst +++ b/docs/ibm_en_topic.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Description of the topic. - - - sources (False, list, None) - List of sources. - - instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -47,6 +39,14 @@ Parameters (Required for new resource) Name of the topic. + description (False, str, None) + Description of the topic. + + + sources (False, list, None) + List of sources. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_topic_info.rst b/docs/ibm_en_topic_info.rst index c6ca613f0..e7288b4cc 100644 --- a/docs/ibm_en_topic_info.rst +++ b/docs/ibm_en_topic_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - topic_id (True, str, None) Unique identifier for Topic. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + 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_en_topics_info.rst b/docs/ibm_en_topics_info.rst index 0864b4fc2..d5267b0f2 100644 --- a/docs/ibm_en_topics_info.rst +++ b/docs/ibm_en_topics_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - search_key (False, str, None) - Filter the topic by name - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + search_key (False, str, None) + Filter the topic by 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_enterprise.rst b/docs/ibm_enterprise.rst index 32dc5b3d9..ac889f1f8 100644 --- a/docs/ibm_enterprise.rst +++ b/docs/ibm_enterprise.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,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 enterprise. This field must have 3 - 60 characters. - - primary_contact_iam_id (True, str, None) (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. + name (True, str, None) + (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. + + domain (False, str, None) A domain or subdomain for the enterprise, such as `example.com` or `my.example.com`. diff --git a/docs/ibm_enterprise_account.rst b/docs/ibm_enterprise_account.rst index 9d16adb64..fc6389ee9 100644 --- a/docs/ibm_enterprise_account.rst +++ b/docs/ibm_enterprise_account.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + enterprise_id (False, str, None) + The enterprise ID that the account is a part of. + + name (False, str, None) The name of the account. This field must have 3 - 60 characters. - parent (True, str, None) - (Required for new resource) The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself. + owner_iam_id (False, str, None) + The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. account_id (False, str, None) The source account id of account to be imported - enterprise_id (False, str, None) - The enterprise ID that the account is a part of. - - - owner_iam_id (False, str, None) - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. + parent (True, str, None) + (Required for new resource) The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself. enterprise_account_id (False, str, None) diff --git a/docs/ibm_enterprise_account_group.rst b/docs/ibm_enterprise_account_group.rst index 906ccef79..e2baea46d 100644 --- a/docs/ibm_enterprise_account_group.rst +++ b/docs/ibm_enterprise_account_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) The CRN of the parent under which the account group will be created. The parent can be an existing account group or the enterprise itself. - primary_contact_iam_id (True, str, None) - (Required for new resource) The IAM ID of the primary contact for this account group, such as `IBMid-0123ABC`. The IAM ID must already exist. - - name (True, str, None) (Required for new resource) The name of the account group. This field must have 3 - 60 characters. + primary_contact_iam_id (True, str, None) + (Required for new resource) The IAM ID of the primary contact for this account group, such as `IBMid-0123ABC`. The IAM ID must already exist. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_enterprise_account_groups_info.rst b/docs/ibm_enterprise_account_groups_info.rst index e9a37eb48..2ebb1583e 100644 --- a/docs/ibm_enterprise_account_groups_info.rst +++ b/docs/ibm_enterprise_account_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_enterprise_accounts_info.rst b/docs/ibm_enterprise_accounts_info.rst index 2ceb54a93..2012ff26d 100644 --- a/docs/ibm_enterprise_accounts_info.rst +++ b/docs/ibm_enterprise_accounts_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_enterprises_info.rst b/docs/ibm_enterprises_info.rst index 56084840f..58fff1dac 100644 --- a/docs/ibm_enterprises_info.rst +++ b/docs/ibm_enterprises_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_schema.rst b/docs/ibm_event_streams_schema.rst index 6e774d221..3e6eae0dc 100644 --- a/docs/ibm_event_streams_schema.rst +++ b/docs/ibm_event_streams_schema.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + schema_id (False, str, None) + The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. + + resource_instance_id (True, str, None) (Required for new resource) The ID or the CRN of the Event Streams service instance @@ -39,10 +43,6 @@ Parameters (Required for new resource) The schema in JSON format - schema_id (False, str, None) - The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_event_streams_schema_info.rst b/docs/ibm_event_streams_schema_info.rst index a906016e7..7c9a2053c 100644 --- a/docs/ibm_event_streams_schema_info.rst +++ b/docs/ibm_event_streams_schema_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_topic.rst b/docs/ibm_event_streams_topic.rst index 846292356..a2e652780 100644 --- a/docs/ibm_event_streams_topic.rst +++ b/docs/ibm_event_streams_topic.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ 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 - - resource_instance_id (True, str, None) (Required for new resource) The CRN of the Event Streams instance @@ -47,6 +39,14 @@ Parameters (Required for new resource) The name of the topic + partitions (False, int, 1) + The number of partitions + + + config (False, dict, None) + The configuration parameters of a topic + + 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 e0db0414a..11124f3e2 100644 --- a/docs/ibm_event_streams_topic_info.rst +++ b/docs/ibm_event_streams_topic_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_firewall.rst b/docs/ibm_firewall.rst index 482e444f1..4c3f4ed49 100644 --- a/docs/ibm_firewall.rst +++ b/docs/ibm_firewall.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_firewall_policy.rst b/docs/ibm_firewall_policy.rst index e8bcd128e..cf49d1bd6 100644 --- a/docs/ibm_firewall_policy.rst +++ b/docs/ibm_firewall_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + List of tags + + firewall_id (True, int, None) (Required for new resource) Firewall ID @@ -39,10 +43,6 @@ Parameters (Required for new resource) Policy rules info - tags (False, list, None) - List of tags - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_action.rst b/docs/ibm_function_action.rst index 92e7a4ef9..0167b181e 100644 --- a/docs/ibm_function_action.rst +++ b/docs/ibm_function_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,10 +35,18 @@ Parameters (Required for new resource) Execution info + publish (False, bool, None) + Action visibilty. + + 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. + + name (True, str, None) (Required for new resource) Name of action. @@ -51,14 +59,6 @@ Parameters None - publish (False, bool, None) - Action visibilty. - - - user_defined_parameters (False, str, []) - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. - - 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 6ab4b418d..a7c119139 100644 --- a/docs/ibm_function_action_info.rst +++ b/docs/ibm_function_action_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_namespace.rst b/docs/ibm_function_namespace.rst index 444b9fe10..626efdc41 100644 --- a/docs/ibm_function_namespace.rst +++ b/docs/ibm_function_namespace.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) Name of namespace. + + description (False, str, None) Namespace Description. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Resource Group ID. - name (True, str, None) - (Required for new resource) Name of namespace. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_namespace_info.rst b/docs/ibm_function_namespace_info.rst index 328e841dd..78e76098e 100644 --- a/docs/ibm_function_namespace_info.rst +++ b/docs/ibm_function_namespace_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_package.rst b/docs/ibm_function_package.rst index 779708911..ae989c377 100644 --- a/docs/ibm_function_package.rst +++ b/docs/ibm_function_package.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -39,22 +39,22 @@ Parameters (Required for new resource) Name of package. - publish (False, bool, False) - Package visibilty. - - user_defined_annotations (False, str, []) Annotation values in KEY VALUE format. - bind_package_name (False, str, None) - Name of package to be binded. - - user_defined_parameters (False, str, []) Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. + publish (False, bool, False) + Package visibilty. + + + bind_package_name (False, str, None) + Name of package to be binded. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_package_info.rst b/docs/ibm_function_package_info.rst index a9004fbd7..b2222a167 100644 --- a/docs/ibm_function_package_info.rst +++ b/docs/ibm_function_package_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Name of the package. - - namespace (True, str, None) Name of the namespace. + name (True, str, None) + Name of the package. + + 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_rule.rst b/docs/ibm_function_rule.rst index 21fa3bb56..5d3a08ad0 100644 --- a/docs/ibm_function_rule.rst +++ b/docs/ibm_function_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,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. - - trigger_name (True, str, None) (Required for new resource) Name of trigger. @@ -47,6 +39,14 @@ Parameters (Required for new resource) Name of action. + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. + + + name (True, str, None) + (Required for new resource) Name of rule. + + 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 f6edc50c7..db3b2d92e 100644 --- a/docs/ibm_function_rule_info.rst +++ b/docs/ibm_function_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_trigger.rst b/docs/ibm_function_trigger.rst index 836308869..d06ed5f3c 100644 --- a/docs/ibm_function_trigger.rst +++ b/docs/ibm_function_trigger.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,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_parameters (False, str, []) Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. - user_defined_annotations (False, str, []) - Annotation values in KEY VALUE format. + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. feed (False, list, None) Trigger feed - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. - - - name (True, str, None) - (Required for new resource) Name of Trigger. + user_defined_annotations (False, str, []) + Annotation values in KEY VALUE format. id (False, str, None) diff --git a/docs/ibm_function_trigger_info.rst b/docs/ibm_function_trigger_info.rst index 83382f011..971ca86af 100644 --- a/docs/ibm_function_trigger_info.rst +++ b/docs/ibm_function_trigger_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_hardware_firewall_shared.rst b/docs/ibm_hardware_firewall_shared.rst index ea1ed8891..809811e8e 100644 --- a/docs/ibm_hardware_firewall_shared.rst +++ b/docs/ibm_hardware_firewall_shared.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_hpcs.rst b/docs/ibm_hpcs.rst index fe58aaa6e..a9a9fae37 100644 --- a/docs/ibm_hpcs.rst +++ b/docs/ibm_hpcs.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,56 +31,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. + name (True, str, None) + (Required for new resource) A name for the HPCS instance - revocation_threshold (True, int, None) - (Required for new resource) Revocation Threshold Value + tags (False, list, None) + None admins (True, list, None) (Required for new resource) Crypto Unit Administrators - location (True, str, None) - (Required for new resource) The location where the HPCS instance available - - units (True, int, None) (Required for new resource) The number of operational crypto units for your service instance - resource_group_id (False, str, None) - The resource group id + plan (True, str, None) + (Required for new resource) The plan type of the HPCS Instance - signature_server_url (False, str, None) - URL of signing service + service (False, str, hs-crypto) + The name of the service offering `hs-crypto` - name (True, str, None) - (Required for new resource) A name for the HPCS instance + signature_threshold (True, int, None) + (Required for new resource) Signature Threshold Value - tags (False, list, None) - None + revocation_threshold (True, int, None) + (Required for new resource) Revocation Threshold Value - plan (True, str, None) - (Required for new resource) The plan type of the HPCS Instance + resource_group_id (False, str, None) + The resource group id - service (False, str, hs-crypto) - The name of the service offering `hs-crypto` + signature_server_url (False, str, None) + URL of signing service + + + location (True, str, None) + (Required for new resource) The location where the HPCS instance available failover_units (False, int, None) The number of failover crypto units for your service instance - signature_threshold (True, int, None) - (Required for new resource) Signature Threshold Value + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are `public-and-private`, `private-only`. id (False, str, None) diff --git a/docs/ibm_hpcs_info.rst b/docs/ibm_hpcs_info.rst index d4d1d0097..ec694e745 100644 --- a/docs/ibm_hpcs_info.rst +++ b/docs/ibm_hpcs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + Resource instance name for example, myobjectstorage + + resource_group_id (False, str, None) The id of the resource group in which the instance is present @@ -41,10 +45,6 @@ Parameters The service type of the instance - name (True, str, None) - Resource instance name for example, myobjectstorage - - 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_hpcs_key_template.rst b/docs/ibm_hpcs_key_template.rst index 74733eb8c..a0edaacd6 100644 --- a/docs/ibm_hpcs_key_template.rst +++ b/docs/ibm_hpcs_key_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - uko_vault (True, str, None) - (Required for new resource) The UUID of the Vault in which the update is to take place. + name (True, str, None) + (Required for new resource) Name of the template, it will be referenced when creating managed keys. keystores (True, list, None) (Required for new resource) An array describing the type and group of target keystores the managed key is to be installed in. - description (False, str, None) - Description of the key template. - - - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - - - name (True, str, None) - (Required for new resource) Name of the template, it will be referenced when creating managed keys. - - instance_id (True, str, None) (Required for new resource) The ID of the UKO instance this resource exists in. @@ -59,10 +47,22 @@ Parameters (Required for new resource) ID of the Vault where the entity is to be created in. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + uko_vault (True, str, None) + (Required for new resource) The UUID of the Vault in which the update is to take place. + + key (True, list, None) (Required for new resource) Properties describing the properties of the managed key. + description (False, str, None) + Description of the key template. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_hpcs_key_template_info.rst b/docs/ibm_hpcs_key_template_info.rst index 9c17e90e1..4df52cf13 100644 --- a/docs/ibm_hpcs_key_template_info.rst +++ b/docs/ibm_hpcs_key_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - uko_vault (True, str, None) - The UUID of the Vault in which the update is to take place. - - instance_id (True, str, None) The ID of the UKO instance this resource exists in. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + template_id (True, str, None) UUID of the template. - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + uko_vault (True, str, None) + The UUID of the Vault in which the update is to take place. iaas_classic_username (False, any, None) diff --git a/docs/ibm_hpcs_keystore.rst b/docs/ibm_hpcs_keystore.rst index 29cc326d6..1b2b633e4 100644 --- a/docs/ibm_hpcs_keystore.rst +++ b/docs/ibm_hpcs_keystore.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ibm_key_ring (False, str, None) - The key ring of an IBM Cloud KMS Keystore. - - - description (False, str, None) - Description of the keystore. - - - groups (False, list, None) - List of groups that this keystore belongs to. - - - aws_secret_access_key (False, str, None) - The secret access key used for connecting to this instance of AWS KMS. - - - azure_tenant (False, str, None) - Azure tenant that the Key Vault is associated with,. - - - ibm_variant (False, str, None) - Possible IBM Cloud KMS variants. + instance_id (True, str, None) + (Required for new resource) The ID of the UKO instance this resource exists in. aws_region (False, str, None) @@ -63,72 +43,92 @@ Parameters (Required for new resource) Reference to a vault. - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + aws_access_key_id (False, str, None) + The access key id used for connecting to this instance of AWS KMS. - uko_vault (True, str, None) - (Required for new resource) The UUID of the Vault in which the update is to take place. + azure_environment (False, str, None) + Azure environment, usually 'Azure'. - azure_resource_group (False, str, None) - Resource group in Azure. + ibm_iam_endpoint (False, str, None) + Endpoint of the IAM service for this IBM Cloud keystore. - ibm_api_endpoint (False, str, None) - API endpoint of the IBM Cloud keystore. + groups (False, list, None) + List of groups that this keystore belongs to. - type (True, str, None) - (Required for new resource) Type of keystore. + ibm_variant (False, str, None) + Possible IBM Cloud KMS variants. - instance_id (True, str, None) - (Required for new resource) The ID of the UKO instance this resource exists in. + ibm_api_endpoint (False, str, None) + API endpoint of the IBM Cloud keystore. azure_location (False, str, None) Location of the Azure Key Vault. + azure_tenant (False, str, None) + Azure tenant that the Key Vault is associated with,. + + azure_subscription_id (False, str, None) Subscription ID in Azure. - azure_environment (False, str, None) - Azure environment, usually 'Azure'. + ibm_instance_id (False, str, None) + The instance ID of the IBM Cloud keystore. - ibm_iam_endpoint (False, str, None) - Endpoint of the IAM service for this IBM Cloud keystore. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - ibm_api_key (False, str, None) - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. + azure_resource_group (False, str, None) + Resource group in Azure. + + + azure_service_principal_password (False, str, None) + Azure service principal password. name (False, str, None) Name of the target keystore. It can be changed in the future. + ibm_key_ring (False, str, None) + The key ring of an IBM Cloud KMS Keystore. + + + aws_secret_access_key (False, str, None) + The secret access key used for connecting to this instance of AWS KMS. + + azure_service_name (False, str, None) Service name of the key vault instance from the Azure portal. - ibm_instance_id (False, str, None) - The instance ID of the IBM Cloud keystore. + type (True, str, None) + (Required for new resource) Type of keystore. azure_service_principal_client_id (False, str, None) Azure service principal client ID. - aws_access_key_id (False, str, None) - The access key id used for connecting to this instance of AWS KMS. + ibm_api_key (False, str, None) + The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. - azure_service_principal_password (False, str, None) - Azure service principal password. + uko_vault (True, str, None) + (Required for new resource) The UUID of the Vault in which the update is to take place. + + + description (False, str, None) + Description of the keystore. id (False, str, None) diff --git a/docs/ibm_hpcs_keystore_info.rst b/docs/ibm_hpcs_keystore_info.rst index b730176bc..de8cfc3bf 100644 --- a/docs/ibm_hpcs_keystore_info.rst +++ b/docs/ibm_hpcs_keystore_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,6 +33,10 @@ Parameters The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + keystore_id (True, str, None) + UUID of the keystore. + + instance_id (True, str, None) The ID of the UKO instance this resource exists in. @@ -41,10 +45,6 @@ Parameters The UUID of the Vault in which the update is to take place. - keystore_id (True, str, None) - UUID of the keystore. - - 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_hpcs_managed_key.rst b/docs/ibm_hpcs_managed_key.rst index 4638ee08e..c6347c722 100644 --- a/docs/ibm_hpcs_managed_key.rst +++ b/docs/ibm_hpcs_managed_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,42 +31,42 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - state_ (False, str, None) - The state of the key. + tags (False, list, None) + Key-value pairs associated with the key. uko_vault (True, str, None) (Required for new resource) The UUID of the Vault in which the update is to take place. - instance_id (True, str, None) - (Required for new resource) The ID of the UKO instance this resource exists in. + label (True, str, None) + (Required for new resource) The label of the key. template_name (False, str, None) Name of the key template to use when creating a key. - vault (True, list, None) - (Required for new resource) ID of the Vault where the entity is to be created in. - - - tags (False, list, None) - Key-value pairs associated with the key. + state_ (False, str, None) + The state of the key. region (False, any, us-south) The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - label (True, str, None) - (Required for new resource) The label of the key. - - description (False, str, None) Description of the managed key. + instance_id (True, str, None) + (Required for new resource) The ID of the UKO instance this resource exists in. + + + vault (True, list, None) + (Required for new resource) ID of the Vault where the entity is to be created in. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_hpcs_managed_key_info.rst b/docs/ibm_hpcs_managed_key_info.rst index f80dc01c9..7cdf5b229 100644 --- a/docs/ibm_hpcs_managed_key_info.rst +++ b/docs/ibm_hpcs_managed_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - The ID of the UKO instance this resource exists in. + key_id (True, str, None) + UUID of the key. - uko_vault (True, str, None) - The UUID of the Vault in which the update is to take place. + instance_id (True, str, None) + The ID of the UKO instance this resource exists in. region (False, any, us-south) The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - key_id (True, str, None) - UUID of the key. + uko_vault (True, str, None) + The UUID of the Vault in which the update is to take place. iaas_classic_username (False, any, None) diff --git a/docs/ibm_hpcs_vault.rst b/docs/ibm_hpcs_vault.rst index f9a44a381..30e3ac9e5 100644 --- a/docs/ibm_hpcs_vault.rst +++ b/docs/ibm_hpcs_vault.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_hpcs_vault_info.rst b/docs/ibm_hpcs_vault_info.rst index 547b4b963..99df25910 100644 --- a/docs/ibm_hpcs_vault_info.rst +++ b/docs/ibm_hpcs_vault_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The ID of the UKO instance this resource exists in. - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - - vault_id (True, str, None) UUID of the vault. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + 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_iam_access_group.rst b/docs/ibm_iam_access_group.rst index 68f5a1b32..52453c848 100644 --- a/docs/ibm_iam_access_group.rst +++ b/docs/ibm_iam_access_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_account_settings.rst b/docs/ibm_iam_access_group_account_settings.rst index 270851cac..3a2417bc7 100644 --- a/docs/ibm_iam_access_group_account_settings.rst +++ b/docs/ibm_iam_access_group_account_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.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 aefeac2c4..e8a22a896 100644 --- a/docs/ibm_iam_access_group_dynamic_rule.rst +++ b/docs/ibm_iam_access_group_dynamic_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + conditions (True, list, None) + (Required for new resource) conditions info + + access_group_id (True, str, None) (Required for new resource) Unique identifier of the access group @@ -47,10 +51,6 @@ Parameters (Required for new resource) The realm name or identity proivider url - conditions (True, list, None) - (Required for new resource) conditions info - - 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 ceb2a5ef3..e53a6dcdc 100644 --- a/docs/ibm_iam_access_group_info.rst +++ b/docs/ibm_iam_access_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_members.rst b/docs/ibm_iam_access_group_members.rst index 5d23945fc..dd8e17c29 100644 --- a/docs/ibm_iam_access_group_members.rst +++ b/docs/ibm_iam_access_group_members.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_policy.rst b/docs/ibm_iam_access_group_policy.rst index bafcf997a..08dc9d39d 100644 --- a/docs/ibm_iam_access_group_policy.rst +++ b/docs/ibm_iam_access_group_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ 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 + account_management (False, bool, False) + Give access to all account management services - resources (False, list, None) - None + resource_tags (False, list, None) + Set access management tags. - tags (False, list, None) - None + description (False, str, None) + Description of the Policy - resource_tags (False, list, None) - Set access management tags. + transaction_id (False, str, None) + Set transactionID for debug - roles (True, list, None) - (Required for new resource) Role names of the policy definition + access_group_id (True, str, None) + (Required for new resource) ID of access group resource_attributes (False, list, None) Set resource attributes. - account_management (False, bool, False) - Give access to all account management services + tags (False, list, None) + None - description (False, str, None) - Description of the Policy + roles (True, list, None) + (Required for new resource) Role names of the policy definition - transaction_id (False, str, None) - Set transactionID for debug + resources (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_iam_access_group_policy_info.rst b/docs/ibm_iam_access_group_policy_info.rst index 2c90d150c..269858d49 100644 --- a/docs/ibm_iam_access_group_policy_info.rst +++ b/docs/ibm_iam_access_group_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_account_settings_info.rst b/docs/ibm_iam_account_settings_info.rst index abbdd2211..07690bbef 100644 --- a/docs/ibm_iam_account_settings_info.rst +++ b/docs/ibm_iam_account_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_api_key.rst b/docs/ibm_iam_api_key.rst index e5e2292d6..74cbda87b 100644 --- a/docs/ibm_iam_api_key.rst +++ b/docs/ibm_iam_api_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - store_value (False, bool, None) - Send true or false to set whether the API key value is retrievable in the future by using the Get details of an API key request. If you create an API key for a user, you must specify `false` or omit the value. We don't allow storing of API keys for users. + apikey (False, str, None) + You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. - description (False, str, None) - The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. + store_value (False, bool, None) + Send true or false to set whether the API key value is retrievable in the future by using the Get details of an API key request. If you create an API key for a user, you must specify `false` or omit the value. We don't allow storing of API keys for users. name (True, str, None) (Required for new resource) Name of the API key. The name is not checked for uniqueness. Therefore multiple names with the same value can exist. Access is done via the UUID of the API key. - apikey (False, str, None) - You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. - - file (False, str, None) File where api key is to be stored + description (False, str, None) + The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. + + entity_lock (False, str, False) Indicates if the API key is locked for further write operations. False by default. diff --git a/docs/ibm_iam_api_key_info.rst b/docs/ibm_iam_api_key_info.rst index eb47e0813..ce4d59f45 100644 --- a/docs/ibm_iam_api_key_info.rst +++ b/docs/ibm_iam_api_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_auth_token_info.rst b/docs/ibm_iam_auth_token_info.rst index 0484b8bec..a7516c373 100644 --- a/docs/ibm_iam_auth_token_info.rst +++ b/docs/ibm_iam_auth_token_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policies_info.rst b/docs/ibm_iam_authorization_policies_info.rst index ccf52e51d..a863ec668 100644 --- a/docs/ibm_iam_authorization_policies_info.rst +++ b/docs/ibm_iam_authorization_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policy.rst b/docs/ibm_iam_authorization_policy.rst index 89e8f9d48..8f5967ce2 100644 --- a/docs/ibm_iam_authorization_policy.rst +++ b/docs/ibm_iam_authorization_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,60 +31,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - source_resource_group_id (False, str, None) - The source resource group Id - - - target_resource_group_id (False, str, None) - The target resource group Id + source_service_name (False, str, None) + The source service name - source_service_account (False, str, None) - Account GUID of source service + source_resource_type (False, str, None) + Resource type of source service - description (False, str, None) - Description of the Policy + resource_attributes (False, list, None) + Set resource attributes. roles (True, list, None) (Required for new resource) Role names of the policy definition - source_resource_type (False, str, None) - Resource type of source service + source_resource_group_id (False, str, None) + The source resource group Id - resource_attributes (False, list, None) - Set resource attributes. + target_resource_group_id (False, str, None) + The target resource group Id - target_service_name (False, str, None) - The target service name + source_service_account (False, str, None) + Account GUID of source service - source_resource_instance_id (False, str, None) - The source resource instance Id + subject_attributes (False, list, None) + Set subject attributes. - target_resource_type (False, str, None) - Resource type of target service + description (False, str, None) + Description of the Policy - subject_attributes (False, list, None) - Set subject attributes. + transaction_id (False, str, None) + Set transactionID for debug - source_service_name (False, str, None) - The source service name + source_resource_instance_id (False, str, None) + The source resource instance Id target_resource_instance_id (False, str, None) The target resource instance Id - transaction_id (False, str, None) - Set transactionID for debug + target_service_name (False, str, None) + The target service name + + + target_resource_type (False, str, None) + Resource type of target service id (False, str, None) diff --git a/docs/ibm_iam_authorization_policy_detach.rst b/docs/ibm_iam_authorization_policy_detach.rst index 3fac8d72b..bd0723c04 100644 --- a/docs/ibm_iam_authorization_policy_detach.rst +++ b/docs/ibm_iam_authorization_policy_detach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_custom_role.rst b/docs/ibm_iam_custom_role.rst index 7aa3ab51c..f449e7ce5 100644 --- a/docs/ibm_iam_custom_role.rst +++ b/docs/ibm_iam_custom_role.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ 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 + + + actions (True, list, None) + (Required for new resource) The actions of the role + + name (True, str, None) (Required for new resource) The name of the custom Role @@ -43,14 +51,6 @@ Parameters (Required for new resource) The Service Name - display_name (True, str, None) - (Required for new resource) Display Name of the Custom Role - - - actions (True, list, None) - (Required for new resource) The actions of the role - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_role_actions_info.rst b/docs/ibm_iam_role_actions_info.rst index 5fc5b5008..ce9f28af8 100644 --- a/docs/ibm_iam_role_actions_info.rst +++ b/docs/ibm_iam_role_actions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_roles_info.rst b/docs/ibm_iam_roles_info.rst index cd8194387..19f11e40e 100644 --- a/docs/ibm_iam_roles_info.rst +++ b/docs/ibm_iam_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_api_key.rst b/docs/ibm_iam_service_api_key.rst index 0005fbb5f..62c470091 100644 --- a/docs/ibm_iam_service_api_key.rst +++ b/docs/ibm_iam_service_api_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of the Service API key - - - 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 + + description (False, str, None) description of the API key + apikey (False, str, None) + API key value for this API key + + iam_service_id (True, str, None) (Required for new resource) The service iam_id that this API key authenticates - apikey (False, str, None) - API key value for this API key + 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 id (False, str, None) diff --git a/docs/ibm_iam_service_id.rst b/docs/ibm_iam_service_id.rst index cb8167815..c0838094a 100644 --- a/docs/ibm_iam_service_id.rst +++ b/docs/ibm_iam_service_id.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_id_info.rst b/docs/ibm_iam_service_id_info.rst index 774b629fb..402c25e81 100644 --- a/docs/ibm_iam_service_id_info.rst +++ b/docs/ibm_iam_service_id_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_policy.rst b/docs/ibm_iam_service_policy.rst index f4b31c596..246fe6248 100644 --- a/docs/ibm_iam_service_policy.rst +++ b/docs/ibm_iam_service_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_tags (False, list, None) - Set access management tags. + roles (True, list, None) + (Required for new resource) Role names of the policy definition - transaction_id (False, str, None) - Set transactionID for debug + resource_attributes (False, list, None) + Set resource attributes. - iam_service_id (False, str, None) - UUID of ServiceID + account_management (False, bool, False) + Give access to all account management services - resources (False, list, None) - None + description (False, str, None) + Description of the Policy - resource_attributes (False, list, None) - Set resource attributes. + iam_service_id (False, str, None) + UUID of ServiceID - account_management (False, bool, False) - Give access to all account management services + iam_id (False, str, None) + IAM ID of ServiceID - tags (False, list, None) + resources (False, list, None) None - description (False, str, None) - Description of the Policy + tags (False, list, None) + None - iam_id (False, str, None) - IAM ID of ServiceID + resource_tags (False, list, None) + Set access management tags. - roles (True, list, None) - (Required for new resource) Role names of the policy definition + transaction_id (False, str, None) + Set transactionID for debug id (False, str, None) diff --git a/docs/ibm_iam_service_policy_info.rst b/docs/ibm_iam_service_policy_info.rst index fd026af71..14357973b 100644 --- a/docs/ibm_iam_service_policy_info.rst +++ b/docs/ibm_iam_service_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile.rst b/docs/ibm_iam_trusted_profile.rst index bed3eb9d6..312354662 100644 --- a/docs/ibm_iam_trusted_profile.rst +++ b/docs/ibm_iam_trusted_profile.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account. - - description (False, str, None) The optional description of the trusted profile. The 'description' property is only available if a description was provided during creation of trusted profile. + name (True, str, None) + (Required for new resource) Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_trusted_profile_claim_rule.rst b/docs/ibm_iam_trusted_profile_claim_rule.rst index 25e25be31..3e7a9e05d 100644 --- a/docs/ibm_iam_trusted_profile_claim_rule.rst +++ b/docs/ibm_iam_trusted_profile_claim_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + profile_id (True, str, None) + (Required for new resource) ID of the trusted profile to create a claim rule. + + + type (True, str, None) + (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. + + conditions (True, list, None) (Required for new resource) Conditions of this claim rule. @@ -43,14 +51,6 @@ Parameters The realm name of the Idp this claim rule applies to. This field is required only if the type is specified as 'Profile-SAML'. - profile_id (True, str, None) - (Required for new resource) ID of the trusted profile to create a claim rule. - - - type (True, str, None) - (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. - - cr_type (False, str, None) The compute resource type the rule applies to, required only if type is specified as 'Profile-CR'. Valid values are VSI, IKS_SA, ROKS_SA. diff --git a/docs/ibm_iam_trusted_profile_claim_rule_info.rst b/docs/ibm_iam_trusted_profile_claim_rule_info.rst index 2561f12f3..e0ddf3bb7 100644 --- a/docs/ibm_iam_trusted_profile_claim_rule_info.rst +++ b/docs/ibm_iam_trusted_profile_claim_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_claim_rules_info.rst b/docs/ibm_iam_trusted_profile_claim_rules_info.rst index 22d2e12f7..8472af8b8 100644 --- a/docs/ibm_iam_trusted_profile_claim_rules_info.rst +++ b/docs/ibm_iam_trusted_profile_claim_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_info.rst b/docs/ibm_iam_trusted_profile_info.rst index a0fa29382..49c0a500b 100644 --- a/docs/ibm_iam_trusted_profile_info.rst +++ b/docs/ibm_iam_trusted_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_link.rst b/docs/ibm_iam_trusted_profile_link.rst index 6c335ba17..8b8e0fa65 100644 --- a/docs/ibm_iam_trusted_profile_link.rst +++ b/docs/ibm_iam_trusted_profile_link.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_link_info.rst b/docs/ibm_iam_trusted_profile_link_info.rst index 51dff9d59..2442ecb38 100644 --- a/docs/ibm_iam_trusted_profile_link_info.rst +++ b/docs/ibm_iam_trusted_profile_link_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_links_info.rst b/docs/ibm_iam_trusted_profile_links_info.rst index 37ce7af01..7fa6c512e 100644 --- a/docs/ibm_iam_trusted_profile_links_info.rst +++ b/docs/ibm_iam_trusted_profile_links_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_policy.rst b/docs/ibm_iam_trusted_profile_policy.rst index e481c355e..654a319f0 100644 --- a/docs/ibm_iam_trusted_profile_policy.rst +++ b/docs/ibm_iam_trusted_profile_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - - resource_tags (False, list, None) - Set access management tags. - - description (False, str, None) Description of the Policy + transaction_id (False, str, None) + Set transactionID for debug + + profile_id (False, str, None) UUID of Trusted Profile - roles (True, list, None) - (Required for new resource) Role names of the policy definition + resources (False, list, None) + None resource_attributes (False, list, None) Set resource attributes. - transaction_id (False, str, None) - Set transactionID for debug + tags (False, list, None) + None + + + resource_tags (False, list, None) + Set access management tags. iam_id (False, str, None) IAM ID of Trusted Profile - resources (False, list, None) - None + roles (True, list, None) + (Required for new resource) Role names of the policy definition account_management (False, bool, False) diff --git a/docs/ibm_iam_trusted_profile_policy_info.rst b/docs/ibm_iam_trusted_profile_policy_info.rst index 1430e3361..8e9102671 100644 --- a/docs/ibm_iam_trusted_profile_policy_info.rst +++ b/docs/ibm_iam_trusted_profile_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profiles_info.rst b/docs/ibm_iam_trusted_profiles_info.rst index dc5813799..0e3be6588 100644 --- a/docs/ibm_iam_trusted_profiles_info.rst +++ b/docs/ibm_iam_trusted_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_invite.rst b/docs/ibm_iam_user_invite.rst index 2879a5dd8..c9ae36ea7 100644 --- a/docs/ibm_iam_user_invite.rst +++ b/docs/ibm_iam_user_invite.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + classic_infra_roles (False, list, None) + None + + + cloud_foundry_roles (False, list, None) + None + + users (True, list, None) (Required for new resource) List of ibm id or email of user @@ -43,14 +51,6 @@ Parameters None - classic_infra_roles (False, list, None) - None - - - cloud_foundry_roles (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 10aaaaa8c..ce064aff4 100644 --- a/docs/ibm_iam_user_policy.rst +++ b/docs/ibm_iam_user_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_attributes (False, list, None) + Set resource attributes. + + tags (False, list, None) None - description (False, str, None) - Description of the Policy + resource_tags (False, list, None) + Set access management tags. - transaction_id (False, str, None) - Set transactionID for debug + description (False, str, None) + Description of the Policy ibm_id (True, str, None) @@ -55,16 +59,12 @@ Parameters None - resource_attributes (False, list, None) - Set resource attributes. - - account_management (False, bool, False) Give access to all account management services - resource_tags (False, list, None) - Set access management tags. + transaction_id (False, str, None) + Set transactionID for debug id (False, str, None) diff --git a/docs/ibm_iam_user_policy_info.rst b/docs/ibm_iam_user_policy_info.rst index 1e9cb13fc..04a4efe3a 100644 --- a/docs/ibm_iam_user_policy_info.rst +++ b/docs/ibm_iam_user_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_profile_info.rst b/docs/ibm_iam_user_profile_info.rst index 4d9ae712c..4b6c946ad 100644 --- a/docs/ibm_iam_user_profile_info.rst +++ b/docs/ibm_iam_user_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_settings.rst b/docs/ibm_iam_user_settings.rst index bdf1cb548..bc0555453 100644 --- a/docs/ibm_iam_user_settings.rst +++ b/docs/ibm_iam_user_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - iam_id (True, str, None) - (Required for new resource) User's IAM ID or or email of user - - allowed_ip_addresses (False, list, None) List of allowed IPv4 or IPv6 addresses + iam_id (True, str, None) + (Required for new resource) User's IAM ID or or email of user + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_users_info.rst b/docs/ibm_iam_users_info.rst index 225520c48..047c05377 100644 --- a/docs/ibm_iam_users_info.rst +++ b/docs/ibm_iam_users_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_ipsec_vpn.rst b/docs/ibm_ipsec_vpn.rst index e59482eee..379e6b272 100644 --- a/docs/ibm_ipsec_vpn.rst +++ b/docs/ibm_ipsec_vpn.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - address_translation (False, list, None) - None + datacenter (True, str, None) + (Required for new resource) Datacenter name - preshared_key (False, str, None) - Preshared Key data + customer_peer_ip (False, str, None) + Customer Peer IP Address - service_subnet_id (False, int, None) - Service subnet ID value + internal_subnet_id (False, int, None) + Internal subnet ID value - datacenter (True, str, None) - (Required for new resource) Datacenter name + remote_subnet_id (False, int, None) + Remote subnet ID value - phase_one (False, list, None) + remote_subnet (False, list, None) None - phase_two (False, list, None) + phase_one (False, list, None) None - remote_subnet (False, list, None) + phase_two (False, list, None) None - customer_peer_ip (False, str, None) - Customer Peer IP Address + address_translation (False, list, None) + None - internal_subnet_id (False, int, None) - Internal subnet ID value + preshared_key (False, str, None) + Preshared Key data - remote_subnet_id (False, int, None) - Remote subnet ID value + service_subnet_id (False, int, None) + Service subnet ID value id (False, str, None) diff --git a/docs/ibm_is_backup_policies_info.rst b/docs/ibm_is_backup_policies_info.rst index 842bef99f..4b4608bc6 100644 --- a/docs/ibm_is_backup_policies_info.rst +++ b/docs/ibm_is_backup_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_group (False, str, None) + Filters the collection to resources in the resource group with the specified identifier + + name (False, str, None) Filters the collection to resources with the exact specified name @@ -37,10 +41,6 @@ Parameters Filters the collection to resources with the exact tag value - resource_group (False, str, None) - Filters the collection to resources in the resource group with the specified 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_backup_policy.rst b/docs/ibm_is_backup_policy.rst index 212c40ae6..f09a0e0df 100644 --- a/docs/ibm_is_backup_policy.rst +++ b/docs/ibm_is_backup_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_backup_policy_info.rst b/docs/ibm_is_backup_policy_info.rst index 966ce479c..8b7b0cd7b 100644 --- a/docs/ibm_is_backup_policy_info.rst +++ b/docs/ibm_is_backup_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) - The backup policy identifier. - - name (False, str, None) The unique user-defined name for this backup policy. + identifier (False, str, None) + The backup policy 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_backup_policy_plan.rst b/docs/ibm_is_backup_policy_plan.rst index a5cb0ca25..70e94ee4a 100644 --- a/docs/ibm_is_backup_policy_plan.rst +++ b/docs/ibm_is_backup_policy_plan.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,26 +35,26 @@ Parameters (Required for new resource) The backup policy identifier. - attach_user_tags (False, list, None) - User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. - - - copy_user_tags (False, bool, True) - Indicates whether to copy the source's user tags to the created backups (snapshots). + cron_spec (True, str, None) + (Required for new resource) The cron specification for the backup schedule. name (False, str, None) The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. - cron_spec (True, str, None) - (Required for new resource) The cron specification for the backup schedule. - - active (False, bool, None) Indicates whether the plan is active. + attach_user_tags (False, list, None) + User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. + + + copy_user_tags (False, bool, True) + Indicates whether to copy the source's user tags to the created backups (snapshots). + + deletion_trigger (False, list, None) None diff --git a/docs/ibm_is_backup_policy_plan_info.rst b/docs/ibm_is_backup_policy_plan_info.rst index 25c70d223..c8307ae69 100644 --- a/docs/ibm_is_backup_policy_plan_info.rst +++ b/docs/ibm_is_backup_policy_plan_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The backup policy identifier. - identifier (False, str, None) - The backup policy plan identifier. - - name (False, str, None) The unique user-defined name for this backup policy plan. + identifier (False, str, None) + The backup policy plan 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_backup_policy_plans_info.rst b/docs/ibm_is_backup_policy_plans_info.rst index f11d53365..f0d642d6a 100644 --- a/docs/ibm_is_backup_policy_plans_info.rst +++ b/docs/ibm_is_backup_policy_plans_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server.rst b/docs/ibm_is_bare_metal_server.rst index 9e29dd012..c24768cb1 100644 --- a/docs/ibm_is_bare_metal_server.rst +++ b/docs/ibm_is_bare_metal_server.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - keys (True, list, None) - (Required for new resource) SSH key Ids for the bare metal server + delete_type (False, str, hard) + Enables stopping type of the bare metal server before deleting - name (False, str, None) - Bare metal server name + user_data (False, str, None) + User data given for the bare metal server + + + resource_group (False, str, None) + Resource group name primary_network_interface (True, list, None) (Required for new resource) Primary Network interface info + tags (False, list, None) + Tags for the Bare metal server + + + name (False, str, None) + Bare metal server name + + profile (True, str, None) (Required for new resource) profile name @@ -51,38 +63,26 @@ Parameters The VPC the bare metal server is to be a part of - delete_type (False, str, hard) - Enables stopping type of the bare metal server before deleting + zone (True, str, None) + (Required for new resource) Zone name + + + action (False, str, None) + This restart/start/stops a bare metal server. network_interfaces (False, list, None) None - tags (False, list, None) - Tags for the Bare metal server + keys (True, list, None) + (Required for new resource) SSH key Ids for the bare metal server image (True, str, None) (Required for new resource) image id - user_data (False, str, None) - User data given for the bare metal server - - - zone (True, str, None) - (Required for new resource) Zone name - - - resource_group (False, str, None) - Resource group name - - - action (False, str, None) - This restart/start/stops a bare metal server. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_bare_metal_server_action.rst b/docs/ibm_is_bare_metal_server_action.rst index 0aea0df3f..5d18f7ac5 100644 --- a/docs/ibm_is_bare_metal_server_action.rst +++ b/docs/ibm_is_bare_metal_server_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_disk.rst b/docs/ibm_is_bare_metal_server_disk.rst index d9ff0e191..453f0e04e 100644 --- a/docs/ibm_is_bare_metal_server_disk.rst +++ b/docs/ibm_is_bare_metal_server_disk.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_disk_info.rst b/docs/ibm_is_bare_metal_server_disk_info.rst index 69055ba1d..e537320ad 100644 --- a/docs/ibm_is_bare_metal_server_disk_info.rst +++ b/docs/ibm_is_bare_metal_server_disk_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_disks_info.rst b/docs/ibm_is_bare_metal_server_disks_info.rst index 15d9d85f8..8e01f4088 100644 --- a/docs/ibm_is_bare_metal_server_disks_info.rst +++ b/docs/ibm_is_bare_metal_server_disks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_info.rst b/docs/ibm_is_bare_metal_server_info.rst index a2ed076a6..4f219f1f8 100644 --- a/docs/ibm_is_bare_metal_server_info.rst +++ b/docs/ibm_is_bare_metal_server_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Bare metal server name - - identifier (False, str, None) None + name (False, str, None) + Bare metal server 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_bare_metal_server_initialization_info.rst b/docs/ibm_is_bare_metal_server_initialization_info.rst index e785f34ab..5b6a5fd7d 100644 --- a/docs/ibm_is_bare_metal_server_initialization_info.rst +++ b/docs/ibm_is_bare_metal_server_initialization_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst b/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst index a0f9986e9..1209edc97 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) The floating ip identifier of the network interface associated with the bare metal server - bare_metal_server (True, str, None) - (Required for new resource) Bare metal server identifier - - network_interface (True, str, None) (Required for new resource) Bare metal server network interface identifier + bare_metal_server (True, str, None) + (Required for new resource) Bare metal server identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst b/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst index 99577b6b8..92c4b317c 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_interface (True, str, None) - The network interface identifier of bare metal server - - bare_metal_server (True, str, None) The bare metal server identifier + network_interface (True, str, None) + The network interface identifier of bare metal server + + floating_ip (True, str, None) The floating ip identifier of the network interface associated with the bare metal server diff --git a/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst b/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst index e1edc3d1e..177349cfa 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_info.rst b/docs/ibm_is_bare_metal_server_network_interface_info.rst index 92ec63314..4d052ef62 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_interface (True, str, None) - The bare metal server network interface identifier - - bare_metal_server (True, str, None) The bare metal server identifier + network_interface (True, str, None) + The bare metal server network interface 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_bare_metal_server_network_interface_reserved_ip_info.rst b/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst index e58fc5cfd..930fcacd6 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst b/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst index 4db26bb15..f71a66b99 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interfaces_info.rst b/docs/ibm_is_bare_metal_server_network_interfaces_info.rst index 522577557..b5b0c8f54 100644 --- a/docs/ibm_is_bare_metal_server_network_interfaces_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interfaces_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_profile_info.rst b/docs/ibm_is_bare_metal_server_profile_info.rst index 6f4d65cdb..b5376f912 100644 --- a/docs/ibm_is_bare_metal_server_profile_info.rst +++ b/docs/ibm_is_bare_metal_server_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_profiles_info.rst b/docs/ibm_is_bare_metal_server_profiles_info.rst index 19b136240..de9e6458d 100644 --- a/docs/ibm_is_bare_metal_server_profiles_info.rst +++ b/docs/ibm_is_bare_metal_server_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_servers_info.rst b/docs/ibm_is_bare_metal_servers_info.rst index 8717734fb..7706c4ad2 100644 --- a/docs/ibm_is_bare_metal_servers_info.rst +++ b/docs/ibm_is_bare_metal_servers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host.rst b/docs/ibm_is_dedicated_host.rst index 6328e1117..438b6b3dc 100644 --- a/docs/ibm_is_dedicated_host.rst +++ b/docs/ibm_is_dedicated_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. + host_group (True, str, None) + (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. resource_group (False, str, None) The unique identifier for the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - profile (True, str, None) - (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. + name (False, str, None) + The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. - host_group (True, str, None) - (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. + profile (True, str, None) + (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. instance_placement_enabled (False, bool, True) diff --git a/docs/ibm_is_dedicated_host_disk_info.rst b/docs/ibm_is_dedicated_host_disk_info.rst index 1fc18c9ae..ff7593fa3 100644 --- a/docs/ibm_is_dedicated_host_disk_info.rst +++ b/docs/ibm_is_dedicated_host_disk_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_disk_management.rst b/docs/ibm_is_dedicated_host_disk_management.rst index ab8541176..d4043eee7 100644 --- a/docs/ibm_is_dedicated_host_disk_management.rst +++ b/docs/ibm_is_dedicated_host_disk_management.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_disks_info.rst b/docs/ibm_is_dedicated_host_disks_info.rst index 0dfba26b3..ead96ca68 100644 --- a/docs/ibm_is_dedicated_host_disks_info.rst +++ b/docs/ibm_is_dedicated_host_disks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_group.rst b/docs/ibm_is_dedicated_host_group.rst index db7eabb3e..0b67a3d47 100644 --- a/docs/ibm_is_dedicated_host_group.rst +++ b/docs/ibm_is_dedicated_host_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. + family (True, str, None) + (Required for new resource) The dedicated host profile family for hosts in this group. name (False, str, None) The unique user-defined name for this dedicated host group. If unspecified, the name will be a hyphenated list of randomly-selected words. - resource_group (False, str, None) - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + zone (True, str, None) + (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. class_ (True, str, None) (Required for new resource) The dedicated host profile class for hosts in this group. - family (True, str, None) - (Required for new resource) The dedicated host profile family for hosts in this group. + resource_group (False, str, None) + The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. id (False, str, None) diff --git a/docs/ibm_is_dedicated_host_group_info.rst b/docs/ibm_is_dedicated_host_group_info.rst index 742d04016..c1f43b97f 100644 --- a/docs/ibm_is_dedicated_host_group_info.rst +++ b/docs/ibm_is_dedicated_host_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_groups_info.rst b/docs/ibm_is_dedicated_host_groups_info.rst index 185328ca9..ffd099168 100644 --- a/docs/ibm_is_dedicated_host_groups_info.rst +++ b/docs/ibm_is_dedicated_host_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_info.rst b/docs/ibm_is_dedicated_host_info.rst index 6bd5cc072..cb25e5d0a 100644 --- a/docs/ibm_is_dedicated_host_info.rst +++ b/docs/ibm_is_dedicated_host_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The unique name of this dedicated host - resource_group (False, str, None) - The unique identifier of the resource group this dedicated host belongs to - - host_group (True, str, None) The unique identifier of the dedicated host group this dedicated host belongs to + resource_group (False, str, None) + The unique identifier of the resource group this dedicated host belongs to + + 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_dedicated_host_profile_info.rst b/docs/ibm_is_dedicated_host_profile_info.rst index 1653a1b6f..7fafd0d2d 100644 --- a/docs/ibm_is_dedicated_host_profile_info.rst +++ b/docs/ibm_is_dedicated_host_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_profiles_info.rst b/docs/ibm_is_dedicated_host_profiles_info.rst index 25ea8ea4f..e485c8e22 100644 --- a/docs/ibm_is_dedicated_host_profiles_info.rst +++ b/docs/ibm_is_dedicated_host_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_hosts_info.rst b/docs/ibm_is_dedicated_hosts_info.rst index 6ebbc912c..46903d7c6 100644 --- a/docs/ibm_is_dedicated_hosts_info.rst +++ b/docs/ibm_is_dedicated_hosts_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_endpoint_gateway_targets_info.rst b/docs/ibm_is_endpoint_gateway_targets_info.rst index 6724bdcdd..6832248ae 100644 --- a/docs/ibm_is_endpoint_gateway_targets_info.rst +++ b/docs/ibm_is_endpoint_gateway_targets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ip.rst b/docs/ibm_is_floating_ip.rst index 44b66f98f..4d81595fc 100644 --- a/docs/ibm_is_floating_ip.rst +++ b/docs/ibm_is_floating_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of the floating IP - - target (False, str, None) Target info @@ -43,14 +39,18 @@ Parameters Resource group info - zone (False, str, None) - Zone name - - tags (False, list, None) Floating IP tags + name (True, str, None) + (Required for new resource) Name of the floating IP + + + zone (False, str, None) + Zone name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_floating_ip_info.rst b/docs/ibm_is_floating_ip_info.rst index ed2b8f667..cc3a2d3c5 100644 --- a/docs/ibm_is_floating_ip_info.rst +++ b/docs/ibm_is_floating_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ips_info.rst b/docs/ibm_is_floating_ips_info.rst index 1c8c4b629..d7cffad5b 100644 --- a/docs/ibm_is_floating_ips_info.rst +++ b/docs/ibm_is_floating_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_flow_log.rst b/docs/ibm_is_flow_log.rst index 3331c50e0..745f51cb1 100644 --- a/docs/ibm_is_flow_log.rst +++ b/docs/ibm_is_flow_log.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Flow Log Collector name + resource_group (False, str, None) + The resource group of flow log - storage_bucket (True, str, None) - (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged + active (False, bool, True) + Indicates whether this collector is active - 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 - active (False, bool, True) - 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 + storage_bucket (True, str, None) + (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged id (False, str, None) diff --git a/docs/ibm_is_flow_log_info.rst b/docs/ibm_is_flow_log_info.rst index ab06a1c34..3613b7ba5 100644 --- a/docs/ibm_is_flow_log_info.rst +++ b/docs/ibm_is_flow_log_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) - The flow log collector identifier. - - name (False, str, None) The unique user-defined name for this flow log collector. + identifier (False, str, None) + The flow log collector 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_flow_logs_info.rst b/docs/ibm_is_flow_logs_info.rst index 159fcdfd1..33b8bbf00 100644 --- a/docs/ibm_is_flow_logs_info.rst +++ b/docs/ibm_is_flow_logs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ike_policies_info.rst b/docs/ibm_is_ike_policies_info.rst index 3a92de598..c87e94a4f 100644 --- a/docs/ibm_is_ike_policies_info.rst +++ b/docs/ibm_is_ike_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ike_policy.rst b/docs/ibm_is_ike_policy.rst index d33b61c8e..00b60f5fa 100644 --- a/docs/ibm_is_ike_policy.rst +++ b/docs/ibm_is_ike_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - encryption_algorithm (True, str, None) - (Required for new resource) Encryption alogorithm type + name (True, str, None) + (Required for new resource) IKE name - resource_group (False, str, None) - IKE resource group ID + authentication_algorithm (True, str, None) + (Required for new resource) Authentication algorithm type - key_lifetime (False, int, 28800) - IKE Key lifetime + dh_group (True, int, None) + (Required for new resource) IKE DH group - ike_version (False, int, None) - IKE version + key_lifetime (False, int, 28800) + IKE Key lifetime - name (True, str, None) - (Required for new resource) IKE name + encryption_algorithm (True, str, None) + (Required for new resource) Encryption alogorithm type - authentication_algorithm (True, str, None) - (Required for new resource) Authentication algorithm type + resource_group (False, str, None) + IKE resource group ID - dh_group (True, int, None) - (Required for new resource) IKE DH group + ike_version (False, int, None) + IKE version id (False, str, None) diff --git a/docs/ibm_is_ike_policy_info.rst b/docs/ibm_is_ike_policy_info.rst index 5c16fc05c..04886a467 100644 --- a/docs/ibm_is_ike_policy_info.rst +++ b/docs/ibm_is_ike_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The IKE policy name. - - ike_policy (False, str, None) The IKE policy identifier. + name (False, str, None) + The IKE policy 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_image.rst b/docs/ibm_is_image.rst index 3d217821b..ecb806a6c 100644 --- a/docs/ibm_is_image.rst +++ b/docs/ibm_is_image.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,12 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - encrypted_data_key (False, str, None) - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image - - - source_volume (False, str, None) - Image volume id + href (False, str, None) + Image Href value resource_group (False, str, None) @@ -47,20 +43,24 @@ Parameters Image Operating system - 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 + tags (False, list, None) + Tags for the image + + name (True, str, None) (Required for new resource) Image name - href (False, str, None) - Image Href value + encrypted_data_key (False, str, None) + A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image + + + source_volume (False, str, None) + Image volume id id (False, str, None) diff --git a/docs/ibm_is_image_info.rst b/docs/ibm_is_image_info.rst index 3c1290b6d..5d522eb06 100644 --- a/docs/ibm_is_image_info.rst +++ b/docs/ibm_is_image_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,16 +29,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Image name + visibility (False, str, None) + Whether the image is publicly visible or private to the account identifier (False, str, None) Image id - visibility (False, str, None) - Whether the image is publicly visible or private to the account + name (False, str, None) + Image name generation (False, int, 2) diff --git a/docs/ibm_is_images_info.rst b/docs/ibm_is_images_info.rst index 3cdfa4555..feb9ea93d 100644 --- a/docs/ibm_is_images_info.rst +++ b/docs/ibm_is_images_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + visibility (False, str, None) + Whether the image is publicly visible or private to the account + + resource_group (False, str, None) The id of the resource group @@ -45,10 +49,6 @@ Parameters The status of the image - visibility (False, str, None) - Whether the image is publicly visible or private to the account - - 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.rst b/docs/ibm_is_instance.rst index 298cc5db6..6c7097af2 100644 --- a/docs/ibm_is_instance.rst +++ b/docs/ibm_is_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,116 +31,116 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc (False, str, None) - VPC id - - profile (False, str, None) Profile info - wait_before_delete (False, bool, True) - Enables stopping of instance before deleting and waits till deletion is complete + auto_delete_volume (False, bool, None) + Auto delete volume along with instance - boot_volume (False, list, None) - None + resource_group (False, str, None) + Instance resource group - metadata_service_enabled (False, bool, None) - Indicates whether the metadata service endpoint is available to the virtual server instance + instance_template (False, str, None) + Id of the instance template - default_trusted_profile_target (False, str, None) - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + keys (False, list, None) + SSH key Ids for the instance - dedicated_host_group (False, str, None) - Unique Identifier of the Dedicated Host Group where the instance will be placed + tags (False, list, None) + list of tags for the instance - keys (False, list, None) - SSH key Ids for the instance + boot_volume (False, list, None) + None - network_interfaces (False, list, None) - None + name (True, str, None) + (Required for new resource) Instance name - tags (False, list, None) - list of tags for the instance + zone (False, str, None) + Zone name - force_action (False, bool, False) - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + default_trusted_profile_target (False, str, None) + The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + + + wait_before_delete (False, bool, True) + Enables stopping of instance before deleting and waits till deletion is complete + + + total_volume_bandwidth (False, int, None) + The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes image (False, str, None) image id - instance_template (False, str, None) - Id of the instance template + metadata_service_enabled (False, bool, None) + Indicates whether the metadata service endpoint is available to the virtual server instance - zone (False, str, None) - Zone name + dedicated_host_group (False, str, None) + Unique Identifier of the Dedicated Host Group where the instance will be placed - total_volume_bandwidth (False, int, None) - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + availability_policy_host_failure (False, str, None) + The availability policy to use for this virtual server instance force_recovery_time (False, int, None) Define timeout to force the instances to start/stop in minutes. - auto_delete_volume (False, bool, None) - Auto delete volume along with instance - - - resource_group (False, str, None) - Instance resource group + vpc (False, str, None) + VPC id - placement_group (False, str, None) - Unique Identifier of the Placement Group for restricting the placement of the instance + force_action (False, bool, False) + If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. - catalog_offering (False, list, None) - The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies. + primary_network_interface (False, list, None) + Primary Network interface info - user_data (False, str, None) - User data given for the instance + network_interfaces (False, list, None) + None volumes (False, list, None) List of volumes - default_trusted_profile_auto_link (False, bool, None) - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + user_data (False, str, None) + User data given for the instance - action (False, str, None) - Enables stopping of instance before deleting and waits till deletion is complete + default_trusted_profile_auto_link (False, bool, None) + If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. - primary_network_interface (False, list, None) - Primary Network interface info + dedicated_host (False, str, None) + Unique Identifier of the Dedicated Host where the instance will be placed - availability_policy_host_failure (False, str, None) - The availability policy to use for this virtual server instance + placement_group (False, str, None) + Unique Identifier of the Placement Group for restricting the placement of the instance - name (True, str, None) - (Required for new resource) Instance name + action (False, str, None) + Enables stopping of instance before deleting and waits till deletion is complete - dedicated_host (False, str, None) - Unique Identifier of the Dedicated Host where the instance will be placed + catalog_offering (False, list, None) + The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies. id (False, str, None) diff --git a/docs/ibm_is_instance_action.rst b/docs/ibm_is_instance_action.rst index 86df7baed..0e7a3ecec 100644 --- a/docs/ibm_is_instance_action.rst +++ b/docs/ibm_is_instance_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance (True, str, None) - (Required for new resource) Instance identifier - - action (True, str, None) (Required for new resource) This restart/start/stops an instance. @@ -43,6 +39,10 @@ Parameters If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + instance (True, str, None) + (Required for new resource) Instance identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_disk_info.rst b/docs/ibm_is_instance_disk_info.rst index 2ab69463d..23da6f1a2 100644 --- a/docs/ibm_is_instance_disk_info.rst +++ b/docs/ibm_is_instance_disk_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_disk_management.rst b/docs/ibm_is_instance_disk_management.rst index b6aa36c36..24dcc1b6b 100644 --- a/docs/ibm_is_instance_disk_management.rst +++ b/docs/ibm_is_instance_disk_management.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_disks_info.rst b/docs/ibm_is_instance_disks_info.rst index 2246a3174..d1eeb18bf 100644 --- a/docs/ibm_is_instance_disks_info.rst +++ b/docs/ibm_is_instance_disks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group.rst b/docs/ibm_is_instance_group.rst index b9a6c73dc..acefd63a8 100644 --- a/docs/ibm_is_instance_group.rst +++ b/docs/ibm_is_instance_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,36 +35,36 @@ Parameters load balancer ID - load_balancer_pool (False, str, None) - load balancer pool ID - - - tags (False, list, None) - List of tags for instance group + name (True, str, None) + (Required for new resource) The user-defined name for this instance group instance_template (True, str, None) (Required for new resource) instance template ID + application_port (False, int, None) + Used by the instance group when scaling up instances to supply the port for the load balancer pool member. + + instance_count (False, int, 0) The number of instances in the instance group - subnets (True, list, None) - (Required for new resource) list of subnet IDs + 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 + tags (False, list, None) + List of tags for instance group resource_group (False, str, None) Resource group ID - application_port (False, int, None) - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. + subnets (True, list, None) + (Required for new resource) list of subnet IDs id (False, str, None) diff --git a/docs/ibm_is_instance_group_info.rst b/docs/ibm_is_instance_group_info.rst index 9cacf2025..eb5742cd2 100644 --- a/docs/ibm_is_instance_group_info.rst +++ b/docs/ibm_is_instance_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager.rst b/docs/ibm_is_instance_group_manager.rst index d9eab0885..d9f943c80 100644 --- a/docs/ibm_is_instance_group_manager.rst +++ b/docs/ibm_is_instance_group_manager.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - instance group manager name - - - max_membership_count (False, int, None) - The maximum number of members in a managed instance group + cooldown (False, int, 300) + The duration of time in seconds to pause further scale actions after scaling has taken place min_membership_count (False, int, 1) The minimum number of members in a managed instance group - enable_manager (False, bool, True) - enable instance group manager + name (False, str, None) + instance group manager name instance_group (True, str, None) @@ -59,8 +55,12 @@ Parameters The time window in seconds to aggregate metrics prior to evaluation - cooldown (False, int, 300) - The duration of time in seconds to pause further scale actions after scaling has taken place + enable_manager (False, bool, True) + enable instance group manager + + + max_membership_count (False, int, None) + The maximum number of members in a managed instance group id (False, str, None) diff --git a/docs/ibm_is_instance_group_manager_action.rst b/docs/ibm_is_instance_group_manager_action.rst index 90ea1923e..24ea7b924 100644 --- a/docs/ibm_is_instance_group_manager_action.rst +++ b/docs/ibm_is_instance_group_manager_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,28 +35,28 @@ Parameters (Required for new resource) instance group ID - name (False, str, None) - instance group manager action name + instance_group_manager (True, str, None) + (Required for new resource) Instance group manager ID of type scheduled run_at (False, str, None) The date and time the scheduled action will run. - instance_group_manager (True, str, None) - (Required for new resource) Instance group manager ID of type scheduled + min_membership_count (False, int, 1) + The minimum number of members in a managed instance group cron_spec (False, str, None) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. - max_membership_count (False, int, None) - The maximum number of members in a managed instance group + name (False, str, None) + instance group manager action name - min_membership_count (False, int, 1) - The minimum number of members in a managed instance group + max_membership_count (False, int, None) + The maximum number of members in a managed instance group target_manager (False, str, None) diff --git a/docs/ibm_is_instance_group_manager_action_info.rst b/docs/ibm_is_instance_group_manager_action_info.rst index b89b8ed82..37cd384c0 100644 --- a/docs/ibm_is_instance_group_manager_action_info.rst +++ b/docs/ibm_is_instance_group_manager_action_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - instance group manager action name - - instance_group (True, str, None) instance group ID + name (True, str, None) + instance group manager action name + + instance_group_manager (True, str, None) Instance group manager ID of type scheduled diff --git a/docs/ibm_is_instance_group_manager_actions_info.rst b/docs/ibm_is_instance_group_manager_actions_info.rst index e1cbac387..aff5fe1c7 100644 --- a/docs/ibm_is_instance_group_manager_actions_info.rst +++ b/docs/ibm_is_instance_group_manager_actions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager_info.rst b/docs/ibm_is_instance_group_manager_info.rst index 5840a8223..f46955bcf 100644 --- a/docs/ibm_is_instance_group_manager_info.rst +++ b/docs/ibm_is_instance_group_manager_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,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 ee3c8ca4a..2f7f7d5c8 100644 --- a/docs/ibm_is_instance_group_manager_policies_info.rst +++ b/docs/ibm_is_instance_group_manager_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.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 84ad6b61a..5cf2c214b 100644 --- a/docs/ibm_is_instance_group_manager_policy.rst +++ b/docs/ibm_is_instance_group_manager_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,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 @@ -55,6 +47,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 9de4d621b..e32005461 100644 --- a/docs/ibm_is_instance_group_manager_policy_info.rst +++ b/docs/ibm_is_instance_group_manager_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_managers_info.rst b/docs/ibm_is_instance_group_managers_info.rst index 0c34c0db9..2c4fe991f 100644 --- a/docs/ibm_is_instance_group_managers_info.rst +++ b/docs/ibm_is_instance_group_managers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_membership.rst b/docs/ibm_is_instance_group_membership.rst index cb2e43368..be7ee8cae 100644 --- a/docs/ibm_is_instance_group_membership.rst +++ b/docs/ibm_is_instance_group_membership.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The user-defined name for this instance group membership. Names must be unique within the instance group. + instance_group (True, str, None) + (Required for new resource) The instance group identifier. instance_group_membership (True, str, None) (Required for new resource) The unique identifier for this instance group membership. - action_delete (False, bool, False) - The delete flag for this instance group membership. Must be set to true to delete instance group membership. + name (False, str, None) + The user-defined name for this instance group membership. Names must be unique within the instance group. - instance_group (True, str, None) - (Required for new resource) The instance group identifier. + action_delete (False, bool, False) + The delete flag for this instance group membership. Must be set to true to delete instance group membership. id (False, str, None) diff --git a/docs/ibm_is_instance_group_membership_info.rst b/docs/ibm_is_instance_group_membership_info.rst index 07faaf651..f4c435686 100644 --- a/docs/ibm_is_instance_group_membership_info.rst +++ b/docs/ibm_is_instance_group_membership_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_memberships_info.rst b/docs/ibm_is_instance_group_memberships_info.rst index 3b90b1022..ba203d677 100644 --- a/docs/ibm_is_instance_group_memberships_info.rst +++ b/docs/ibm_is_instance_group_memberships_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_groups_info.rst b/docs/ibm_is_instance_groups_info.rst index 7df728637..955b58978 100644 --- a/docs/ibm_is_instance_groups_info.rst +++ b/docs/ibm_is_instance_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_info.rst b/docs/ibm_is_instance_info.rst index b46b28e60..35b529fa6 100644 --- a/docs/ibm_is_instance_info.rst +++ b/docs/ibm_is_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters Passphrase for Instance Private Key file - name (True, str, None) - Instance name - - private_key (False, str, None) Instance Private Key file + name (True, str, None) + Instance 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_instance_network_interface.rst b/docs/ibm_is_instance_network_interface.rst index a15c6d735..1fbfeb24a 100644 --- a/docs/ibm_is_instance_network_interface.rst +++ b/docs/ibm_is_instance_network_interface.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnet (True, str, None) - (Required for new resource) The unique identifier of the subnet. - - allow_ip_spoofing (False, bool, False) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. @@ -43,18 +39,22 @@ Parameters (Required for new resource) The user-defined name for this network interface. If unspecified, the name will be a hyphenated list of randomly-selected words. - instance (True, str, None) - (Required for new resource) The unique identifier of the instance. - - primary_ip (False, list, None) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP. + instance (True, str, None) + (Required for new resource) The unique identifier of the instance. + + security_groups (False, list, None) None + subnet (True, str, None) + (Required for new resource) The unique identifier of the subnet. + + floating_ip (False, str, None) The ID of the floating IP to attach to this network interface diff --git a/docs/ibm_is_instance_network_interface_info.rst b/docs/ibm_is_instance_network_interface_info.rst index a3098f637..db171bcd2 100644 --- a/docs/ibm_is_instance_network_interface_info.rst +++ b/docs/ibm_is_instance_network_interface_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_interface_name (True, str, None) - The network interface name. - - instance_name (True, str, None) The instance name. + network_interface_name (True, str, None) + The network interface 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_instance_network_interface_reserved_ip_info.rst b/docs/ibm_is_instance_network_interface_reserved_ip_info.rst index b3ed2f7b8..b695517e8 100644 --- a/docs/ibm_is_instance_network_interface_reserved_ip_info.rst +++ b/docs/ibm_is_instance_network_interface_reserved_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_network_interface_reserved_ips_info.rst b/docs/ibm_is_instance_network_interface_reserved_ips_info.rst index 0db8eeb25..b88f72896 100644 --- a/docs/ibm_is_instance_network_interface_reserved_ips_info.rst +++ b/docs/ibm_is_instance_network_interface_reserved_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_interface (True, str, None) - The instance network interface identifier. - - instance (True, str, None) The instance identifier. + network_interface (True, str, None) + The instance network interface 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_instance_network_interfaces_info.rst b/docs/ibm_is_instance_network_interfaces_info.rst index 12d907c31..4c910022d 100644 --- a/docs/ibm_is_instance_network_interfaces_info.rst +++ b/docs/ibm_is_instance_network_interfaces_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profile_info.rst b/docs/ibm_is_instance_profile_info.rst index 951419a35..7232f8f4b 100644 --- a/docs/ibm_is_instance_profile_info.rst +++ b/docs/ibm_is_instance_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profiles_info.rst b/docs/ibm_is_instance_profiles_info.rst index d295f6e9c..37356a715 100644 --- a/docs/ibm_is_instance_profiles_info.rst +++ b/docs/ibm_is_instance_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_template.rst b/docs/ibm_is_instance_template.rst index 08b45d873..8179276f1 100644 --- a/docs/ibm_is_instance_template.rst +++ b/docs/ibm_is_instance_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,86 +31,86 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dedicated_host_group (False, str, None) - Unique Identifier of the Dedicated Host Group where the instance will be placed - - - boot_volume (False, list, None) - None + vpc (True, str, None) + (Required for new resource) VPC id default_trusted_profile_auto_link (False, bool, None) If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. - total_volume_bandwidth (False, int, None) - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes - - - dedicated_host (False, str, None) - Unique Identifier of the Dedicated Host where the instance will be placed + default_trusted_profile_target (False, str, None) + The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. - resource_group (False, str, None) - Instance template resource group + dedicated_host_group (False, str, None) + Unique Identifier of the Dedicated Host Group where the instance will be placed - name (False, str, None) - Instance Template name + image (True, str, None) + (Required for new resource) image name - 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 template + user_data (False, str, None) + User data given for the instance - primary_network_interface (True, list, None) - (Required for new resource) Primary Network interface info + metadata_service_enabled (False, bool, False) + Indicates whether the metadata service endpoint is available to the virtual server instance - image (True, str, None) - (Required for new resource) image name + zone (True, str, None) + (Required for new resource) Zone name - vpc (True, str, None) - (Required for new resource) VPC id + total_volume_bandwidth (False, int, None) + The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes - default_trusted_profile_target (False, str, None) - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + dedicated_host (False, str, None) + Unique Identifier of the Dedicated Host where the instance will be placed volume_attachments (False, list, None) None - placement_group (False, str, None) - Unique Identifier of the Placement Group for restricting the placement of the instance - - - network_interfaces (False, list, None) - None + 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 template resource group availability_policy_host_failure (False, str, None) The availability policy to use for this virtual server instance - metadata_service_enabled (False, bool, False) - Indicates whether the metadata service endpoint is available to the virtual server instance + name (False, str, None) + Instance Template name profile (True, str, None) (Required for new resource) Profile info + keys (True, list, None) + (Required for new resource) SSH key Ids for the instance template + + + placement_group (False, str, None) + Unique Identifier of the Placement Group for restricting the placement of the instance + + + boot_volume (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_instance_template_info.rst b/docs/ibm_is_instance_template_info.rst index b3509b02b..9e8911493 100644 --- a/docs/ibm_is_instance_template_info.rst +++ b/docs/ibm_is_instance_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,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_instance_templates_info.rst b/docs/ibm_is_instance_templates_info.rst index d0b5749e7..f6a92416a 100644 --- a/docs/ibm_is_instance_templates_info.rst +++ b/docs/ibm_is_instance_templates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_volume_attachment.rst b/docs/ibm_is_instance_volume_attachment.rst index d51c20ad8..72a2bf118 100644 --- a/docs/ibm_is_instance_volume_attachment.rst +++ b/docs/ibm_is_instance_volume_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - encryption_key (False, str, None) - The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. - - name (False, str, None) The user-defined name for this volume attachment. + volume_name (False, str, None) + The unique user-defined name for this volume + + tags (False, list, None) UserTags for the volume instance - profile (False, str, None) - The globally unique name for the volume profile to use for this volume. + capacity (False, int, None) + The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. - instance (True, str, None) - (Required for new resource) Instance id + encryption_key (False, str, None) + The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. - delete_volume_on_instance_delete (False, bool, None) - If set to true, when deleting the instance the volume will also be deleted. + iops (False, int, None) + The maximum I/O operations per second (IOPS) for the volume. - volume_name (False, str, None) - The unique user-defined name for this volume + snapshot (False, str, None) + The snapshot of the volume to be attached - capacity (False, int, None) - The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. + delete_volume_on_instance_delete (False, bool, None) + If set to true, when deleting the instance the volume will also be deleted. delete_volume_on_attachment_delete (False, bool, True) If set to true, when deleting the attachment, the volume will also be deleted. Default value for this true. - iops (False, int, None) - The maximum I/O operations per second (IOPS) for the volume. + volume (False, str, None) + Instance id - snapshot (False, str, None) - The snapshot of the volume to be attached + profile (False, str, None) + The globally unique name for the volume profile to use for this volume. - volume (False, str, None) - Instance id + instance (True, str, None) + (Required for new resource) Instance id id (False, str, None) diff --git a/docs/ibm_is_instance_volume_attachment_info.rst b/docs/ibm_is_instance_volume_attachment_info.rst index 96e268a4a..cc04cfa77 100644 --- a/docs/ibm_is_instance_volume_attachment_info.rst +++ b/docs/ibm_is_instance_volume_attachment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_volume_attachments_info.rst b/docs/ibm_is_instance_volume_attachments_info.rst index 3534d3bee..5b3ef41e6 100644 --- a/docs/ibm_is_instance_volume_attachments_info.rst +++ b/docs/ibm_is_instance_volume_attachments_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instances_info.rst b/docs/ibm_is_instances_info.rst index 1d0c5a6bf..df6f9c7cf 100644 --- a/docs/ibm_is_instances_info.rst +++ b/docs/ibm_is_instances_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,8 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_group_name (False, str, None) - Instance group name to filter the instances attached to it + resource_group (False, str, None) + Instance resource group + + + dedicated_host (False, str, None) + ID of the dedicated host to filter the instances attached to it + + + placement_group_name (False, str, None) + Name of the placement group to filter the instances attached to it + + + placement_group (False, str, None) + ID of the placement group to filter the instances attached to it vpc_name (False, str, None) @@ -45,30 +57,18 @@ Parameters VPC CRN to filter the instances attached to it - placement_group_name (False, str, None) - Name of the placement group to filter the instances attached to it - - instance_group (False, str, None) Instance group ID to filter the instances attached to it - resource_group (False, str, None) - Instance resource group + instance_group_name (False, str, None) + Instance group name to filter the instances attached to it dedicated_host_name (False, str, None) Name of the dedicated host to filter the instances attached to it - dedicated_host (False, str, None) - ID of the dedicated host to filter the instances attached to it - - - placement_group (False, str, None) - ID of the placement group 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_policies_info.rst b/docs/ibm_is_ipsec_policies_info.rst index e1ae973be..7159fe858 100644 --- a/docs/ibm_is_ipsec_policies_info.rst +++ b/docs/ibm_is_ipsec_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ipsec_policy.rst b/docs/ibm_is_ipsec_policy.rst index 1a0b675cd..d25dfb2a9 100644 --- a/docs/ibm_is_ipsec_policy.rst +++ b/docs/ibm_is_ipsec_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,10 +35,6 @@ Parameters (Required for new resource) Encryption algorithm - pfs (True, str, None) - (Required for new resource) PFS info - - resource_group (False, str, None) Resource group info @@ -51,6 +47,10 @@ Parameters (Required for new resource) Authentication alorothm + pfs (True, str, None) + (Required for new resource) PFS info + + key_lifetime (False, int, 3600) IPSEC key lifetime diff --git a/docs/ibm_is_ipsec_policy_info.rst b/docs/ibm_is_ipsec_policy_info.rst index 327d0c12c..a8f66a28f 100644 --- a/docs/ibm_is_ipsec_policy_info.rst +++ b/docs/ibm_is_ipsec_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb.rst b/docs/ibm_is_lb.rst index 979566733..7f5d8f6ff 100644 --- a/docs/ibm_is_lb.rst +++ b/docs/ibm_is_lb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Load Balancer name + subnets (True, list, None) + (Required for new resource) Load Balancer subnets list security_groups (False, list, None) Load Balancer securitygroups list - logging (False, bool, False) - Logging of Load Balancer + tags (False, list, None) + None - subnets (True, list, None) - (Required for new resource) Load Balancer subnets list + route_mode (False, bool, False) + Indicates whether route mode is enabled for this load balancer - tags (False, list, None) - None + name (True, str, None) + (Required for new resource) Load Balancer name type (False, str, public) @@ -63,8 +63,8 @@ Parameters None - route_mode (False, bool, False) - Indicates whether route mode is enabled for this load balancer + logging (False, bool, False) + Logging of Load Balancer id (False, str, None) diff --git a/docs/ibm_is_lb_info.rst b/docs/ibm_is_lb_info.rst index 2d4a34600..2b2eac77c 100644 --- a/docs/ibm_is_lb_info.rst +++ b/docs/ibm_is_lb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener.rst b/docs/ibm_is_lb_listener.rst index 7d42c3a82..315891c78 100644 --- a/docs/ibm_is_lb_listener.rst +++ b/docs/ibm_is_lb_listener.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,54 +31,54 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - protocol (True, str, None) - (Required for new resource) Loadbalancer protocol - - - accept_proxy_protocol (False, bool, None) - Listener will forward proxy protocol - - - https_redirect_status_code (False, int, None) - The HTTP status code to be returned in the redirect response + certificate_instance (False, str, None) + certificate instance for the Loadbalancer - https_redirect_uri (False, str, None) - Target URI where traffic will be redirected + default_pool (False, str, None) + Loadbalancer default pool info port (False, int, None) Loadbalancer listener port - default_pool (False, str, None) - Loadbalancer default pool info - - - lb (True, str, None) - (Required for new resource) Loadbalancer listener ID + port_min (False, int, None) + The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. port_max (False, int, None) The inclusive upper bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener - connection_limit (False, int, None) - Connection limit for Loadbalancer + https_redirect_status_code (False, int, None) + The HTTP status code to be returned in the redirect response - port_min (False, int, None) - The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. + accept_proxy_protocol (False, bool, None) + Listener will forward proxy protocol - certificate_instance (False, str, None) - certificate instance for the Loadbalancer + https_redirect_uri (False, str, None) + Target URI where traffic will be redirected + + + lb (True, str, None) + (Required for new resource) Loadbalancer listener ID + + + protocol (True, str, None) + (Required for new resource) Loadbalancer protocol https_redirect_listener (False, str, None) ID of the listener that will be set as http redirect target + connection_limit (False, int, None) + Connection limit for Loadbalancer + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_listener_info.rst b/docs/ibm_is_lb_listener_info.rst index 7e66ba622..1d75896d6 100644 --- a/docs/ibm_is_lb_listener_info.rst +++ b/docs/ibm_is_lb_listener_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener_policies_info.rst b/docs/ibm_is_lb_listener_policies_info.rst index 0bb0a104f..5c05c2017 100644 --- a/docs/ibm_is_lb_listener_policies_info.rst +++ b/docs/ibm_is_lb_listener_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener_policy.rst b/docs/ibm_is_lb_listener_policy.rst index 5abf04ea6..3f850ae85 100644 --- a/docs/ibm_is_lb_listener_policy.rst +++ b/docs/ibm_is_lb_listener_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target_id (False, str, None) - Listener Policy Target ID + target_https_redirect_status_code (False, int, None) + The HTTP status code to be returned in the redirect response + + + target_https_redirect_listener (False, str, None) + ID of the listener that will be set as http redirect target listener (True, str, None) (Required for new resource) Listener ID - name (False, str, None) - Policy name + action (True, str, None) + (Required for new resource) Policy Action - 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 + target_id (False, str, None) + Listener Policy Target ID lb (True, str, None) (Required for new resource) Load Balancer Listener Policy - target_https_redirect_status_code (False, int, None) - The HTTP status code to be returned in the redirect response - - - target_https_redirect_listener (False, str, None) - ID of the listener that will be set as http redirect target + target_http_status_code (False, int, None) + Listener Policy target HTTPS Status code. priority (True, int, None) @@ -71,12 +71,12 @@ Parameters Policy Rules - target_https_redirect_uri (False, str, None) - Target URI where traffic will be redirected + target_url (False, str, None) + Policy Target URL - action (True, str, None) - (Required for new resource) Policy Action + target_https_redirect_uri (False, str, None) + Target URI where traffic will be redirected id (False, str, None) diff --git a/docs/ibm_is_lb_listener_policy_info.rst b/docs/ibm_is_lb_listener_policy_info.rst index 831cd585e..23145e8a1 100644 --- a/docs/ibm_is_lb_listener_policy_info.rst +++ b/docs/ibm_is_lb_listener_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The listener identifier. - policy_id (True, str, None) - The policy identifier. - - lb (True, str, None) The load balancer identifier. + policy_id (True, str, None) + The policy 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_lb_listener_policy_rule.rst b/docs/ibm_is_lb_listener_policy_rule.rst index 2837e920b..de4a6e5c8 100644 --- a/docs/ibm_is_lb_listener_policy_rule.rst +++ b/docs/ibm_is_lb_listener_policy_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,34 +31,34 @@ 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 + lb (True, str, None) + (Required for new resource) Loadbalancer ID - policy (True, str, None) - (Required for new resource) Listener Policy ID + type (True, str, None) + (Required for new resource) Policy rule type. + + + value (True, str, None) + (Required for new resource) policy rule value info listener (True, str, None) (Required for new resource) Listener ID. - condition (True, str, None) - (Required for new resource) Condition info of the rule. + policy (True, str, None) + (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) None - lb (True, str, None) - (Required for new resource) Loadbalancer ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_listener_policy_rule_info.rst b/docs/ibm_is_lb_listener_policy_rule_info.rst index 2b5ca5c00..dd389264d 100644 --- a/docs/ibm_is_lb_listener_policy_rule_info.rst +++ b/docs/ibm_is_lb_listener_policy_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener_policy_rules_info.rst b/docs/ibm_is_lb_listener_policy_rules_info.rst index 81b8bee23..a576051e9 100644 --- a/docs/ibm_is_lb_listener_policy_rules_info.rst +++ b/docs/ibm_is_lb_listener_policy_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listeners_info.rst b/docs/ibm_is_lb_listeners_info.rst index 067bc4756..4c6f4b9a7 100644 --- a/docs/ibm_is_lb_listeners_info.rst +++ b/docs/ibm_is_lb_listeners_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_pool.rst b/docs/ibm_is_lb_pool.rst index aa6504fd9..fca4c8ab3 100644 --- a/docs/ibm_is_lb_pool.rst +++ b/docs/ibm_is_lb_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,56 +31,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - proxy_protocol (False, str, None) - PROXY protocol setting for this pool - - - 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 - health_timeout (True, int, None) - (Required for new resource) Load Balancer health timeout interval + health_retries (True, int, None) + (Required for new resource) Load Balancer health retry count 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 - health_type (True, str, None) - (Required for new resource) Load Balancer health type + lb (True, str, None) + (Required for new resource) Load Balancer ID - name (True, str, None) - (Required for new resource) Load Balancer Pool name + protocol (True, str, None) + (Required for new resource) Load Balancer Protocol - health_delay (True, int, None) - (Required for new resource) Load Blancer health delay time period + health_type (True, str, None) + (Required for new resource) Load Balancer health type - health_retries (True, int, None) - (Required for new resource) Load Balancer health retry count + session_persistence_type (False, str, None) + Load Balancer Pool session persisence type. session_persistence_app_cookie_name (False, str, None) Load Balancer Pool session persisence app cookie name. - algorithm (True, str, None) - (Required for new resource) Load Balancer Pool algorithm + proxy_protocol (False, str, None) + PROXY protocol setting for this pool - protocol (True, str, None) - (Required for new resource) Load Balancer Protocol + name (True, str, None) + (Required for new resource) Load Balancer Pool name - health_monitor_port (False, int, None) - Health monitor Port the LB Pool + algorithm (True, str, None) + (Required for new resource) Load Balancer Pool algorithm + + + health_timeout (True, int, None) + (Required for new resource) Load Balancer health timeout interval id (False, str, None) diff --git a/docs/ibm_is_lb_pool_info.rst b/docs/ibm_is_lb_pool_info.rst index dc35317b3..44a16c4e0 100644 --- a/docs/ibm_is_lb_pool_info.rst +++ b/docs/ibm_is_lb_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) - The pool identifier. - - lb (True, str, None) The load balancer identifier. + identifier (False, str, None) + The pool identifier. + + name (False, str, None) The user-defined name for this load balancer pool. diff --git a/docs/ibm_is_lb_pool_member.rst b/docs/ibm_is_lb_pool_member.rst index 0369c1650..661867d44 100644 --- a/docs/ibm_is_lb_pool_member.rst +++ b/docs/ibm_is_lb_pool_member.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target_address (False, str, None) - Load balancer pool member target address - - - pool (True, str, None) - (Required for new resource) Loadblancer Poold ID - - lb (True, str, None) (Required for new resource) Load balancer ID - weight (False, int, None) - Load balcner pool member weight - - port (True, int, None) (Required for new resource) Load Balancer Pool port + target_address (False, str, None) + Load balancer pool member target address + + target_id (False, str, None) Load balancer pool member target id + weight (False, int, None) + Load balcner pool member weight + + + pool (True, str, None) + (Required for new resource) Loadblancer Poold ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_pool_member_info.rst b/docs/ibm_is_lb_pool_member_info.rst index 89837b483..b31886492 100644 --- a/docs/ibm_is_lb_pool_member_info.rst +++ b/docs/ibm_is_lb_pool_member_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_pool_members_info.rst b/docs/ibm_is_lb_pool_members_info.rst index 4de56d083..7d4390660 100644 --- a/docs/ibm_is_lb_pool_members_info.rst +++ b/docs/ibm_is_lb_pool_members_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_pools_info.rst b/docs/ibm_is_lb_pools_info.rst index acc9d01a6..24021fc91 100644 --- a/docs/ibm_is_lb_pools_info.rst +++ b/docs/ibm_is_lb_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_profiles_info.rst b/docs/ibm_is_lb_profiles_info.rst index a7ef7d8b8..e327caca6 100644 --- a/docs/ibm_is_lb_profiles_info.rst +++ b/docs/ibm_is_lb_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lbs_info.rst b/docs/ibm_is_lbs_info.rst index c6f12e335..b8bfe35e3 100644 --- a/docs/ibm_is_lbs_info.rst +++ b/docs/ibm_is_lbs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acl.rst b/docs/ibm_is_network_acl.rst index 4a3577823..10cd60771 100644 --- a/docs/ibm_is_network_acl.rst +++ b/docs/ibm_is_network_acl.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - List of tags + vpc (False, str, None) + Network ACL VPC name rules (False, list, None) @@ -47,8 +47,8 @@ Parameters Resource group ID for the network ACL - vpc (False, str, None) - Network ACL VPC name + tags (False, list, None) + List of tags id (False, str, None) diff --git a/docs/ibm_is_network_acl_info.rst b/docs/ibm_is_network_acl_info.rst index 5d26c8d36..e5aaef095 100644 --- a/docs/ibm_is_network_acl_info.rst +++ b/docs/ibm_is_network_acl_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc_name (False, str, None) - The name of the vpc the network acl resides in. - - network_acl (False, str, None) The network acl id. @@ -41,6 +37,10 @@ Parameters The network acl name. + vpc_name (False, str, None) + The name of the vpc the network acl resides in. + + 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_network_acl_rule.rst b/docs/ibm_is_network_acl_rule.rst index bf2422744..d7f0a3032 100644 --- a/docs/ibm_is_network_acl_rule.rst +++ b/docs/ibm_is_network_acl_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,34 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_acl (True, str, None) - (Required for new resource) Network ACL id + icmp (False, list, None) + None - direction (True, str, None) - (Required for new resource) Direction of traffic to enforce, either inbound or outbound + udp (False, list, None) + None + + + network_acl (True, str, None) + (Required for new resource) Network ACL id tcp (False, list, None) None - udp (False, list, None) - None + name (False, str, None) + The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. action (True, str, None) (Required for new resource) Whether to allow or deny matching traffic - source (True, str, None) - (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. - - - icmp (False, list, None) - None - - destination (True, str, None) (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. @@ -67,8 +63,12 @@ Parameters The rule that this rule is immediately before. If absent, this is the last rule. - name (False, str, None) - The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + source (True, str, None) + (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + + + direction (True, str, None) + (Required for new resource) Direction of traffic to enforce, either inbound or outbound id (False, str, None) diff --git a/docs/ibm_is_network_acl_rule_info.rst b/docs/ibm_is_network_acl_rule_info.rst index 15c96c36b..d6aab1a17 100644 --- a/docs/ibm_is_network_acl_rule_info.rst +++ b/docs/ibm_is_network_acl_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - The user-defined name for this rule - - network_acl (True, str, None) Network ACL id + name (True, str, None) + The user-defined name for this rule + + 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_network_acl_rules_info.rst b/docs/ibm_is_network_acl_rules_info.rst index 6301d4c94..2da119cc1 100644 --- a/docs/ibm_is_network_acl_rules_info.rst +++ b/docs/ibm_is_network_acl_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acls_info.rst b/docs/ibm_is_network_acls_info.rst index 267eb7a4e..1ed3acb0f 100644 --- a/docs/ibm_is_network_acls_info.rst +++ b/docs/ibm_is_network_acls_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_operating_system_info.rst b/docs/ibm_is_operating_system_info.rst index ab55de65f..43c59161a 100644 --- a/docs/ibm_is_operating_system_info.rst +++ b/docs/ibm_is_operating_system_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_operating_systems_info.rst b/docs/ibm_is_operating_systems_info.rst index 793559a17..4c9105c4d 100644 --- a/docs/ibm_is_operating_systems_info.rst +++ b/docs/ibm_is_operating_systems_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_placement_group_info.rst b/docs/ibm_is_placement_group_info.rst index 0c8e55b62..6d9fcb894 100644 --- a/docs/ibm_is_placement_group_info.rst +++ b/docs/ibm_is_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_placement_groups_info.rst b/docs/ibm_is_placement_groups_info.rst index f670fbe71..222567568 100644 --- a/docs/ibm_is_placement_groups_info.rst +++ b/docs/ibm_is_placement_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_public_gateway.rst b/docs/ibm_is_public_gateway.rst index 1d3dd7b5e..b662056cf 100644 --- a/docs/ibm_is_public_gateway.rst +++ b/docs/ibm_is_public_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Public gateway resource group info + vpc (True, str, None) + (Required for new resource) Public gateway VPC info tags (False, list, None) @@ -47,8 +47,8 @@ Parameters None - vpc (True, str, None) - (Required for new resource) Public gateway VPC info + resource_group (False, str, None) + Public gateway resource group info zone (True, str, None) diff --git a/docs/ibm_is_public_gateway_info.rst b/docs/ibm_is_public_gateway_info.rst index 8b462b940..392393dfb 100644 --- a/docs/ibm_is_public_gateway_info.rst +++ b/docs/ibm_is_public_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Public gateway resource group info - - name (True, str, None) Public gateway Name + resource_group (False, str, None) + Public gateway resource group info + + 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_public_gateways_info.rst b/docs/ibm_is_public_gateways_info.rst index ba1874485..c119fcc87 100644 --- a/docs/ibm_is_public_gateways_info.rst +++ b/docs/ibm_is_public_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_region_info.rst b/docs/ibm_is_region_info.rst index 5c7a42d38..a8de67dfc 100644 --- a/docs/ibm_is_region_info.rst +++ b/docs/ibm_is_region_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_regions_info.rst b/docs/ibm_is_regions_info.rst index 47edf020e..fe1e945ca 100644 --- a/docs/ibm_is_regions_info.rst +++ b/docs/ibm_is_regions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group.rst b/docs/ibm_is_security_group.rst index 9a2e02610..4e9ad2b7d 100644 --- a/docs/ibm_is_security_group.rst +++ b/docs/ibm_is_security_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ 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 - - resource_group (False, str, None) Resource Group ID @@ -47,6 +39,14 @@ Parameters List of tags + vpc (True, str, None) + (Required for new resource) Security group's 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 3f9c5f468..7445620c5 100644 --- a/docs/ibm_is_security_group_info.rst +++ b/docs/ibm_is_security_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.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 21f0b37a9..af4058fed 100644 --- a/docs/ibm_is_security_group_network_interface_attachment.rst +++ b/docs/ibm_is_security_group_network_interface_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_interface (True, str, None) - (Required for new resource) security group network interface attachment NIC ID - - security_group (True, str, None) (Required for new resource) security group network interface attachment group ID + network_interface (True, str, None) + (Required for new resource) security group network interface attachment NIC ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_security_group_rule_info.rst b/docs/ibm_is_security_group_rule_info.rst index c0bf41f5c..121cb5e6a 100644 --- a/docs/ibm_is_security_group_rule_info.rst +++ b/docs/ibm_is_security_group_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_rules_info.rst b/docs/ibm_is_security_group_rules_info.rst index 13332812b..72d173eb6 100644 --- a/docs/ibm_is_security_group_rules_info.rst +++ b/docs/ibm_is_security_group_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_target.rst b/docs/ibm_is_security_group_target.rst index 3f7ff776d..5e45dbf36 100644 --- a/docs/ibm_is_security_group_target.rst +++ b/docs/ibm_is_security_group_target.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target (True, str, None) - (Required for new resource) security group target identifier - - security_group (True, str, None) (Required for new resource) Security group id + target (True, str, None) + (Required for new resource) security group target identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_security_group_target_info.rst b/docs/ibm_is_security_group_target_info.rst index fe0e431f0..6259dc1dd 100644 --- a/docs/ibm_is_security_group_target_info.rst +++ b/docs/ibm_is_security_group_target_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_targets_info.rst b/docs/ibm_is_security_group_targets_info.rst index b8304da1a..2e067920a 100644 --- a/docs/ibm_is_security_group_targets_info.rst +++ b/docs/ibm_is_security_group_targets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_groups_info.rst b/docs/ibm_is_security_groups_info.rst index a40713b14..c564cd6fa 100644 --- a/docs/ibm_is_security_groups_info.rst +++ b/docs/ibm_is_security_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_snapshot.rst b/docs/ibm_is_snapshot.rst index 17b04c555..1c7fb91bb 100644 --- a/docs/ibm_is_snapshot.rst +++ b/docs/ibm_is_snapshot.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,16 +35,20 @@ Parameters Resource group info - tags (False, list, None) - User Tags for the snapshot + source_volume (True, str, None) + (Required for new resource) Snapshot source volume + + + access_tags (False, list, None) + List of access management tags name (False, str, None) Snapshot name - source_volume (True, str, None) - (Required for new resource) Snapshot source volume + tags (False, list, None) + User Tags for the snapshot id (False, str, None) diff --git a/docs/ibm_is_snapshot_info.rst b/docs/ibm_is_snapshot_info.rst index 0271c196b..07e1c2d55 100644 --- a/docs/ibm_is_snapshot_info.rst +++ b/docs/ibm_is_snapshot_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_snapshots_info.rst b/docs/ibm_is_snapshots_info.rst index fe6e0d0c0..9ef31135f 100644 --- a/docs/ibm_is_snapshots_info.rst +++ b/docs/ibm_is_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,18 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - backup_policy_plan_id (False, str, None) - Filters the collection to backup policy jobs with the backup plan with the specified identifier - - - tag (False, str, None) - Filters the collection to resources with the exact tag value - - - resource_group (False, str, None) - Filters the snapshot collection by resources group id - - name (False, str, None) Filters the snapshot collection by snapshot name @@ -53,6 +41,18 @@ Parameters Filters the snapshot collection by source volume id + backup_policy_plan_id (False, str, None) + Filters the collection to backup policy jobs with the backup plan with the specified identifier + + + tag (False, str, None) + Filters the collection to resources with the exact tag value + + + resource_group (False, str, None) + Filters the snapshot collection by resources 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_ssh_key.rst b/docs/ibm_is_ssh_key.rst index cdba4aa70..ea5fb6351 100644 --- a/docs/ibm_is_ssh_key.rst +++ b/docs/ibm_is_ssh_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - public_key (True, str, None) - (Required for new resource) SSH Public key data + resource_group (False, str, None) + Resource group ID name (True, str, None) (Required for new resource) SSH Key name - tags (False, list, None) - List of tags for SSH key + public_key (True, str, None) + (Required for new resource) SSH Public key data - resource_group (False, str, None) - Resource group ID + tags (False, list, None) + List of tags for SSH key id (False, str, None) diff --git a/docs/ibm_is_ssh_key_info.rst b/docs/ibm_is_ssh_key_info.rst index 72e108769..81ded8fdb 100644 --- a/docs/ibm_is_ssh_key_info.rst +++ b/docs/ibm_is_ssh_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Resource group ID - - name (True, str, None) The name of the ssh key + resource_group (False, str, None) + Resource 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_ssh_keys_info.rst b/docs/ibm_is_ssh_keys_info.rst index 4724e381d..1f8c9d4dd 100644 --- a/docs/ibm_is_ssh_keys_info.rst +++ b/docs/ibm_is_ssh_keys_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet.rst b/docs/ibm_is_subnet.rst index 3d490d0cc..67030fc3e 100644 --- a/docs/ibm_is_subnet.rst +++ b/docs/ibm_is_subnet.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc (True, str, None) - (Required for new resource) VPC instance ID + public_gateway (False, str, None) + Public Gateway of the subnet - zone (True, str, None) - (Required for new resource) Subnet zone info + ipv4_cidr_block (False, str, None) + IPV4 subnet - CIDR block - network_acl (False, str, None) - The network ACL for this subnet + ip_version (False, str, ipv4) + The IP version(s) to support for this subnet. name (True, str, None) (Required for new resource) Subnet name - access_tags (False, list, None) - List of access management tags + 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 - ipv4_cidr_block (False, str, None) - IPV4 subnet - CIDR block + tags (False, list, None) + List of tags - total_ipv4_address_count (False, int, None) - The total number of IPv4 addresses in this subnet. + access_tags (False, list, None) + List of access management tags - tags (False, list, None) - List of tags + network_acl (False, str, None) + The network ACL for this subnet - public_gateway (False, str, None) - Public Gateway of the subnet + vpc (True, str, None) + (Required for new resource) VPC instance ID - resource_group (False, str, None) - The resource group for this subnet + zone (True, str, None) + (Required for new resource) Subnet zone info - 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. id (False, str, None) diff --git a/docs/ibm_is_subnet_info.rst b/docs/ibm_is_subnet_info.rst index 5bb976370..3aa0feec4 100644 --- a/docs/ibm_is_subnet_info.rst +++ b/docs/ibm_is_subnet_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) + name (False, str, None) None - name (False, str, None) + identifier (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 6fe8dc07f..3fb8f5487 100644 --- a/docs/ibm_is_subnet_network_acl_attachment.rst +++ b/docs/ibm_is_subnet_network_acl_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_public_gateway_attachment.rst b/docs/ibm_is_subnet_public_gateway_attachment.rst index e796985d7..43088e26c 100644 --- a/docs/ibm_is_subnet_public_gateway_attachment.rst +++ b/docs/ibm_is_subnet_public_gateway_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_reserved_ip.rst b/docs/ibm_is_subnet_reserved_ip.rst index 32de7e893..573876d4d 100644 --- a/docs/ibm_is_subnet_reserved_ip.rst +++ b/docs/ibm_is_subnet_reserved_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnet (True, str, None) - (Required for new resource) The subnet identifier. + name (False, str, None) + The user-defined or system-provided name for this reserved IP. - auto_delete (False, bool, None) - If set to true, this reserved IP will be automatically deleted + address (False, str, None) + The address for this reserved IP. - target (False, str, None) - The unique identifier for target. + subnet (True, str, None) + (Required for new resource) The subnet identifier. - address (False, str, None) - The address for this reserved IP. + target (False, str, None) + The unique identifier for target. - name (False, str, None) - The user-defined or system-provided name for this reserved IP. + auto_delete (False, bool, None) + If set to true, this reserved IP will be automatically deleted id (False, str, None) diff --git a/docs/ibm_is_subnet_reserved_ip_info.rst b/docs/ibm_is_subnet_reserved_ip_info.rst index 8e7dce45a..7f6a4eb8d 100644 --- a/docs/ibm_is_subnet_reserved_ip_info.rst +++ b/docs/ibm_is_subnet_reserved_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_reserved_ips_info.rst b/docs/ibm_is_subnet_reserved_ips_info.rst index 248b989fd..6ae6ccc96 100644 --- a/docs/ibm_is_subnet_reserved_ips_info.rst +++ b/docs/ibm_is_subnet_reserved_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_routing_table_attachment.rst b/docs/ibm_is_subnet_routing_table_attachment.rst index a4a9f661f..73a853801 100644 --- a/docs/ibm_is_subnet_routing_table_attachment.rst +++ b/docs/ibm_is_subnet_routing_table_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnet (True, str, None) - (Required for new resource) The subnet identifier - - routing_table (True, str, None) (Required for new resource) The unique identifier of routing table + subnet (True, str, None) + (Required for new resource) The subnet identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_subnets_info.rst b/docs/ibm_is_subnets_info.rst index 1bc0d7001..9148661a9 100644 --- a/docs/ibm_is_subnets_info.rst +++ b/docs/ibm_is_subnets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_group (False, str, None) + Resource Group ID + + routing_table_name (False, str, None) Name of the routing table @@ -37,10 +41,6 @@ Parameters ID of the routing table - resource_group (False, str, None) - Resource 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_virtual_endpoint_gateway.rst b/docs/ibm_is_virtual_endpoint_gateway.rst index d94f81cba..eab705376 100644 --- a/docs/ibm_is_virtual_endpoint_gateway.rst +++ b/docs/ibm_is_virtual_endpoint_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) Endpoint gateway name + + + target (True, list, None) + (Required for new resource) Endpoint gateway target + + vpc (True, str, None) (Required for new resource) The VPC id @@ -39,10 +47,6 @@ Parameters List of tags for VPE - name (True, str, None) - (Required for new resource) Endpoint gateway name - - resource_group (False, str, None) The resource group id @@ -55,10 +59,6 @@ Parameters Endpoint gateway IPs - target (True, list, None) - (Required for new resource) Endpoint gateway target - - 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 92b08ba05..22c9a2023 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.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 4617f5f57..998dd97dd 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_ip.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - reserved_ip (True, str, None) - (Required for new resource) Endpoint gateway IP id - - gateway (True, str, None) (Required for new resource) Endpoint gateway ID + reserved_ip (True, str, None) + (Required for new resource) Endpoint gateway IP 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_ips_info.rst b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst index 343738478..ebdeabe9b 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.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 c9f5bd7c1..4298a7250 100644 --- a/docs/ibm_is_virtual_endpoint_gateways_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume.rst b/docs/ibm_is_volume.rst index 00d776bea..a7184aa3d 100644 --- a/docs/ibm_is_volume.rst +++ b/docs/ibm_is_volume.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) Zone name + name (True, str, None) + (Required for new resource) Volume name - resource_group (False, str, None) - Resource group name + profile (True, str, None) + (Required for new resource) Volume profile name - delete_all_snapshots (False, bool, None) - Deletes all snapshots created from this volume + iops (False, int, None) + IOPS value for the Volume tags (False, list, None) UserTags for the volume instance - name (True, str, None) - (Required for new resource) Volume name - - capacity (False, int, 100) Volume capacity value - encryption_key (False, str, None) - Volume encryption key info + delete_all_snapshots (False, bool, None) + Deletes all snapshots created from this volume - iops (False, int, None) - IOPS value for the Volume + access_tags (False, list, None) + Access management tags for the volume instance - profile (True, str, None) - (Required for new resource) Volume profile name + zone (True, str, None) + (Required for new resource) Zone name + + + encryption_key (False, str, None) + Volume encryption key info + + + resource_group (False, str, None) + Resource group name id (False, str, None) diff --git a/docs/ibm_is_volume_info.rst b/docs/ibm_is_volume_info.rst index dddcaa058..c7f23c1dd 100644 --- a/docs/ibm_is_volume_info.rst +++ b/docs/ibm_is_volume_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume_profile_info.rst b/docs/ibm_is_volume_profile_info.rst index b1c78eb48..ac97715ca 100644 --- a/docs/ibm_is_volume_profile_info.rst +++ b/docs/ibm_is_volume_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume_profiles_info.rst b/docs/ibm_is_volume_profiles_info.rst index 568cdfa77..4e336f316 100644 --- a/docs/ibm_is_volume_profiles_info.rst +++ b/docs/ibm_is_volume_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volumes_info.rst b/docs/ibm_is_volumes_info.rst index 89c7fb3bc..ce4240142 100644 --- a/docs/ibm_is_volumes_info.rst +++ b/docs/ibm_is_volumes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - volume_name (False, str, None) - Volume name identifier. - - zone_name (False, str, None) Zone name identifier. + volume_name (False, str, None) + Volume name 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.rst b/docs/ibm_is_vpc.rst index 689f40eca..de4cb358a 100644 --- a/docs/ibm_is_vpc.rst +++ b/docs/ibm_is_vpc.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,6 +35,18 @@ Parameters Set to true if classic access needs to enabled to VPC + default_routing_table_name (False, str, None) + Default routing table name + + + address_prefix_management (False, str, auto) + Address Prefix management value + + + tags (False, list, None) + List of tags + + name (True, str, None) (Required for new resource) VPC name @@ -47,22 +59,10 @@ Parameters Default security group name - address_prefix_management (False, str, auto) - Address Prefix management value - - - default_routing_table_name (False, str, None) - Default routing table name - - resource_group (False, str, None) Resource group info - tags (False, list, None) - List of tags - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_address_prefix.rst b/docs/ibm_is_vpc_address_prefix.rst index a416f7d60..a75a8d16e 100644 --- a/docs/ibm_is_vpc_address_prefix.rst +++ b/docs/ibm_is_vpc_address_prefix.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_address_prefix_info.rst b/docs/ibm_is_vpc_address_prefix_info.rst index ad3599aec..b7a45dfb7 100644 --- a/docs/ibm_is_vpc_address_prefix_info.rst +++ b/docs/ibm_is_vpc_address_prefix_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc_name (False, str, None) - The VPC name. + vpc (False, str, None) + The VPC identifier. address_prefix (False, str, None) The address prefix identifier. - vpc (False, str, None) - The VPC identifier. - - address_prefix_name (False, str, None) The address prefix name. + vpc_name (False, str, None) + The VPC 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_vpc_address_prefixes_info.rst b/docs/ibm_is_vpc_address_prefixes_info.rst index 5ec11a716..fb6767751 100644 --- a/docs/ibm_is_vpc_address_prefixes_info.rst +++ b/docs/ibm_is_vpc_address_prefixes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_default_routing_table_info.rst b/docs/ibm_is_vpc_default_routing_table_info.rst index 5a419f2d6..00beb09a7 100644 --- a/docs/ibm_is_vpc_default_routing_table_info.rst +++ b/docs/ibm_is_vpc_default_routing_table_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_info.rst b/docs/ibm_is_vpc_info.rst index c8ad30460..5342f5529 100644 --- a/docs/ibm_is_vpc_info.rst +++ b/docs/ibm_is_vpc_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) + name (False, str, None) None - name (False, str, None) + identifier (False, str, None) None diff --git a/docs/ibm_is_vpc_route.rst b/docs/ibm_is_vpc_route.rst index 774a36903..a9b4d6e4e 100644 --- a/docs/ibm_is_vpc_route.rst +++ b/docs/ibm_is_vpc_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ 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 + + name (True, str, None) (Required for new resource) VPC route name @@ -43,14 +51,6 @@ Parameters (Required for new resource) VPC route destination CIDR value - 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 - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_routing_table_info.rst b/docs/ibm_is_vpc_routing_table_info.rst index f5baa16a1..cea41cba3 100644 --- a/docs/ibm_is_vpc_routing_table_info.rst +++ b/docs/ibm_is_vpc_routing_table_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_routing_table_route.rst b/docs/ibm_is_vpc_routing_table_route.rst index 7edfec577..b13f88fce 100644 --- a/docs/ibm_is_vpc_routing_table_route.rst +++ b/docs/ibm_is_vpc_routing_table_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,34 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc (True, str, None) - (Required for new resource) The VPC identifier. - - - action (False, str, deliver) - The action to perform with a packet matching the route. + destination (True, str, None) + (Required for new resource) The destination of the 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. routing_table (True, str, None) (Required for new resource) The routing table identifier. - destination (True, str, None) - (Required for new resource) The destination of the route. + vpc (True, str, None) + (Required for new resource) The VPC 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. + name (False, str, None) + The user-defined name for this 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_route_info.rst b/docs/ibm_is_vpc_routing_table_route_info.rst index 437c36d91..e562eae83 100644 --- a/docs/ibm_is_vpc_routing_table_route_info.rst +++ b/docs/ibm_is_vpc_routing_table_route_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - routing_table (True, str, None) - The routing table identifier. - - - route_id (False, str, None) - The VPC routing table route identifier. - - vpc (True, str, None) The VPC identifier. @@ -45,6 +37,14 @@ Parameters The user-defined name for this route. + routing_table (True, str, None) + The routing table identifier. + + + route_id (False, str, None) + The VPC routing table route 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_table_routes_info.rst b/docs/ibm_is_vpc_routing_table_routes_info.rst index 2a4d30c9f..cf9b7e957 100644 --- a/docs/ibm_is_vpc_routing_table_routes_info.rst +++ b/docs/ibm_is_vpc_routing_table_routes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_routing_tables_info.rst b/docs/ibm_is_vpc_routing_tables_info.rst index d6eca60db..6e761de7c 100644 --- a/docs/ibm_is_vpc_routing_tables_info.rst +++ b/docs/ibm_is_vpc_routing_tables_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpcs_info.rst b/docs/ibm_is_vpcs_info.rst index 3d20b0d42..9be8d82dc 100644 --- a/docs/ibm_is_vpcs_info.rst +++ b/docs/ibm_is_vpcs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateway.rst b/docs/ibm_is_vpn_gateway.rst index ecf1ae25a..bd4d451b7 100644 --- a/docs/ibm_is_vpn_gateway.rst +++ b/docs/ibm_is_vpn_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,20 +35,20 @@ Parameters (Required for new resource) VPNGateway subnet info - resource_group (False, str, None) - The resource group for this VPN gateway + name (True, str, None) + (Required for new resource) VPN Gateway instance name - mode (False, str, route) - mode in VPN gateway(route/policy) + resource_group (False, str, None) + The resource group for this VPN gateway tags (False, list, None) VPN Gateway tags list - name (True, str, None) - (Required for new resource) VPN Gateway instance name + mode (False, str, route) + mode in VPN gateway(route/policy) id (False, str, None) diff --git a/docs/ibm_is_vpn_gateway_connection.rst b/docs/ibm_is_vpn_gateway_connection.rst index d70633bb9..f830ea511 100644 --- a/docs/ibm_is_vpn_gateway_connection.rst +++ b/docs/ibm_is_vpn_gateway_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) VPN Gateway connection name - - - vpn_gateway (True, str, None) - (Required for new resource) VPN Gateway info + ike_policy (False, str, None) + VPN gateway connection IKE Policy - action (False, str, restart) - Action detection for dead peer detection action + name (True, str, None) + (Required for new resource) VPN Gateway connection name - interval (False, int, 2) - Interval for dead peer detection interval + 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 + peer_cidrs (False, list, None) + VPN gateway connection peer CIDRs - timeout (False, int, 10) - Timeout for dead peer detection + action (False, str, restart) + Action detection for dead peer detection action ipsec_policy (False, str, None) IP security policy for vpn gateway connection - ike_policy (False, str, None) - VPN gateway connection IKE Policy + vpn_gateway (True, str, None) + (Required for new resource) VPN Gateway info + + + timeout (False, int, 10) + Timeout for dead peer detection admin_state_up (False, bool, False) VPN gateway connection admin state - peer_address (True, str, None) - (Required for new resource) VPN gateway connection peer address + local_cidrs (False, list, None) + VPN gateway connection local CIDRs - peer_cidrs (False, list, None) - VPN gateway connection peer CIDRs + interval (False, int, 2) + Interval for dead peer detection interval id (False, str, None) diff --git a/docs/ibm_is_vpn_gateway_connection_info.rst b/docs/ibm_is_vpn_gateway_connection_info.rst index 727c330a2..c0fb9d4bf 100644 --- a/docs/ibm_is_vpn_gateway_connection_info.rst +++ b/docs/ibm_is_vpn_gateway_connection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpn_gateway (False, str, None) - The VPN gateway identifier. + vpn_gateway_name (False, str, None) + The VPN gateway name. vpn_gateway_connection_name (False, str, None) The VPN gateway connection name. - vpn_gateway_connection (False, str, None) - The VPN gateway connection identifier. + vpn_gateway (False, str, None) + The VPN gateway identifier. - vpn_gateway_name (False, str, None) - The VPN gateway name. + vpn_gateway_connection (False, str, None) + The VPN gateway connection identifier. generation (False, int, 2) diff --git a/docs/ibm_is_vpn_gateway_connections_info.rst b/docs/ibm_is_vpn_gateway_connections_info.rst index 94267a98d..b0210441d 100644 --- a/docs/ibm_is_vpn_gateway_connections_info.rst +++ b/docs/ibm_is_vpn_gateway_connections_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateway_info.rst b/docs/ibm_is_vpn_gateway_info.rst index fb8eccd0e..3c51edebd 100644 --- a/docs/ibm_is_vpn_gateway_info.rst +++ b/docs/ibm_is_vpn_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateways_info.rst b/docs/ibm_is_vpn_gateways_info.rst index ba2024a25..27073c3a7 100644 --- a/docs/ibm_is_vpn_gateways_info.rst +++ b/docs/ibm_is_vpn_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_client.rst b/docs/ibm_is_vpn_server_client.rst index d997c5941..5036b5a83 100644 --- a/docs/ibm_is_vpn_server_client.rst +++ b/docs/ibm_is_vpn_server_client.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_client_configuration_info.rst b/docs/ibm_is_vpn_server_client_configuration_info.rst index e986d2b85..7a0c08bda 100644 --- a/docs/ibm_is_vpn_server_client_configuration_info.rst +++ b/docs/ibm_is_vpn_server_client_configuration_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_client_info.rst b/docs/ibm_is_vpn_server_client_info.rst index 4afd73bee..f65687ad4 100644 --- a/docs/ibm_is_vpn_server_client_info.rst +++ b/docs/ibm_is_vpn_server_client_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_clients_info.rst b/docs/ibm_is_vpn_server_clients_info.rst index 0d04d61cb..63b783def 100644 --- a/docs/ibm_is_vpn_server_clients_info.rst +++ b/docs/ibm_is_vpn_server_clients_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_info.rst b/docs/ibm_is_vpn_server_info.rst index 6dd142895..46e119eb9 100644 --- a/docs/ibm_is_vpn_server_info.rst +++ b/docs/ibm_is_vpn_server_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_route_info.rst b/docs/ibm_is_vpn_server_route_info.rst index 11a5231e1..4a828e7ff 100644 --- a/docs/ibm_is_vpn_server_route_info.rst +++ b/docs/ibm_is_vpn_server_route_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpn_server (True, str, None) - The VPN server identifier. - - identifier (False, str, None) The unique identifier for this VPN server route @@ -41,6 +37,10 @@ Parameters The unique user-defined name for this VPN server route + vpn_server (True, str, None) + The VPN server 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_vpn_server_routes_info.rst b/docs/ibm_is_vpn_server_routes_info.rst index 5a2afb681..9ade7170f 100644 --- a/docs/ibm_is_vpn_server_routes_info.rst +++ b/docs/ibm_is_vpn_server_routes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_servers_info.rst b/docs/ibm_is_vpn_servers_info.rst index 473976ed5..ca1683c46 100644 --- a/docs/ibm_is_vpn_servers_info.rst +++ b/docs/ibm_is_vpn_servers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_zone_info.rst b/docs/ibm_is_zone_info.rst index 4a7e8cbbc..d223ec849 100644 --- a/docs/ibm_is_zone_info.rst +++ b/docs/ibm_is_zone_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_zones_info.rst b/docs/ibm_is_zones_info.rst index e44bb6b00..5b2b6544d 100644 --- a/docs/ibm_is_zones_info.rst +++ b/docs/ibm_is_zones_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_instance_policies.rst b/docs/ibm_kms_instance_policies.rst new file mode 100644 index 000000000..64f38adf8 --- /dev/null +++ b/docs/ibm_kms_instance_policies.rst @@ -0,0 +1,93 @@ + +ibm_kms_instance_policies -- Configure IBM Cloud 'ibm_kms_instance_policies' resource +===================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_kms_instance_policies' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/kms_instance_policies + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + (Required for new resource) Key protect or hpcs instance GUID or CRN + + + dual_auth_delete (False, list, None) + Data associated with the dual authorization delete policy for instance + + + rotation (False, list, None) + Data associated with the rotation policy for instance + + + key_create_import_access (False, list, None) + Data associated with the key create import access policy for the instance + + + metrics (False, list, None) + Data associated with the metric policy for instance + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_kms_instance_policies_info.rst b/docs/ibm_kms_instance_policies_info.rst new file mode 100644 index 000000000..a7b52d4b7 --- /dev/null +++ b/docs/ibm_kms_instance_policies_info.rst @@ -0,0 +1,71 @@ + +ibm_kms_instance_policies_info -- Retrieve IBM Cloud 'ibm_kms_instance_policies' resource +========================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_kms_instance_policies' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/kms_instance_policies + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + Key protect or hpcs instance GUID or CRN + + + policy_type (False, str, None) + Type of Policy to be Retrieved + + + 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'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_kms_key.rst b/docs/ibm_kms_key.rst index cf13095cd..3c7f5cfe8 100644 --- a/docs/ibm_kms_key.rst +++ b/docs/ibm_kms_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - force_delete (False, bool, False) - set to true to force delete the key + instance_id (True, str, None) + (Required for new resource) Key protect or hpcs instance GUID or CRN - 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 + iv_value (False, str, None) + Only for imported root key - instance_id (True, str, None) - (Required for new resource) Key protect or hpcs instance GUID or CRN + standard_key (False, bool, False) + Standard key type + + + force_delete (False, bool, False) + set to true to force delete the key key_name (True, str, None) @@ -51,24 +55,20 @@ Parameters public or private - standard_key (False, bool, False) - Standard key type - - payload (False, str, None) None - key_ring_id (False, str, default) - Key Ring for the Key - - encrypted_nonce (False, str, None) Only for imported root key - iv_value (False, str, None) - Only for imported root key + key_ring_id (False, str, default) + Key Ring for the Key + + + 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) diff --git a/docs/ibm_kms_key_alias.rst b/docs/ibm_kms_key_alias.rst index 2eb0b3059..48e915e99 100644 --- a/docs/ibm_kms_key_alias.rst +++ b/docs/ibm_kms_key_alias.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + existing_alias (False, str, None) + Existing Alias of the Key + + + endpoint_type (False, str, None) + public or private + + instance_id (True, str, None) (Required for new resource) Key ID @@ -43,14 +51,6 @@ Parameters Key ID - existing_alias (False, str, None) - Existing Alias of the Key - - - endpoint_type (False, str, None) - public or private - - 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 f78c15065..fd59df4b8 100644 --- a/docs/ibm_kms_key_info.rst +++ b/docs/ibm_kms_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,18 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key_name (False, str, None) - The name of the key to be fetched - - - alias (False, str, None) - The alias associated with the key - - - endpoint_type (False, str, public) - public or private - - instance_id (True, str, None) Key protect or hpcs instance GUID @@ -53,6 +41,18 @@ Parameters None + key_name (False, str, None) + The name of the key to be fetched + + + alias (False, str, None) + The alias associated with the key + + + 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_kms_key_policies.rst b/docs/ibm_kms_key_policies.rst index 94c20d8d9..63c761726 100644 --- a/docs/ibm_kms_key_policies.rst +++ b/docs/ibm_kms_key_policies.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alias (False, str, None) - None - - - endpoint_type (False, str, public) - public or private - - instance_id (True, str, None) (Required for new resource) Key protect or hpcs instance GUID @@ -47,6 +39,10 @@ Parameters Key ID + alias (False, str, None) + None + + rotation (False, list, None) Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 @@ -55,6 +51,10 @@ Parameters Data associated with the dual authorization delete policy. + endpoint_type (False, str, public) + public or private + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_kms_key_policies_info.rst b/docs/ibm_kms_key_policies_info.rst index e02c52c2b..42b1ef4a2 100644 --- a/docs/ibm_kms_key_policies_info.rst +++ b/docs/ibm_kms_key_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,18 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alias (False, str, None) - Alias of the Key - - - policies (False, list, None) - Creates or updates one or more policies for the specified key - - - instance_id (True, str, None) - Key protect or hpcs instance GUID - - endpoint_type (False, str, public) public or private @@ -49,6 +37,14 @@ Parameters Key ID of the Key + alias (False, str, None) + Alias of the Key + + + instance_id (True, str, None) + Key protect or hpcs instance GUID + + 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_kms_key_rings.rst b/docs/ibm_kms_key_rings.rst index 2b35328a1..8036c67d7 100644 --- a/docs/ibm_kms_key_rings.rst +++ b/docs/ibm_kms_key_rings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key_rings_info.rst b/docs/ibm_kms_key_rings_info.rst index 63287017c..3e6b7946a 100644 --- a/docs/ibm_kms_key_rings_info.rst +++ b/docs/ibm_kms_key_rings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ 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 + 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_kms_key_with_policy_overrides.rst b/docs/ibm_kms_key_with_policy_overrides.rst new file mode 100644 index 000000000..6a6418f7a --- /dev/null +++ b/docs/ibm_kms_key_with_policy_overrides.rst @@ -0,0 +1,121 @@ + +ibm_kms_key_with_policy_overrides -- Configure IBM Cloud 'ibm_kms_key_with_policy_overrides' resource +===================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_kms_key_with_policy_overrides' resource + +This module does not support idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/kms_key_with_policy_overrides + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + iv_value (False, str, None) + Only for imported root key + + + 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 + + + instance_id (True, str, None) + (Required for new resource) Key protect or HPCS instance GUID or CRN + + + standard_key (False, bool, False) + Standard key type + + + payload (False, str, None) + None + + + encrypted_nonce (False, str, None) + Only for imported root key + + + rotation (False, list, None) + Data associated with the key rotation policy + + + dual_auth_delete (False, list, None) + Data associated with the dual authorization delete policy. + + + key_ring_id (False, str, default) + Key Ring for the Key + + + endpoint_type (False, str, None) + Public or Private + + + force_delete (False, bool, False) + set to true to force delete the key + + + key_name (True, str, None) + (Required for new resource) Key name + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_kms_keys_info.rst b/docs/ibm_kms_keys_info.rst index 59c1c121c..8fe88e803 100644 --- a/docs/ibm_kms_keys_info.rst +++ b/docs/ibm_kms_keys_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,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 @@ -53,6 +49,10 @@ Parameters None + 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 cd44736a7..e4f1896b8 100644 --- a/docs/ibm_kp_key.rst +++ b/docs/ibm_kp_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - payload (False, str, None) - None + standard_key (False, bool, False) + Standard key type encrypted_nonce (False, str, None) @@ -51,8 +51,8 @@ Parameters (Required for new resource) Key name - standard_key (False, bool, False) - Standard key type + payload (False, str, None) + None force_delete (False, bool, False) diff --git a/docs/ibm_kp_key_info.rst b/docs/ibm_kp_key_info.rst index 44f408304..5483d9cef 100644 --- a/docs/ibm_kp_key_info.rst +++ b/docs/ibm_kp_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_lb.rst b/docs/ibm_lb.rst index 26b576bbf..a8cb8a71b 100644 --- a/docs/ibm_lb.rst +++ b/docs/ibm_lb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name info - - security_certificate_id (False, int, None) Security certificate ID @@ -47,8 +43,8 @@ Parameters boolean value true if SSL offload is enabled - connections (True, int, None) - (Required for new resource) Connections value + datacenter (True, str, None) + (Required for new resource) Datacenter name info ha_enabled (False, bool, False) @@ -59,6 +55,10 @@ Parameters Tags associated with resource + connections (True, int, None) + (Required for new resource) Connections value + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_service.rst b/docs/ibm_lb_service.rst index cac5be420..b91907d67 100644 --- a/docs/ibm_lb_service.rst +++ b/docs/ibm_lb_service.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + weight (True, int, None) + (Required for new resource) Weight value + + tags (False, list, None) Tags for the resource @@ -55,10 +59,6 @@ Parameters (Required for new resource) health check type - weight (True, int, None) - (Required for new resource) Weight value - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_service_group.rst b/docs/ibm_lb_service_group.rst index 2d3dffa5c..1b46f91f6 100644 --- a/docs/ibm_lb_service_group.rst +++ b/docs/ibm_lb_service_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - routing_type (True, str, None) - (Required for new resource) Routing type + routing_method (True, str, None) + (Required for new resource) Routing method tags (False, list, None) List of tags + load_balancer_id (True, int, None) + (Required for new resource) Loadbalancer ID + + allocation (True, int, None) (Required for new resource) Allocation type @@ -47,16 +51,12 @@ Parameters (Required for new resource) Port number - routing_method (True, str, None) - (Required for new resource) Routing method - - timeout (False, int, None) Timeout value - load_balancer_id (True, int, None) - (Required for new resource) Loadbalancer ID + routing_type (True, str, None) + (Required for new resource) Routing type id (False, str, None) diff --git a/docs/ibm_lb_vpx.rst b/docs/ibm_lb_vpx.rst index 96f3b7a71..14136cb41 100644 --- a/docs/ibm_lb_vpx.rst +++ b/docs/ibm_lb_vpx.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,22 +35,26 @@ Parameters (Required for new resource) version info - public_vlan_id (False, int, None) - Piblic VLAN id - - - private_subnet (False, str, None) - Private subnet + ip_count (True, int, None) + (Required for new resource) IP address count tags (False, list, None) List of the tags + datacenter (True, str, None) + (Required for new resource) Datacenter name + + speed (True, int, None) (Required for new resource) Speed value + private_subnet (False, str, None) + Private subnet + + public_subnet (False, str, None) Public subnet @@ -63,12 +67,8 @@ Parameters (Required for new resource) Plan info - datacenter (True, str, None) - (Required for new resource) Datacenter name - - - ip_count (True, int, None) - (Required for new resource) IP address count + public_vlan_id (False, int, None) + Piblic VLAN id id (False, str, None) diff --git a/docs/ibm_lb_vpx_ha.rst b/docs/ibm_lb_vpx_ha.rst index 09ce8fedc..5a75b14ed 100644 --- a/docs/ibm_lb_vpx_ha.rst +++ b/docs/ibm_lb_vpx_ha.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + secondary_id (True, int, None) + (Required for new resource) Secondary ID + + stay_secondary (False, bool, None) Boolean value for stay secondary @@ -43,10 +47,6 @@ Parameters (Required for new resource) primary ID - secondary_id (True, int, None) - (Required for new resource) Secondary ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_vpx_service.rst b/docs/ibm_lb_vpx_service.rst index 2fccba488..04edb673f 100644 --- a/docs/ibm_lb_vpx_service.rst +++ b/docs/ibm_lb_vpx_service.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + vip_id (True, str, None) + (Required for new resource) VIP id + + destination_port (True, int, None) (Required for new resource) Destination Port number + weight (True, int, None) + (Required for new resource) Weight value + + connection_limit (True, int, None) (Required for new resource) Number of connections limit @@ -43,28 +51,20 @@ Parameters (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 + tags (False, list, None) + list of tags associated with the resource name (True, str, None) (Required for new resource) name - weight (True, int, None) - (Required for new resource) Weight value - - - tags (False, list, None) - list of tags associated with the resource + destination_ip_address (True, str, None) + (Required for new resource) Destination IP Address - vip_id (True, str, None) - (Required for new resource) VIP id + usip (False, str, False) + usip info id (False, str, None) diff --git a/docs/ibm_lb_vpx_vip.rst b/docs/ibm_lb_vpx_vip.rst index 479797d6c..557e45e77 100644 --- a/docs/ibm_lb_vpx_vip.rst +++ b/docs/ibm_lb_vpx_vip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - load_balancing_method (True, str, None) - (Required for new resource) Load balancing method + type (True, str, None) + (Required for new resource) Type - persistence (False, str, None) - Persistance value + 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 @@ -59,12 +63,8 @@ Parameters (Required for new resource) Source Port number - type (True, str, None) - (Required for new resource) Type - - - security_certificate_id (False, int, None) - security certificate ID + tags (False, list, None) + List of tags id (False, str, None) diff --git a/docs/ibm_lbaas.rst b/docs/ibm_lbaas.rst index 4b3344940..3e4f0d501 100644 --- a/docs/ibm_lbaas.rst +++ b/docs/ibm_lbaas.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnets (True, list, None) - (Required for new resource) The subnet where this Load Balancer will be provisioned. + type (False, str, PUBLIC) + Specifies if a load balancer is public or private use_system_public_ip_pool (False, bool, None) @@ -43,26 +43,26 @@ Parameters Protocols to be assigned to this load balancer. - type (False, str, PUBLIC) - Specifies if a load balancer is public or private + ssl_ciphers (False, list, None) + None + + + wait_time_minutes (False, int, 90) + None description (False, str, None) Description of a load balancer. - ssl_ciphers (False, list, None) - 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. - wait_time_minutes (False, int, 90) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lbaas_health_monitor.rst b/docs/ibm_lbaas_health_monitor.rst index 5ba78a743..4561cee54 100644 --- a/docs/ibm_lbaas_health_monitor.rst +++ b/docs/ibm_lbaas_health_monitor.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + port (True, int, None) + (Required for new resource) Port number + + + interval (False, int, 5) + Interval value + + max_retries (False, int, 2) Maximum retry counts @@ -55,14 +63,6 @@ Parameters (Required for new resource) Protocol value - port (True, int, None) - (Required for new resource) Port number - - - interval (False, int, 5) - Interval value - - 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 550f69c46..54c791e64 100644 --- a/docs/ibm_lbaas_info.rst +++ b/docs/ibm_lbaas_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_lbaas_server_instance_attachment.rst b/docs/ibm_lbaas_server_instance_attachment.rst index 2f4167127..9c61a83dc 100644 --- a/docs/ibm_lbaas_server_instance_attachment.rst +++ b/docs/ibm_lbaas_server_instance_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_multi_vlan_firewall.rst b/docs/ibm_multi_vlan_firewall.rst index 7153e4b43..5264131ab 100644 --- a/docs/ibm_multi_vlan_firewall.rst +++ b/docs/ibm_multi_vlan_firewall.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,14 +35,6 @@ Parameters (Required for new resource) POD name - addon_configuration (False, list, None) - 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 @@ -51,6 +43,14 @@ Parameters (Required for new resource) Firewall type + addon_configuration (False, list, None) + 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 + + 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 58629018a..fd8b812ad 100644 --- a/docs/ibm_network_gateway.rst +++ b/docs/ibm_network_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,7 +31,7 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ssh_key_ids (False, list, None) + post_install_script_uri (False, str, None) None @@ -43,7 +43,7 @@ Parameters (Required for new resource) The hardware members of this network Gateway - post_install_script_uri (False, str, None) + ssh_key_ids (False, list, None) None diff --git a/docs/ibm_network_gateway_vlan_association.rst b/docs/ibm_network_gateway_vlan_association.rst index 9eeb11207..7b9a532fc 100644 --- a/docs/ibm_network_gateway_vlan_association.rst +++ b/docs/ibm_network_gateway_vlan_association.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_interface_sg_attachment.rst b/docs/ibm_network_interface_sg_attachment.rst index 61c68650a..2ee960478 100644 --- a/docs/ibm_network_interface_sg_attachment.rst +++ b/docs/ibm_network_interface_sg_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + security_group_id (True, int, None) + (Required for new resource) Security group ID + + network_interface_id (True, int, None) (Required for new resource) Network interface ID @@ -39,10 +43,6 @@ Parameters Boolean value set to true, if soft reboot needs to be done. - security_group_id (True, int, None) - (Required for new resource) Security group ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_public_ip.rst b/docs/ibm_network_public_ip.rst index 060591d50..0045a4894 100644 --- a/docs/ibm_network_public_ip.rst +++ b/docs/ibm_network_public_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + routes_to (True, str, None) + (Required for new resource) Route info + + tags (False, list, None) List of tags @@ -39,10 +43,6 @@ Parameters Additional notes - routes_to (True, str, None) - (Required for new resource) Route info - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_vlan.rst b/docs/ibm_network_vlan.rst index 7e332b198..d7274cc15 100644 --- a/docs/ibm_network_vlan.rst +++ b/docs/ibm_network_vlan.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name - - type (True, str, None) (Required for new resource) VLAN type - name (False, str, None) - VLAN name - - router_hostname (False, str, None) router host name + datacenter (True, str, None) + (Required for new resource) Datacenter name + + tags (False, list, None) List of tags + name (False, str, None) + VLAN name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_vlan_info.rst b/docs/ibm_network_vlan_info.rst index b44e1d37a..4a6ef491d 100644 --- a/docs/ibm_network_vlan_info.rst +++ b/docs/ibm_network_vlan_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,15 +29,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 d0db16a2f..396c269fc 100644 --- a/docs/ibm_network_vlan_spanning.rst +++ b/docs/ibm_network_vlan_spanning.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_ob_logging.rst b/docs/ibm_ob_logging.rst index 6ae6fcc40..2ec11d1b4 100644 --- a/docs/ibm_ob_logging.rst +++ b/docs/ibm_ob_logging.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - private_endpoint (False, bool, None) - Add this option to connect to your LogDNA service instance through the private service endpoint + instance_id (True, str, None) + (Required for new resource) ID of the LogDNA service instance to latch cluster (True, str, None) (Required for new resource) Name or ID of the cluster to be used. - instance_id (True, str, None) - (Required for new resource) ID of the LogDNA service instance to latch + private_endpoint (False, bool, None) + Add this option to connect to your LogDNA service instance through the private service endpoint logdna_ingestion_key (False, str, None) diff --git a/docs/ibm_ob_monitoring.rst b/docs/ibm_ob_monitoring.rst index be4d9b8a5..9e889154d 100644 --- a/docs/ibm_ob_monitoring.rst +++ b/docs/ibm_ob_monitoring.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - (Required for new resource) Name or ID of the cluster to be used. - - instance_id (True, str, None) (Required for new resource) ID of the Sysdig service instance to latch @@ -43,6 +39,10 @@ Parameters Sysdig ingestion key + cluster (True, str, None) + (Required for new resource) Name or ID of the cluster to be used. + + private_endpoint (False, bool, None) Add this option to connect to your Sysdig service instance through the private service endpoint diff --git a/docs/ibm_object_storage_account.rst b/docs/ibm_object_storage_account.rst index 9fa51ddf8..2962fd8a9 100644 --- a/docs/ibm_object_storage_account.rst +++ b/docs/ibm_object_storage_account.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_org.rst b/docs/ibm_org.rst index a7939985e..a9638a320 100644 --- a/docs/ibm_org.rst +++ b/docs/ibm_org.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_org_info.rst b/docs/ibm_org_info.rst index 34062d571..b3ef8becb 100644 --- a/docs/ibm_org_info.rst +++ b/docs/ibm_org_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_org_quota_info.rst b/docs/ibm_org_quota_info.rst index de2db1fb6..ed891d117 100644 --- a/docs/ibm_org_quota_info.rst +++ b/docs/ibm_org_quota_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_catalog_images_info.rst b/docs/ibm_pi_catalog_images_info.rst index 1995f7307..a5b5c8a03 100644 --- a/docs/ibm_pi_catalog_images_info.rst +++ b/docs/ibm_pi_catalog_images_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_connection.rst b/docs/ibm_pi_cloud_connection.rst index 0a7311d70..9a9255b74 100644 --- a/docs/ibm_pi_cloud_connection.rst +++ b/docs/ibm_pi_cloud_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_connection_speed (True, int, None) - (Required for new resource) Speed of the cloud connection (speed in megabits per second) + pi_cloud_connection_transit_enabled (False, bool, False) + Enable transit gateway for this cloud connection - pi_cloud_connection_networks (False, list, None) - Set of Networks to attach to this cloud connection + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID - pi_cloud_connection_gre_destination_address (False, str, None) - GRE destination IP address + pi_cloud_connection_global_routing (False, bool, False) + Enable global routing for this cloud connection - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID + pi_cloud_connection_networks (False, list, None) + Set of Networks to attach to this cloud connection - pi_cloud_connection_name (True, str, None) - (Required for new resource) Name of the cloud connection + pi_cloud_connection_classic_enabled (False, bool, False) + Enable classic endpoint destination - pi_cloud_connection_vpc_enabled (False, bool, False) - Enable VPC for this cloud connection + pi_cloud_connection_gre_cidr (False, str, None) + GRE network in CIDR notation pi_cloud_connection_vpc_crns (False, list, None) Set of VPCs to attach to this cloud connection - pi_cloud_connection_metered (False, bool, False) - Enable metered for this cloud connection + pi_cloud_connection_name (True, str, None) + (Required for new resource) Name of the cloud connection - pi_cloud_connection_gre_cidr (False, str, None) - GRE network in CIDR notation + pi_cloud_connection_speed (True, int, None) + (Required for new resource) Speed of the cloud connection (speed in megabits per second) - pi_cloud_connection_global_routing (False, bool, False) - Enable global routing for this cloud connection + pi_cloud_connection_metered (False, bool, False) + Enable metered for this cloud connection - pi_cloud_connection_classic_enabled (False, bool, False) - Enable classic endpoint destination + pi_cloud_connection_gre_destination_address (False, str, None) + GRE destination IP address - pi_cloud_connection_transit_enabled (False, bool, False) - Enable transit gateway for this cloud connection + pi_cloud_connection_vpc_enabled (False, bool, False) + Enable VPC for this cloud connection id (False, str, None) diff --git a/docs/ibm_pi_cloud_connection_info.rst b/docs/ibm_pi_cloud_connection_info.rst index 2b2eead08..3c876deda 100644 --- a/docs/ibm_pi_cloud_connection_info.rst +++ b/docs/ibm_pi_cloud_connection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - None - - pi_cloud_connection_name (True, str, None) Cloud Connection Name to be used + pi_cloud_instance_id (True, str, None) + None + + 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_cloud_connection_network_attach.rst b/docs/ibm_pi_cloud_connection_network_attach.rst index 6ee251121..335b41a71 100644 --- a/docs/ibm_pi_cloud_connection_network_attach.rst +++ b/docs/ibm_pi_cloud_connection_network_attach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_connections_info.rst b/docs/ibm_pi_cloud_connections_info.rst index dc311a5c3..0d269ce60 100644 --- a/docs/ibm_pi_cloud_connections_info.rst +++ b/docs/ibm_pi_cloud_connections_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_instance_info.rst b/docs/ibm_pi_cloud_instance_info.rst index 50b04d11a..0aa469167 100644 --- a/docs/ibm_pi_cloud_instance_info.rst +++ b/docs/ibm_pi_cloud_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_console_language.rst b/docs/ibm_pi_console_language.rst index 7eef58241..b440e277b 100644 --- a/docs/ibm_pi_console_language.rst +++ b/docs/ibm_pi_console_language.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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_instance_name (True, str, None) (Required for new resource) The unique identifier or name of the instance @@ -39,10 +43,6 @@ Parameters (Required for new resource) Language code - 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_console_languages_info.rst b/docs/ibm_pi_console_languages_info.rst index b2a294862..2e2b6155e 100644 --- a/docs/ibm_pi_console_languages_info.rst +++ b/docs/ibm_pi_console_languages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_instance_name (True, str, None) - The unique identifier or name of the instance - - pi_cloud_instance_id (True, str, None) None + pi_instance_name (True, str, None) + The unique identifier or name of the instance + + 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_dhcp.rst b/docs/ibm_pi_dhcp.rst index d23f924ed..3fb1c2ffb 100644 --- a/docs/ibm_pi_dhcp.rst +++ b/docs/ibm_pi_dhcp.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_dhcp_name (False, str, None) - Optional name of DHCP Service (will be prefixed by DHCP identifier) + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID - pi_dhcp_snat_enabled (False, bool, True) - Indicates if SNAT will be enabled for the DHCP service + pi_cloud_connection_id (False, str, None) + Optional cloud connection uuid to connect with DHCP private network - pi_dns_server (False, str, None) - Optional DNS Server for DHCP service + pi_dhcp_name (False, str, None) + Optional name of DHCP Service (will be prefixed by DHCP identifier) pi_cidr (False, str, None) Optional cidr for DHCP private network - pi_cloud_connection_id (False, str, None) - Optional cloud connection uuid to connect with DHCP private network + pi_dns_server (False, str, None) + Optional DNS Server for DHCP service - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID + pi_dhcp_snat_enabled (False, bool, True) + Indicates if SNAT will be enabled for the DHCP service id (False, str, None) diff --git a/docs/ibm_pi_dhcp_info.rst b/docs/ibm_pi_dhcp_info.rst index aa184fa4b..c7002152d 100644 --- a/docs/ibm_pi_dhcp_info.rst +++ b/docs/ibm_pi_dhcp_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_dhcps_info.rst b/docs/ibm_pi_dhcps_info.rst index 9c87913e1..180bbb069 100644 --- a/docs/ibm_pi_dhcps_info.rst +++ b/docs/ibm_pi_dhcps_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_disaster_recovery_location_info.rst b/docs/ibm_pi_disaster_recovery_location_info.rst new file mode 100644 index 000000000..ac93a67e6 --- /dev/null +++ b/docs/ibm_pi_disaster_recovery_location_info.rst @@ -0,0 +1,63 @@ + +ibm_pi_disaster_recovery_location_info -- Retrieve IBM Cloud 'ibm_pi_disaster_recovery_location' resource +========================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_disaster_recovery_location' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_disaster_recovery_location + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_disaster_recovery_locations_info.rst b/docs/ibm_pi_disaster_recovery_locations_info.rst new file mode 100644 index 000000000..ac29a7813 --- /dev/null +++ b/docs/ibm_pi_disaster_recovery_locations_info.rst @@ -0,0 +1,59 @@ + +ibm_pi_disaster_recovery_locations_info -- Retrieve IBM Cloud 'ibm_pi_disaster_recovery_locations' resource +=========================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_disaster_recovery_locations' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_disaster_recovery_locations + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_ike_policy.rst b/docs/ibm_pi_ike_policy.rst index c08a749d2..6d712f97d 100644 --- a/docs/ibm_pi_ike_policy.rst +++ b/docs/ibm_pi_ike_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_policy_encryption (True, str, None) + (Required for new resource) Encryption of the IKE Policy + + pi_policy_key_lifetime (True, int, None) (Required for new resource) Policy key lifetime + pi_policy_version (True, int, None) + (Required for new resource) Version of the IKE Policy + + pi_policy_preshared_key (True, str, None) (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) @@ -43,10 +51,6 @@ Parameters Authentication for the IKE Policy - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - pi_policy_name (True, str, None) (Required for new resource) Name of the IKE Policy @@ -55,12 +59,8 @@ Parameters (Required for new resource) DH group of the IKE Policy - pi_policy_encryption (True, str, None) - (Required for new resource) Encryption of the IKE Policy - - - pi_policy_version (True, int, None) - (Required for new resource) Version of the IKE Policy + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID id (False, str, None) diff --git a/docs/ibm_pi_image.rst b/docs/ibm_pi_image.rst index 5934c51fe..56657c55c 100644 --- a/docs/ibm_pi_image.rst +++ b/docs/ibm_pi_image.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,32 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_affinity_instance (False, str, None) - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + pi_image_bucket_name (False, str, None) + Cloud Object Storage bucket name; bucket-name[/optional/folder] pi_image_bucket_region (False, str, None) Cloud Object Storage region - pi_image_bucket_file_name (False, str, None) - Cloud Object Storage image filename - - - pi_image_storage_type (False, str, None) - Type of storage - - - pi_affinity_policy (False, str, None) - Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - - - pi_image_bucket_name (False, str, None) - Cloud Object Storage bucket name; bucket-name[/optional/folder] - - - pi_image_storage_pool (False, str, None) - Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored + pi_image_secret_key (False, str, None) + Cloud Object Storage secret key; required for buckets with private access pi_affinity_volume (False, str, None) @@ -67,24 +51,32 @@ Parameters (Required for new resource) PI cloud instance ID - pi_image_name (True, str, None) - (Required for new resource) Image name + pi_image_access_key (False, str, None) + Cloud Object Storage access key; required for buckets with private access - pi_image_id (False, str, None) - Instance image id + pi_image_storage_type (False, str, None) + Type of storage - pi_image_secret_key (False, str, None) - Cloud Object Storage secret key; required for buckets with private access + pi_affinity_instance (False, str, None) + PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + + + pi_image_name (True, str, None) + (Required for new resource) Image name pi_image_bucket_access (False, str, public) Indicates if the bucket has public or private access - pi_image_access_key (False, str, None) - Cloud Object Storage access key; required for buckets with private access + pi_image_storage_pool (False, str, None) + Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored + + + pi_affinity_policy (False, str, None) + Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified pi_anti_affinity_volumes (False, list, None) @@ -95,6 +87,14 @@ Parameters List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + pi_image_id (False, str, None) + Instance image id + + + pi_image_bucket_file_name (False, str, None) + Cloud Object Storage image filename + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_image_export.rst b/docs/ibm_pi_image_export.rst index f44d30914..d45b1ab7e 100644 --- a/docs/ibm_pi_image_export.rst +++ b/docs/ibm_pi_image_export.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_image_bucket_region (True, str, None) + (Required for new resource) Cloud Object Storage region + + pi_cloud_instance_id (True, str, None) (Required for new resource) PI cloud instance ID @@ -51,10 +55,6 @@ Parameters (Required for new resource) Cloud Object Storage secret key; required for buckets with private access - pi_image_bucket_region (True, str, None) - (Required for new resource) Cloud Object Storage region - - 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 42b5f16a9..dbb6f637c 100644 --- a/docs/ibm_pi_image_info.rst +++ b/docs/ibm_pi_image_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_images_info.rst b/docs/ibm_pi_images_info.rst index cd3b39151..a159dbaad 100644 --- a/docs/ibm_pi_images_info.rst +++ b/docs/ibm_pi_images_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance.rst b/docs/ibm_pi_instance.rst index 1746f550a..334412f54 100644 --- a/docs/ibm_pi_instance.rst +++ b/docs/ibm_pi_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,136 +31,136 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_image_id (True, str, None) - (Required for new resource) PI instance image id + pi_user_data (False, str, None) + Base64 encoded data to be passed in for invoking a cloud init script - pi_pin_policy (False, str, none) - Pin Policy of the instance + pi_storage_connection (False, str, None) + Storage Connectivity Group for server deployment - pi_deployment_type (False, str, None) - Custom Deployment Type Information + pi_sap_deployment_type (False, str, None) + Custom SAP Deployment Type Information - pi_migratable (False, bool, None) - set to true to enable migration of the PI instance + 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_user_data (False, str, None) - Base64 encoded data to be passed in for invoking a cloud init script + pi_migratable (False, bool, None) + set to true to enable migration of the PI instance - pi_key_pair_name (False, str, None) - SSH key name + pi_volume_ids (False, list, None) + List of PI volumes - pi_memory (False, float, None) - Memory size + pi_instance_name (True, str, None) + (Required for new resource) PI Instance name - pi_proc_type (False, str, None) - Instance processor type + pi_key_pair_name (False, str, None) + SSH key name - pi_volume_ids (False, list, None) - List of PI volumes + pi_storage_pool (False, str, None) + Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored - pi_anti_affinity_volumes (False, list, None) - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + pi_affinity_policy (False, str, None) + Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - pi_anti_affinity_instances (False, list, None) - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + pi_network (True, list, None) + (Required for new resource) List of one or more networks to attach to the instance - pi_storage_pool_affinity (False, bool, True) - Indicates if all volumes attached to the server must reside in the same storage pool + pi_replicants (False, int, 1) + PI Instance replicas count pi_license_repository_capacity (False, int, None) The VTL license repository capacity TB value - pi_placement_group_id (False, str, None) - Placement group ID - - - pi_replicants (False, int, 1) - PI Instance replicas count + pi_storage_type (False, str, None) + Storage type for server deployment - pi_virtual_cores_assigned (False, int, None) - Virtual Cores Assigned to the PVMInstance + pi_shared_processor_pool (False, str, None) + Shared Processor Pool the instance is deployed on - pi_cloud_instance_id (True, str, None) - (Required for new resource) This is the Power Instance id that is assigned to the account + pi_image_id (True, str, None) + (Required for new resource) PI instance image id pi_sap_profile_id (False, str, None) SAP Profile ID for the amount of cores and memory - pi_sap_deployment_type (False, str, None) - Custom SAP Deployment Type Information + pi_replication_policy (False, str, none) + Replication policy for the PI Instance - 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_anti_affinity_instances (False, list, None) + List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided pi_processors (False, float, None) Processors count - pi_instance_name (True, str, None) - (Required for new resource) PI Instance name + pi_sys_type (False, str, None) + PI Instance system type - pi_storage_type (False, str, None) - Storage type for server deployment + pi_replication_scheme (False, str, suffix) + Replication scheme - pi_affinity_volume (False, str, None) - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + pi_anti_affinity_volumes (False, list, None) + List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided - pi_network (True, list, None) - (Required for new resource) List of one or more networks to attach to the instance + pi_proc_type (False, str, None) + Instance processor type - pi_shared_processor_pool (False, str, None) - Shared Processor Pool the instance is deployed on + 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_scheme (False, str, suffix) - Replication scheme + pi_affinity_instance (False, str, None) + PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided - pi_storage_pool (False, str, None) - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored + pi_storage_pool_affinity (False, bool, True) + Indicates if all volumes attached to the server must reside in the same storage pool - pi_affinity_instance (False, str, None) - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + pi_placement_group_id (False, str, None) + Placement group ID - pi_storage_connection (False, str, None) - Storage Connectivity Group for server deployment + pi_memory (False, float, None) + Memory size - pi_replication_policy (False, str, none) - Replication policy for the PI Instance + pi_deployment_type (False, str, None) + Custom Deployment Type Information - pi_affinity_policy (False, str, None) - Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified + pi_virtual_cores_assigned (False, int, None) + Virtual Cores Assigned to the PVMInstance - pi_sys_type (False, str, None) - PI Instance system type + pi_affinity_volume (False, str, None) + Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + + + pi_pin_policy (False, str, none) + Pin Policy of the instance id (False, str, None) diff --git a/docs/ibm_pi_instance_action.rst b/docs/ibm_pi_instance_action.rst index e1e5de4b5..38fa16951 100644 --- a/docs/ibm_pi_instance_action.rst +++ b/docs/ibm_pi_instance_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_info.rst b/docs/ibm_pi_instance_info.rst index 5490adc2c..7d3bf502f 100644 --- a/docs/ibm_pi_instance_info.rst +++ b/docs/ibm_pi_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_instance_name (True, str, None) - Server Name to be used for pvminstances - - pi_cloud_instance_id (True, str, None) None + pi_instance_name (True, str, None) + Server 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_instance_ip_info.rst b/docs/ibm_pi_instance_ip_info.rst index f6f72a584..bc9494176 100644 --- a/docs/ibm_pi_instance_ip_info.rst +++ b/docs/ibm_pi_instance_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - None - - pi_instance_name (True, str, None) Server Name to be used for pvminstances + pi_cloud_instance_id (True, str, None) + None + + pi_network_name (True, str, None) None diff --git a/docs/ibm_pi_instance_snapshots_info.rst b/docs/ibm_pi_instance_snapshots_info.rst index a038596ce..51592f686 100644 --- a/docs/ibm_pi_instance_snapshots_info.rst +++ b/docs/ibm_pi_instance_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_volumes_info.rst b/docs/ibm_pi_instance_volumes_info.rst index 3581ff4d7..04b341a0e 100644 --- a/docs/ibm_pi_instance_volumes_info.rst +++ b/docs/ibm_pi_instance_volumes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_instance_name (True, str, None) - Instance Name to be used for pvminstances - - pi_cloud_instance_id (True, str, None) None + pi_instance_name (True, str, None) + Instance 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_instances_info.rst b/docs/ibm_pi_instances_info.rst index bd9a82557..447442b69 100644 --- a/docs/ibm_pi_instances_info.rst +++ b/docs/ibm_pi_instances_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_ipsec_policy.rst b/docs/ibm_pi_ipsec_policy.rst index d349d0b04..41846ee4f 100644 --- a/docs/ibm_pi_ipsec_policy.rst +++ b/docs/ibm_pi_ipsec_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_policy_pfs (True, bool, None) + (Required for new resource) Perfect Forward Secrecy + + pi_policy_authentication (False, str, none) Authentication for the IPSec Policy @@ -55,10 +59,6 @@ Parameters (Required for new resource) Policy key lifetime - pi_policy_pfs (True, bool, None) - (Required for new resource) Perfect Forward Secrecy - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_key.rst b/docs/ibm_pi_key.rst index 0107a72a8..21b251ce0 100644 --- a/docs/ibm_pi_key.rst +++ b/docs/ibm_pi_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_key_info.rst b/docs/ibm_pi_key_info.rst index 22a765ab7..6146a650b 100644 --- a/docs/ibm_pi_key_info.rst +++ b/docs/ibm_pi_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_keys_info.rst b/docs/ibm_pi_keys_info.rst index 7f3f15a63..05390f483 100644 --- a/docs/ibm_pi_keys_info.rst +++ b/docs/ibm_pi_keys_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network.rst b/docs/ibm_pi_network.rst index 729793aa2..f9a4a691a 100644 --- a/docs/ibm_pi_network.rst +++ b/docs/ibm_pi_network.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,22 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_network_type (True, str, None) - (Required for new resource) PI network type - - pi_cidr (False, str, None) PI network CIDR - pi_gateway (False, str, None) - PI network gateway - - - pi_network_jumbo (False, bool, None) - PI network enable MTU Jumbo option - - pi_cloud_instance_id (True, str, None) (Required for new resource) PI cloud instance ID @@ -55,6 +43,10 @@ Parameters List of one or more ip address range(s) + 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 @@ -63,6 +55,14 @@ Parameters List of PI network DNS name + pi_gateway (False, str, None) + PI network gateway + + + pi_network_jumbo (False, bool, None) + PI network enable MTU Jumbo option + + 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 575a174a7..071200009 100644 --- a/docs/ibm_pi_network_info.rst +++ b/docs/ibm_pi_network_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network_port.rst b/docs/ibm_pi_network_port.rst index 4da74c336..51b073c22 100644 --- a/docs/ibm_pi_network_port.rst +++ b/docs/ibm_pi_network_port.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network_port_attach.rst b/docs/ibm_pi_network_port_attach.rst index a88dc9a16..2dd3aa17c 100644 --- a/docs/ibm_pi_network_port_attach.rst +++ b/docs/ibm_pi_network_port_attach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -43,14 +43,14 @@ Parameters (Required for new resource) Network Name - This is the subnet name in the Cloud instance - pi_network_port_ipaddress (False, str, None) - None - - pi_network_port_description (False, str, Port Created via Terraform) A human readable description for this network Port + pi_network_port_ipaddress (False, str, None) + None + + 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 50388b791..5d7e022d6 100644 --- a/docs/ibm_pi_network_port_info.rst +++ b/docs/ibm_pi_network_port_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_placement_group.rst b/docs/ibm_pi_placement_group.rst index fb4df2826..24247c926 100644 --- a/docs/ibm_pi_placement_group.rst +++ b/docs/ibm_pi_placement_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_placement_group_info.rst b/docs/ibm_pi_placement_group_info.rst index 1172056dc..fb5fd489a 100644 --- a/docs/ibm_pi_placement_group_info.rst +++ b/docs/ibm_pi_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_placement_group_name (True, str, None) + pi_cloud_instance_id (True, str, None) None - pi_cloud_instance_id (True, str, None) + pi_placement_group_name (True, str, None) None diff --git a/docs/ibm_pi_placement_groups_info.rst b/docs/ibm_pi_placement_groups_info.rst index f96c56712..fe3e2c595 100644 --- a/docs/ibm_pi_placement_groups_info.rst +++ b/docs/ibm_pi_placement_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_public_network_info.rst b/docs/ibm_pi_public_network_info.rst index 936fa4c81..fcdfa764d 100644 --- a/docs/ibm_pi_public_network_info.rst +++ b/docs/ibm_pi_public_network_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_pvm_snapshots_info.rst b/docs/ibm_pi_pvm_snapshots_info.rst index 45a249724..8ed7b75cf 100644 --- a/docs/ibm_pi_pvm_snapshots_info.rst +++ b/docs/ibm_pi_pvm_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_sap_profile_info.rst b/docs/ibm_pi_sap_profile_info.rst index f80b69fb6..d7f3b41b3 100644 --- a/docs/ibm_pi_sap_profile_info.rst +++ b/docs/ibm_pi_sap_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_sap_profiles_info.rst b/docs/ibm_pi_sap_profiles_info.rst index fed14ac1c..2778f470a 100644 --- a/docs/ibm_pi_sap_profiles_info.rst +++ b/docs/ibm_pi_sap_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_shared_processor_pool.rst b/docs/ibm_pi_shared_processor_pool.rst index 6248a10fe..efc2b69b4 100644 --- a/docs/ibm_pi_shared_processor_pool.rst +++ b/docs/ibm_pi_shared_processor_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_shared_processor_pool_name (True, str, None) - (Required for new resource) Name of the shared processor pool - - - pi_shared_processor_pool_reserved_cores (True, int, None) - (Required for new resource) The amount of reserved cores for the shared processor pool - - - pi_shared_processor_pool_host_group (True, str, None) - (Required for new resource) Host group of the shared processor pool + spp_placement_groups (False, list, None) + SPP placement groups the shared processor pool are in pi_cloud_instance_id (True, str, None) @@ -51,8 +43,16 @@ Parameters Placement group the shared processor pool is created in - spp_placement_groups (False, list, None) - SPP placement groups the shared processor pool are in + pi_shared_processor_pool_name (True, str, None) + (Required for new resource) Name of the shared processor pool + + + pi_shared_processor_pool_host_group (True, str, None) + (Required for new resource) Host group of the shared processor pool + + + pi_shared_processor_pool_reserved_cores (True, int, None) + (Required for new resource) The amount of reserved cores for the shared processor pool id (False, str, None) diff --git a/docs/ibm_pi_shared_processor_pool_info.rst b/docs/ibm_pi_shared_processor_pool_info.rst index 25ce95c17..f5c1acd76 100644 --- a/docs/ibm_pi_shared_processor_pool_info.rst +++ b/docs/ibm_pi_shared_processor_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_shared_processor_pools_info.rst b/docs/ibm_pi_shared_processor_pools_info.rst index f8ba485ec..80996e3d8 100644 --- a/docs/ibm_pi_shared_processor_pools_info.rst +++ b/docs/ibm_pi_shared_processor_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_snapshot.rst b/docs/ibm_pi_snapshot.rst index 152a5061b..1dfc2a78b 100644 --- a/docs/ibm_pi_snapshot.rst +++ b/docs/ibm_pi_snapshot.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. @@ -51,6 +47,10 @@ Parameters List of PI volumes + pi_instance_name (True, str, None) + (Required for new resource) Instance name / id of the pvm + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_spp_placement_group.rst b/docs/ibm_pi_spp_placement_group.rst index f6ffd4aad..a677d7525 100644 --- a/docs/ibm_pi_spp_placement_group.rst +++ b/docs/ibm_pi_spp_placement_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_spp_placement_group_name (True, str, None) - (Required for new resource) Name of the SPP placement group - - pi_spp_placement_group_policy (True, str, None) (Required for new resource) Policy of the SPP placement group @@ -43,6 +39,10 @@ Parameters (Required for new resource) PI cloud instance ID + pi_spp_placement_group_name (True, str, None) + (Required for new resource) Name of the SPP placement group + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_spp_placement_group_info.rst b/docs/ibm_pi_spp_placement_group_info.rst index deea99290..8111e2209 100644 --- a/docs/ibm_pi_spp_placement_group_info.rst +++ b/docs/ibm_pi_spp_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) + pi_spp_placement_group_id (True, str, None) None - pi_spp_placement_group_id (True, str, None) + pi_cloud_instance_id (True, str, None) None diff --git a/docs/ibm_pi_spp_placement_groups_info.rst b/docs/ibm_pi_spp_placement_groups_info.rst index 171d3b254..bc90e571d 100644 --- a/docs/ibm_pi_spp_placement_groups_info.rst +++ b/docs/ibm_pi_spp_placement_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_pool_capacity_info.rst b/docs/ibm_pi_storage_pool_capacity_info.rst index f644730a4..53892d70d 100644 --- a/docs/ibm_pi_storage_pool_capacity_info.rst +++ b/docs/ibm_pi_storage_pool_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_pools_capacity_info.rst b/docs/ibm_pi_storage_pools_capacity_info.rst index e739483f4..60b403bfc 100644 --- a/docs/ibm_pi_storage_pools_capacity_info.rst +++ b/docs/ibm_pi_storage_pools_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_type_capacity_info.rst b/docs/ibm_pi_storage_type_capacity_info.rst index d26a8b64c..cd5dc824c 100644 --- a/docs/ibm_pi_storage_type_capacity_info.rst +++ b/docs/ibm_pi_storage_type_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_types_capacity_info.rst b/docs/ibm_pi_storage_types_capacity_info.rst index 85da8bda7..745d46b1d 100644 --- a/docs/ibm_pi_storage_types_capacity_info.rst +++ b/docs/ibm_pi_storage_types_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_system_pools_info.rst b/docs/ibm_pi_system_pools_info.rst index 122b6dd60..b7cd507c6 100644 --- a/docs/ibm_pi_system_pools_info.rst +++ b/docs/ibm_pi_system_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_tenant_info.rst b/docs/ibm_pi_tenant_info.rst index 81280a82d..50171df97 100644 --- a/docs/ibm_pi_tenant_info.rst +++ b/docs/ibm_pi_tenant_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume.rst b/docs/ibm_pi_volume.rst index d72ea877b..e928624f4 100644 --- a/docs/ibm_pi_volume.rst +++ b/docs/ibm_pi_volume.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,48 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_volume_pool (False, str, None) - Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored - - - pi_affinity_policy (False, str, None) - Affinity policy for data volume being created; ignored if pi_volume_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified + pi_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. - pi_volume_shareable (False, bool, None) - Flag to indicate if the volume can be shared across multiple instances? + pi_volume_size (True, float, None) + (Required for new resource) Size of the volume in GB pi_affinity_volume (False, str, None) Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_instance is not provided - pi_anti_affinity_instances (False, list, None) - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + pi_anti_affinity_volumes (False, list, None) + List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided - pi_cloud_instance_id (True, str, None) - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + pi_volume_type (False, str, None) + Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored - pi_volume_name (True, str, None) - (Required for new resource) Volume Name to create + pi_affinity_instance (False, str, None) + PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided - pi_volume_size (True, float, None) - (Required for new resource) Size of the volume in GB + pi_replication_enabled (False, bool, None) + Indicates if the volume should be replication enabled or not - pi_volume_type (False, str, None) - Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored + pi_affinity_policy (False, str, None) + Affinity policy for data volume being created; ignored if pi_volume_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - pi_affinity_instance (False, str, None) - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided + pi_volume_name (True, str, None) + (Required for new resource) Volume Name to create - pi_anti_affinity_volumes (False, list, None) - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + pi_volume_shareable (False, bool, None) + Flag to indicate if the volume can be shared across multiple instances? + + + pi_volume_pool (False, str, None) + Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored + + + pi_anti_affinity_instances (False, list, None) + List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided id (False, str, None) diff --git a/docs/ibm_pi_volume_attach.rst b/docs/ibm_pi_volume_attach.rst index c9dd7e3b9..310aabb8d 100644 --- a/docs/ibm_pi_volume_attach.rst +++ b/docs/ibm_pi_volume_attach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_instance_id (True, str, None) - (Required for new resource) PI Instance Id - - pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -43,6 +39,10 @@ Parameters (Required for new resource) Id of the volume to attach. Note these volumes should have been created + pi_instance_id (True, str, None) + (Required for new resource) PI Instance Id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_volume_flash_copy_mappings_info.rst b/docs/ibm_pi_volume_flash_copy_mappings_info.rst new file mode 100644 index 000000000..0e3ad6d30 --- /dev/null +++ b/docs/ibm_pi_volume_flash_copy_mappings_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_flash_copy_mappings_info -- Retrieve IBM Cloud 'ibm_pi_volume_flash_copy_mappings' resource +========================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_flash_copy_mappings' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_flash_copy_mappings + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_id (True, str, None) + Volume ID + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_group.rst b/docs/ibm_pi_volume_group.rst new file mode 100644 index 000000000..8d753e094 --- /dev/null +++ b/docs/ibm_pi_volume_group.rst @@ -0,0 +1,85 @@ + +ibm_pi_volume_group -- Configure IBM Cloud 'ibm_pi_volume_group' resource +========================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_pi_volume_group' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_volume_group + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. + + + pi_consistency_group_name (False, str, None) + The name of consistency group at storage controller level + + + pi_volume_ids (True, list, None) + (Required for new resource) List of volumes to add in volume group + + + pi_volume_group_name (False, str, None) + Volume Group Name to create + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_group_action.rst b/docs/ibm_pi_volume_group_action.rst new file mode 100644 index 000000000..34e11c571 --- /dev/null +++ b/docs/ibm_pi_volume_group_action.rst @@ -0,0 +1,81 @@ + +ibm_pi_volume_group_action -- Configure IBM Cloud 'ibm_pi_volume_group_action' resource +======================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_pi_volume_group_action' resource + +This module does not support idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_volume_group_action + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. + + + pi_volume_group_id (True, str, None) + (Required for new resource) Volume Group ID + + + pi_volume_group_action (True, list, None) + (Required for new resource) Performs an action (start stop reset ) on a volume group(one at a time). + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_group_details_info.rst b/docs/ibm_pi_volume_group_details_info.rst new file mode 100644 index 000000000..bbe5d719d --- /dev/null +++ b/docs/ibm_pi_volume_group_details_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_group_details_info -- Retrieve IBM Cloud 'ibm_pi_volume_group_details' resource +============================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_group_details' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group_details + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_group_id (True, str, None) + Name of the volume group + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_group_info.rst b/docs/ibm_pi_volume_group_info.rst new file mode 100644 index 000000000..254600aea --- /dev/null +++ b/docs/ibm_pi_volume_group_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_group_info -- Retrieve IBM Cloud 'ibm_pi_volume_group' resource +============================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_group' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_group_id (True, str, None) + ID or Name of the volume group + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst b/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst new file mode 100644 index 000000000..fec192b51 --- /dev/null +++ b/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_group_remote_copy_relationships_info -- Retrieve IBM Cloud 'ibm_pi_volume_group_remote_copy_relationships' resource +================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_group_remote_copy_relationships' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group_remote_copy_relationships + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_group_id (True, str, None) + Volume group ID + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_group_storage_details_info.rst b/docs/ibm_pi_volume_group_storage_details_info.rst new file mode 100644 index 000000000..07586f47f --- /dev/null +++ b/docs/ibm_pi_volume_group_storage_details_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_group_storage_details_info -- Retrieve IBM Cloud 'ibm_pi_volume_group_storage_details' resource +============================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_group_storage_details' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group_storage_details + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_group_id (True, str, None) + Volume group ID + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_groups_details_info.rst b/docs/ibm_pi_volume_groups_details_info.rst new file mode 100644 index 000000000..7a2f48399 --- /dev/null +++ b/docs/ibm_pi_volume_groups_details_info.rst @@ -0,0 +1,63 @@ + +ibm_pi_volume_groups_details_info -- Retrieve IBM Cloud 'ibm_pi_volume_groups_details' resource +=============================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_groups_details' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_groups_details + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_groups_info.rst b/docs/ibm_pi_volume_groups_info.rst new file mode 100644 index 000000000..f715e8910 --- /dev/null +++ b/docs/ibm_pi_volume_groups_info.rst @@ -0,0 +1,63 @@ + +ibm_pi_volume_groups_info -- Retrieve IBM Cloud 'ibm_pi_volume_groups' resource +=============================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_groups' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_groups + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_info.rst b/docs/ibm_pi_volume_info.rst index c3ae8adad..1504d273c 100644 --- a/docs/ibm_pi_volume_info.rst +++ b/docs/ibm_pi_volume_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_onboarding.rst b/docs/ibm_pi_volume_onboarding.rst new file mode 100644 index 000000000..4112005df --- /dev/null +++ b/docs/ibm_pi_volume_onboarding.rst @@ -0,0 +1,81 @@ + +ibm_pi_volume_onboarding -- Configure IBM Cloud 'ibm_pi_volume_onboarding' resource +=================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_pi_volume_onboarding' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_volume_onboarding + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_onboarding_volumes (True, list, None) + (Required for new resource) + + + pi_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. + + + pi_description (False, str, None) + Description of the volume onboarding operation + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_onboarding_info.rst b/docs/ibm_pi_volume_onboarding_info.rst new file mode 100644 index 000000000..efcb4eb4c --- /dev/null +++ b/docs/ibm_pi_volume_onboarding_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_onboarding_info -- Retrieve IBM Cloud 'ibm_pi_volume_onboarding' resource +======================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_onboarding' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_onboarding + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_onboarding_id (True, str, None) + Volume onboarding ID + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_onboardings_info.rst b/docs/ibm_pi_volume_onboardings_info.rst new file mode 100644 index 000000000..cf6a903c1 --- /dev/null +++ b/docs/ibm_pi_volume_onboardings_info.rst @@ -0,0 +1,63 @@ + +ibm_pi_volume_onboardings_info -- Retrieve IBM Cloud 'ibm_pi_volume_onboardings' resource +========================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_onboardings' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_onboardings + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_volume_remote_copy_relationship_info.rst b/docs/ibm_pi_volume_remote_copy_relationship_info.rst new file mode 100644 index 000000000..ae6d51c61 --- /dev/null +++ b/docs/ibm_pi_volume_remote_copy_relationship_info.rst @@ -0,0 +1,67 @@ + +ibm_pi_volume_remote_copy_relationship_info -- Retrieve IBM Cloud 'ibm_pi_volume_remote_copy_relationship' resource +=================================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_pi_volume_remote_copy_relationship' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_remote_copy_relationship + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.48.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + pi_volume_id (True, str, None) + Volume name + + + pi_cloud_instance_id (True, str, None) + None + + + 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'. + + + region (False, str, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + 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'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_pi_vpn_connection.rst b/docs/ibm_pi_vpn_connection.rst index 9c09bcd0e..1989af1c2 100644 --- a/docs/ibm_pi_vpn_connection.rst +++ b/docs/ibm_pi_vpn_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_ike_policy_id (True, str, None) - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection + pi_vpn_connection_mode (True, str, None) + (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' pi_networks (True, list, None) @@ -43,10 +43,6 @@ Parameters (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection - pi_vpn_connection_mode (True, str, None) - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' - - pi_peer_gateway_address (True, str, None) (Required for new resource) Peer Gateway address @@ -63,6 +59,10 @@ Parameters (Required for new resource) Name of the VPN Connection + pi_ike_policy_id (True, str, None) + (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pn_application_chrome.rst b/docs/ibm_pn_application_chrome.rst index f54263c89..9110599e0 100644 --- a/docs/ibm_pn_application_chrome.rst +++ b/docs/ibm_pn_application_chrome.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_pn_application_chrome_info.rst b/docs/ibm_pn_application_chrome_info.rst index 3fcd6d7b9..3d1c58e3b 100644 --- a/docs/ibm_pn_application_chrome_info.rst +++ b/docs/ibm_pn_application_chrome_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_group.rst b/docs/ibm_resource_group.rst index 9472360a5..0a899cb61 100644 --- a/docs/ibm_resource_group.rst +++ b/docs/ibm_resource_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,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 1fa2865fb..808ff1066 100644 --- a/docs/ibm_resource_group_info.rst +++ b/docs/ibm_resource_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Resource group name - - is_default (False, bool, None) Default Resource group + name (False, str, None) + Resource group 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_resource_instance.rst b/docs/ibm_resource_instance.rst index e9a8b25f1..2c4dc3c9a 100644 --- a/docs/ibm_resource_instance.rst +++ b/docs/ibm_resource_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - - location (True, str, None) - (Required for new resource) The location where the instance available + name (True, str, None) + (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 - name (True, str, None) - (Required for new resource) A name for the resource instance + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - parameters (False, dict, None) - Arbitrary parameters to pass. Must be a JSON object + plan (True, str, None) + (Required for new resource) The plan type of the service parameters_json (False, str, None) Arbitrary parameters to pass in Json string format - plan (True, str, None) - (Required for new resource) The plan type of the service + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object - resource_group_id (False, str, None) - The resource group id + tags (False, list, None) + None - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + service (True, str, None) + (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + + + location (True, str, None) + (Required for new resource) The location where the instance available id (False, str, None) diff --git a/docs/ibm_resource_instance_info.rst b/docs/ibm_resource_instance_info.rst index 528342227..35a40ea10 100644 --- a/docs/ibm_resource_instance_info.rst +++ b/docs/ibm_resource_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The id of the resource group in which the instance is present - service (False, str, None) - The service type of the instance - - location (False, str, None) The location or the environment in which instance exists + service (False, str, None) + The service type of the instance + + 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 00e6be963..6af55b6ce 100644 --- a/docs/ibm_resource_key.rst +++ b/docs/ibm_resource_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - resource_instance_id (False, str, None) The id of the resource instance for which to create resource key - name (True, str, None) - (Required for new resource) The name of the resource key + resource_alias_id (False, str, None) + The id of the resource alias for which to create resource key - role (False, str, None) - Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + tags (False, list, None) + None - resource_alias_id (False, str, None) - The id of the resource alias for which to create resource key + role (False, str, None) + Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. parameters (False, dict, None) Arbitrary parameters to pass. Must be a JSON object + name (True, str, None) + (Required for new resource) The name of the 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 041cc0f46..6a7d1864d 100644 --- a/docs/ibm_resource_key_info.rst +++ b/docs/ibm_resource_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,8 +29,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_instance_id (False, str, None) - The id of the resource instance + name (True, str, None) + The name of the resource key resource_alias_id (False, str, None) @@ -41,8 +41,8 @@ Parameters If true and multiple entries are found, the most recently created resource key is used. If false, an error is returned - name (True, str, None) - The name of the resource key + resource_instance_id (False, str, None) + The id of the resource instance iaas_classic_username (False, any, None) diff --git a/docs/ibm_resource_quota_info.rst b/docs/ibm_resource_quota_info.rst index 98ec7115a..1c174b69d 100644 --- a/docs/ibm_resource_quota_info.rst +++ b/docs/ibm_resource_quota_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_tag_info.rst b/docs/ibm_resource_tag_info.rst index 124f9aaf6..e8685c077 100644 --- a/docs/ibm_resource_tag_info.rst +++ b/docs/ibm_resource_tag_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_attach_host_script_info.rst b/docs/ibm_satellite_attach_host_script_info.rst index 378329cc5..2511e6c63 100644 --- a/docs/ibm_satellite_attach_host_script_info.rst +++ b/docs/ibm_satellite_attach_host_script_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + location (True, str, None) + A unique name for the new Satellite location + + + coreos_host (False, bool, None) + If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script + + labels (False, list, None) List of labels for the attach host @@ -41,14 +49,6 @@ Parameters The directory where the satellite attach host script to be downloaded. Default is home directory - coreos_host (False, bool, None) - If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script - - - location (True, str, None) - A unique name for the new Satellite location - - custom_script (False, str, None) The custom script that has to be appended to generated host script file diff --git a/docs/ibm_satellite_cluster_info.rst b/docs/ibm_satellite_cluster_info.rst index 0422fa618..b21611e85 100644 --- a/docs/ibm_satellite_cluster_info.rst +++ b/docs/ibm_satellite_cluster_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Name or id of the cluster - - resource_group_id (False, str, None) ID of the resource group. + name (True, str, None) + Name or id of the cluster + + 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_satellite_cluster_worker_pool.rst b/docs/ibm_satellite_cluster_worker_pool.rst index 4403bfe7f..5472ef56b 100644 --- a/docs/ibm_satellite_cluster_worker_pool.rst +++ b/docs/ibm_satellite_cluster_worker_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - - - flavor (False, str, None) - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node - - - isolation (False, str, None) - None - - operating_system (False, str, None) Operating system of the worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. @@ -59,14 +47,30 @@ Parameters (Required for new resource) The name for the worker pool - disk_encryption (False, bool, None) - Disk encryption for worker node + cluster (True, str, None) + (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + + + isolation (False, str, None) + None entitlement (False, str, None) None + resource_group_id (False, str, None) + ID of the resource group. + + + flavor (False, str, None) + The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node + + + disk_encryption (False, bool, None) + Disk encryption for worker node + + worker_pool_labels (False, dict, None) Labels on all the workers in the worker pool @@ -75,10 +79,6 @@ Parameters Labels that describe a Satellite host - resource_group_id (False, str, None) - ID of the resource group. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_satellite_cluster_worker_pool_info.rst b/docs/ibm_satellite_cluster_worker_pool_info.rst index a15744ea8..9cb498aed 100644 --- a/docs/ibm_satellite_cluster_worker_pool_info.rst +++ b/docs/ibm_satellite_cluster_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters ID of the resource group - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - - name (True, str, None) worker pool name + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + cluster (True, str, None) Cluster name diff --git a/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst b/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst index f7c1ff576..799fe2bff 100644 --- a/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst +++ b/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst b/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst index e50f8349d..f75e3cee0 100644 --- a/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst +++ b/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_endpoint.rst b/docs/ibm_satellite_endpoint.rst index d49618da3..65c282be8 100644 --- a/docs/ibm_satellite_endpoint.rst +++ b/docs/ibm_satellite_endpoint.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - sni (False, str, None) - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. + connection_type (True, str, None) + (Required for new resource) The type of the endpoint. - client_mutual_auth (False, bool, False) - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. + server_host (True, str, None) + (Required for new resource) The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' , which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and 'www.example.com'. server_protocol (False, str, None) @@ -51,40 +51,40 @@ Parameters The service or person who created the endpoint. Must be 1000 characters or fewer. - location (True, str, None) - (Required for new resource) The Location ID. - - server_port (True, int, None) (Required for new resource) The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such as 0 is good for 80 (http) and 443 (https). - certs (False, list, None) - The certs. - - - client_protocol (True, str, None) - (Required for new resource) The protocol in the client application side. - - - server_mutual_auth (False, bool, False) - Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. + sni (False, str, None) + The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. reject_unauth (False, bool, False) Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the fields certs.server_cert. + certs (False, list, None) + The certs. + + display_name (True, str, None) (Required for new resource) The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer. - server_host (True, str, None) - (Required for new resource) The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' , which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and 'www.example.com'. + client_mutual_auth (False, bool, False) + Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. - connection_type (True, str, None) - (Required for new resource) The type of the endpoint. + location (True, str, None) + (Required for new resource) The Location ID. + + + client_protocol (True, str, None) + (Required for new resource) The protocol in the client application side. + + + server_mutual_auth (False, bool, False) + Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. id (False, str, None) diff --git a/docs/ibm_satellite_endpoint_info.rst b/docs/ibm_satellite_endpoint_info.rst index 427a9d72f..010a79d3d 100644 --- a/docs/ibm_satellite_endpoint_info.rst +++ b/docs/ibm_satellite_endpoint_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (True, str, None) - The Location ID. - - endpoint_id (True, str, None) The Endpoint ID. + location (True, str, None) + The Location 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_satellite_host.rst b/docs/ibm_satellite_host.rst index 0ec15487e..c14167bc5 100644 --- a/docs/ibm_satellite_host.rst +++ b/docs/ibm_satellite_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,32 +35,32 @@ Parameters The zone within the cluster to assign the host to - host_provider (False, str, None) - Host Provider - - wait_till (False, str, None) Wait until location is normal - cluster (False, str, None) - The name or ID of a Satellite location or cluster to assign the host to + location (True, str, None) + (Required for new resource) The name or ID of the Satellite location - host_id (True, str, None) - (Required for new resource) The specific host ID to assign to a Satellite location or cluster + cluster (False, str, None) + The name or ID of a Satellite location or cluster to assign the host to labels (False, list, None) List of labels for the host + host_id (True, str, None) + (Required for new resource) The specific host ID to assign to a Satellite location or cluster + + worker_pool (False, str, None) The name or ID of the worker pool within the cluster to assign the host to - location (True, str, None) - (Required for new resource) The name or ID of the Satellite location + host_provider (False, str, None) + Host Provider id (False, str, None) diff --git a/docs/ibm_satellite_link.rst b/docs/ibm_satellite_link.rst index f8a4efaac..67aaf3b1d 100644 --- a/docs/ibm_satellite_link.rst +++ b/docs/ibm_satellite_link.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) CRN of the Location. - location (True, str, None) - (Required for new resource) Location ID. - - ws_endpoint (False, str, None) The ws endpoint of the location. + location (True, str, None) + (Required for new resource) Location ID. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_satellite_link_info.rst b/docs/ibm_satellite_link_info.rst index b1a80e200..389f78227 100644 --- a/docs/ibm_satellite_link_info.rst +++ b/docs/ibm_satellite_link_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location.rst b/docs/ibm_satellite_location.rst index a4c0b8da8..1bfa53556 100644 --- a/docs/ibm_satellite_location.rst +++ b/docs/ibm_satellite_location.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,32 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - managed_from (True, str, None) - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed - - - cos_config (False, list, None) - COSBucket - IBM Cloud Object Storage bucket configuration details + description (False, str, None) + A description of the new Satellite location - resource_group_id (False, str, None) - ID of the resource group. + zones (False, list, None) + The names of at least three high availability zones to use for the location tags (False, list, None) List of tags associated with resource instance - location (True, str, None) - (Required for new resource) A unique name for the new Satellite location - - - cos_credentials (False, list, None) - COSAuthorization - IBM Cloud Object Storage authorization keys - - - zones (False, list, None) - The names of at least three high availability zones to use for the location + managed_from (True, str, None) + (Required for new resource) The IBM Cloud metro from which the Satellite location is managed coreos_enabled (False, bool, None) @@ -67,8 +55,20 @@ Parameters The account ID for IBM Log Analysis with LogDNA log forwarding - description (False, str, None) - A description of the new Satellite location + cos_config (False, list, None) + COSBucket - IBM Cloud Object Storage bucket configuration details + + + location (True, str, None) + (Required for new resource) A unique name for the new Satellite location + + + cos_credentials (False, list, None) + COSAuthorization - IBM Cloud Object Storage authorization keys + + + resource_group_id (False, str, None) + ID of the resource group. id (False, str, None) diff --git a/docs/ibm_satellite_location_info.rst b/docs/ibm_satellite_location_info.rst index 403ad47d1..7fac3cf4e 100644 --- a/docs/ibm_satellite_location_info.rst +++ b/docs/ibm_satellite_location_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location_nlb_dns.rst b/docs/ibm_satellite_location_nlb_dns.rst index 68a5309c4..afa527a68 100644 --- a/docs/ibm_satellite_location_nlb_dns.rst +++ b/docs/ibm_satellite_location_nlb_dns.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location_nlb_dns_info.rst b/docs/ibm_satellite_location_nlb_dns_info.rst index d8b5c8452..a859caf03 100644 --- a/docs/ibm_satellite_location_nlb_dns_info.rst +++ b/docs/ibm_satellite_location_nlb_dns_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_location_info.rst b/docs/ibm_scc_account_location_info.rst index 09814a252..0cd29dfe2 100644 --- a/docs/ibm_scc_account_location_info.rst +++ b/docs/ibm_scc_account_location_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_location_settings_info.rst b/docs/ibm_scc_account_location_settings_info.rst index c30d82f76..95258d8ae 100644 --- a/docs/ibm_scc_account_location_settings_info.rst +++ b/docs/ibm_scc_account_location_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_locations_info.rst b/docs/ibm_scc_account_locations_info.rst index 7d28a708e..7302996a7 100644 --- a/docs/ibm_scc_account_locations_info.rst +++ b/docs/ibm_scc_account_locations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_notification_settings_info.rst b/docs/ibm_scc_account_notification_settings_info.rst index 1cb715669..bd99fd829 100644 --- a/docs/ibm_scc_account_notification_settings_info.rst +++ b/docs/ibm_scc_account_notification_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_settings.rst b/docs/ibm_scc_account_settings.rst index 2d0f10ae7..8f81a280f 100644 --- a/docs/ibm_scc_account_settings.rst +++ b/docs/ibm_scc_account_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_collector.rst b/docs/ibm_scc_posture_collector.rst index ad701e46d..82f2cd5af 100644 --- a/docs/ibm_scc_posture_collector.rst +++ b/docs/ibm_scc_posture_collector.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_collector_info.rst b/docs/ibm_scc_posture_collector_info.rst index 397dc14e9..d56851e83 100644 --- a/docs/ibm_scc_posture_collector_info.rst +++ b/docs/ibm_scc_posture_collector_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_collectors_info.rst b/docs/ibm_scc_posture_collectors_info.rst index 88c43bdb0..1521c4423 100644 --- a/docs/ibm_scc_posture_collectors_info.rst +++ b/docs/ibm_scc_posture_collectors_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_credential.rst b/docs/ibm_scc_posture_credential.rst index 244864ac8..935c63fcd 100644 --- a/docs/ibm_scc_posture_credential.rst +++ b/docs/ibm_scc_posture_credential.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -43,10 +43,6 @@ Parameters (Required for new resource) Details the fields on the credential. This will change as per credential type selected. - group (True, list, None) - (Required for new resource) Credential group details. - - purpose (True, str, None) (Required for new resource) Purpose for which the credential is created. diff --git a/docs/ibm_scc_posture_credential_info.rst b/docs/ibm_scc_posture_credential_info.rst index 91a8d86f7..b1341d059 100644 --- a/docs/ibm_scc_posture_credential_info.rst +++ b/docs/ibm_scc_posture_credential_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_credentials_info.rst b/docs/ibm_scc_posture_credentials_info.rst index 494655170..f5150e8eb 100644 --- a/docs/ibm_scc_posture_credentials_info.rst +++ b/docs/ibm_scc_posture_credentials_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_group_profile_info.rst b/docs/ibm_scc_posture_group_profile_info.rst index fda2666c3..e068219c8 100644 --- a/docs/ibm_scc_posture_group_profile_info.rst +++ b/docs/ibm_scc_posture_group_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_latest_scans_info.rst b/docs/ibm_scc_posture_latest_scans_info.rst index be94638df..b3731fc2b 100644 --- a/docs/ibm_scc_posture_latest_scans_info.rst +++ b/docs/ibm_scc_posture_latest_scans_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profile_import.rst b/docs/ibm_scc_posture_profile_import.rst index 463f83127..fe4a004d8 100644 --- a/docs/ibm_scc_posture_profile_import.rst +++ b/docs/ibm_scc_posture_profile_import.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The name of the profile. - - file (True, str, None) (Required for new resource) File to import + name (False, str, None) + The name of the profile. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_profile_info.rst b/docs/ibm_scc_posture_profile_info.rst index 56078f4f7..6669c212e 100644 --- a/docs/ibm_scc_posture_profile_info.rst +++ b/docs/ibm_scc_posture_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profiles_info.rst b/docs/ibm_scc_posture_profiles_info.rst index 3a0f0f8a6..c6e71da01 100644 --- a/docs/ibm_scc_posture_profiles_info.rst +++ b/docs/ibm_scc_posture_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scan_initiate_validation.rst b/docs/ibm_scc_posture_scan_initiate_validation.rst index 345e4bea6..5f53d4586 100644 --- a/docs/ibm_scc_posture_scan_initiate_validation.rst +++ b/docs/ibm_scc_posture_scan_initiate_validation.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -39,22 +39,22 @@ Parameters (Required for new resource) The unique ID of the profile. - group_profile_id (False, str, None) - The ID of the profile group. - - name (False, str, None) The name of a scheduled scan. - description (False, str, None) - The description of a scheduled scan. - - frequency (False, int, None) The frequency at which a scan is run specified in milliseconds. + group_profile_id (False, str, None) + The ID of the profile group. + + + description (False, str, None) + The description of a scheduled scan. + + no_of_occurrences (False, int, None) The number of times that a scan should be run. diff --git a/docs/ibm_scc_posture_scan_summaries_info.rst b/docs/ibm_scc_posture_scan_summaries_info.rst index c2ec2c33a..889a97ee0 100644 --- a/docs/ibm_scc_posture_scan_summaries_info.rst +++ b/docs/ibm_scc_posture_scan_summaries_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scan_summary_info.rst b/docs/ibm_scc_posture_scan_summary_info.rst index 3255fa2d4..015efcc34 100644 --- a/docs/ibm_scc_posture_scan_summary_info.rst +++ b/docs/ibm_scc_posture_scan_summary_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scope.rst b/docs/ibm_scc_posture_scope.rst index 07e35c8fc..fc077fa0b 100644 --- a/docs/ibm_scc_posture_scope.rst +++ b/docs/ibm_scc_posture_scope.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - credential_id (True, str, None) - (Required for new resource) The unique identifier of the credential. - - - credential_type (True, str, None) - (Required for new resource) The environment that the scope is targeted to. - - name (True, str, None) (Required for new resource) A unique name for your scope. @@ -51,6 +43,14 @@ Parameters (Required for new resource) The unique IDs of the collectors that are attached to the scope. + credential_id (True, str, None) + (Required for new resource) The unique identifier of the credential. + + + credential_type (True, str, None) + (Required for new resource) The environment that the scope is targeted to. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_scope_correlation_info.rst b/docs/ibm_scc_posture_scope_correlation_info.rst index e2c1a0fdb..f91f3e344 100644 --- a/docs/ibm_scc_posture_scope_correlation_info.rst +++ b/docs/ibm_scc_posture_scope_correlation_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scope_info.rst b/docs/ibm_scc_posture_scope_info.rst index e17fc8d70..ea970ffc1 100644 --- a/docs/ibm_scc_posture_scope_info.rst +++ b/docs/ibm_scc_posture_scope_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scopes_info.rst b/docs/ibm_scc_posture_scopes_info.rst index a73e86736..76a1650a3 100644 --- a/docs/ibm_scc_posture_scopes_info.rst +++ b/docs/ibm_scc_posture_scopes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_rule.rst b/docs/ibm_scc_rule.rst index 409bd8133..d8205bcc6 100644 --- a/docs/ibm_scc_rule.rst +++ b/docs/ibm_scc_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,16 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + account_id (True, str, None) + (Required for new resource) Your IBM Cloud account ID. + + labels (False, list, None) Labels that you can use to group and search for similar rules, such as those that help you to meet a specific organization guideline. - target (True, list, None) - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. + enforcement_actions (False, list, None) + The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. - account_id (True, str, None) - (Required for new resource) Your IBM Cloud account ID. + required_config (True, list, None) + (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. + + + target (True, list, None) + (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. name (True, str, None) @@ -51,14 +59,6 @@ Parameters (Required for new resource) An extended description of your rule. - enforcement_actions (False, list, None) - The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. - - - required_config (True, list, None) - (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_rule_attachment.rst b/docs/ibm_scc_rule_attachment.rst index 1d473f806..45fa8a736 100644 --- a/docs/ibm_scc_rule_attachment.rst +++ b/docs/ibm_scc_rule_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_template.rst b/docs/ibm_scc_template.rst index 65351e036..2042dc7e7 100644 --- a/docs/ibm_scc_template.rst +++ b/docs/ibm_scc_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_template_attachment.rst b/docs/ibm_scc_template_attachment.rst index 49da14c6e..5ad196e95 100644 --- a/docs/ibm_scc_template_attachment.rst +++ b/docs/ibm_scc_template_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_action_info.rst b/docs/ibm_schematics_action_info.rst index c108ca337..00ffd3aaa 100644 --- a/docs/ibm_schematics_action_info.rst +++ b/docs/ibm_schematics_action_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_inventory.rst b/docs/ibm_schematics_inventory.rst index c4012ccda..6924dd8b5 100644 --- a/docs/ibm_schematics_inventory.rst +++ b/docs/ibm_schematics_inventory.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_inventory_info.rst b/docs/ibm_schematics_inventory_info.rst index b60981d26..5f856699f 100644 --- a/docs/ibm_schematics_inventory_info.rst +++ b/docs/ibm_schematics_inventory_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_job.rst b/docs/ibm_schematics_job.rst index 045ba1531..15660da06 100644 --- a/docs/ibm_schematics_job.rst +++ b/docs/ibm_schematics_job.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - job_inputs (False, list, None) - Job inputs used by Action or Workspace. + location (False, str, None) + List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + + + command_options (False, list, None) + Command line options for the command. job_env_settings (False, list, None) Environment variables used by the Job while performing Action or Workspace. - location (False, str, None) - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + tags (False, list, None) + User defined tags, while running the job. - bastion (False, list, None) - Describes a bastion resource. + command_object (True, str, None) + (Required for new resource) Name of the Schematics automation resource. - command_object_id (True, str, None) - (Required for new resource) Job command object id (workspace-id, action-id). + command_name (True, str, None) + (Required for new resource) Schematics job command name. command_parameter (False, str, None) Schematics job command parameter (playbook-name). - command_options (False, list, None) - Command line options for the command. - - - data (False, list, None) - Job data. + bastion (False, list, None) + Describes a bastion resource. log_summary (False, list, None) Job log summary record. - tags (False, list, None) - User defined tags, while running the job. + command_object_id (True, str, None) + (Required for new resource) Job command object id (workspace-id, action-id). - command_object (True, str, None) - (Required for new resource) Name of the Schematics automation resource. + job_inputs (False, list, None) + Job inputs used by Action or Workspace. - command_name (True, str, None) - (Required for new resource) Schematics job command name. + data (False, list, None) + Job data. id (False, str, None) diff --git a/docs/ibm_schematics_job_info.rst b/docs/ibm_schematics_job_info.rst index de7eacd4f..97e980ce0 100644 --- a/docs/ibm_schematics_job_info.rst +++ b/docs/ibm_schematics_job_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - job_id (True, str, None) - Job Id. Use `GET /v2/jobs` API to look up the Job Ids in your IBM Cloud account. - - location (False, str, None) List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + job_id (True, str, None) + Job Id. Use `GET /v2/jobs` API to look up the Job Ids in your IBM Cloud account. + + 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_schematics_output_info.rst b/docs/ibm_schematics_output_info.rst index ec6f51ea6..1e53dd7f3 100644 --- a/docs/ibm_schematics_output_info.rst +++ b/docs/ibm_schematics_output_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - template_id (True, str, None) - The id of template - - - output_json (False, str, None) - The json output in string - - workspace_id (True, str, None) The ID of the workspace for which you want to retrieve output values. To find the workspace ID, use the `GET /workspaces` API. @@ -45,6 +37,14 @@ Parameters The Region of the workspace. + template_id (True, str, None) + The id of template + + + output_json (False, str, None) + The json output in string + + 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_schematics_resource_query.rst b/docs/ibm_schematics_resource_query.rst index 1a0486026..0f527ef3e 100644 --- a/docs/ibm_schematics_resource_query.rst +++ b/docs/ibm_schematics_resource_query.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_resource_query_info.rst b/docs/ibm_schematics_resource_query_info.rst index 465960e5e..f9ae2cf55 100644 --- a/docs/ibm_schematics_resource_query_info.rst +++ b/docs/ibm_schematics_resource_query_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_state_info.rst b/docs/ibm_schematics_state_info.rst index 7757ce69f..e27ade4a8 100644 --- a/docs/ibm_schematics_state_info.rst +++ b/docs/ibm_schematics_state_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_workspace_info.rst b/docs/ibm_schematics_workspace_info.rst index 7c50624d4..aafa85f4f 100644 --- a/docs/ibm_schematics_workspace_info.rst +++ b/docs/ibm_schematics_workspace_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -33,6 +33,10 @@ Parameters A list of input variables that are associated with the workspace. + location (False, str, None) + The IBM Cloud location where your workspace was provisioned. + + template_git_has_uploadedgitrepotar (False, bool, None) Has uploaded Git repository tar. @@ -41,10 +45,6 @@ Parameters The ID of the workspace. To find the workspace ID, use the `GET /v1/workspaces` API. - location (False, str, None) - The IBM Cloud location where your workspace was provisioned. - - 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_security_group.rst b/docs/ibm_security_group.rst index 588f55e5a..7bf440617 100644 --- a/docs/ibm_security_group.rst +++ b/docs/ibm_security_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_security_group_info.rst b/docs/ibm_security_group_info.rst index 9af2137de..26fbc24d7 100644 --- a/docs/ibm_security_group_info.rst +++ b/docs/ibm_security_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ 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 group is used. If false, an error is returned - - name (True, str, None) The name of the security group @@ -41,6 +37,10 @@ Parameters The description of the security group + most_recent (False, bool, False) + If true and multiple entries are found, the most recently created group is used. If false, an error is returned + + 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 ccbfa4b22..4c76e7e8e 100644 --- a/docs/ibm_service_instance.rst +++ b/docs/ibm_service_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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 + + tags (False, list, None) None @@ -47,10 +51,6 @@ 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 diff --git a/docs/ibm_service_instance_info.rst b/docs/ibm_service_instance_info.rst index 499da2f05..3d9457208 100644 --- a/docs/ibm_service_instance_info.rst +++ b/docs/ibm_service_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Service instance name for example, speech_to_text - - space_guid (True, str, None) The guid of the space in which the instance is present + name (True, str, None) + Service instance name for example, speech_to_text + + 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_key.rst b/docs/ibm_service_key.rst index 047832a4f..4554dbe84 100644 --- a/docs/ibm_service_key.rst +++ b/docs/ibm_service_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ 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 service key - - service_instance_guid (True, str, None) (Required for new resource) The guid of the service instance for which to create service key @@ -47,6 +43,10 @@ Parameters None + name (True, str, None) + (Required for new resource) The name of the service key + + 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 38be16232..607ccfedb 100644 --- a/docs/ibm_service_key_info.rst +++ b/docs/ibm_service_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,6 +29,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 @@ -37,10 +41,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 ea200a58a..0b51c692a 100644 --- a/docs/ibm_service_plan_info.rst +++ b/docs/ibm_service_plan_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_space.rst b/docs/ibm_space.rst index 7eae3ac0f..a1e0500bf 100644 --- a/docs/ibm_space.rst +++ b/docs/ibm_space.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_space_info.rst b/docs/ibm_space_info.rst index 6ee2c2852..f33f9359d 100644 --- a/docs/ibm_space_info.rst +++ b/docs/ibm_space_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_ssl_certificate.rst b/docs/ibm_ssl_certificate.rst index c7c4c3cf4..f6796cc7b 100644 --- a/docs/ibm_ssl_certificate.rst +++ b/docs/ibm_ssl_certificate.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,68 +31,68 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - administrative_address_same_as_organization_flag (False, bool, False) - administrative address same as organization flag + billing_address_same_as_organization_flag (False, bool, False) + billing address same as organization flag organization_information (True, list, None) (Required for new resource) Organization information - billing_contact (False, list, None) - None + validity_months (True, int, None) + (Required for new resource) vslidity of the ssl certificate in month - server_count (True, int, None) - (Required for new resource) Server count + 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 + administrative_contact_same_as_technical_flag (False, bool, False) + Administrative contact same as technical flag - technical_contact (True, list, None) - (Required for new resource) Technical contact info + order_approver_email_address (True, str, None) + (Required for new resource) Email address of the approver - administrative_contact_same_as_technical_flag (False, bool, False) - Administrative contact same as technical flag + technical_contact_same_as_org_address_flag (False, bool, False) + Technical contact same as org address flag - administrative_contact (False, list, None) + billing_contact (False, list, None) None - server_type (True, str, None) - (Required for new resource) server type - - ssl_type (True, str, None) (Required for new resource) ssl type + billing_contact_same_as_technical_flag (False, bool, False) + billing contact + + certificate_signing_request (True, str, None) (Required for new resource) certificate signing request info - billing_contact_same_as_technical_flag (False, bool, False) - billing contact + renewal_flag (False, bool, True) + Renewal 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 - renewal_flag (False, bool, True) - Renewal flag + server_count (True, int, None) + (Required for new resource) Server count - technical_contact_same_as_org_address_flag (False, bool, False) - Technical contact same as org address flag + server_type (True, str, None) + (Required for new resource) server type id (False, str, None) diff --git a/docs/ibm_storage_block.rst b/docs/ibm_storage_block.rst index a67effbac..077ee3201 100644 --- a/docs/ibm_storage_block.rst +++ b/docs/ibm_storage_block.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -35,48 +35,48 @@ Parameters (Required for new resource) Storage block type - snapshot_capacity (False, int, None) - Snapshot capacity in GB - - - allowed_hardware_ids (False, list, None) - List of allowe hardware IDs - - - hourly_billing (False, bool, False) - Billing done hourly, if set to true + capacity (True, int, None) + (Required for new resource) Storage block size - allowed_virtual_guest_ids (False, list, None) - List of allowed virtual guest IDs + snapshot_capacity (False, int, None) + Snapshot capacity in GB notes (False, str, None) Additional note info + tags (False, list, None) + List of tags associated with the resource + + datacenter (True, str, None) (Required for new resource) Datacenter name - capacity (True, int, None) - (Required for new resource) Storage block size + iops (True, float, None) + (Required for new resource) IOPS value required os_format_type (True, str, None) (Required for new resource) OS formatr type - allowed_ip_addresses (False, list, None) - Allowed IP addresses + allowed_hardware_ids (False, list, None) + List of allowe hardware IDs - 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_virtual_guest_ids (False, list, None) + List of allowed virtual guest IDs + + + allowed_ip_addresses (False, list, None) + Allowed IP addresses id (False, str, None) diff --git a/docs/ibm_storage_evault.rst b/docs/ibm_storage_evault.rst index c4dfe90c6..b31c8a353 100644 --- a/docs/ibm_storage_evault.rst +++ b/docs/ibm_storage_evault.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + virtual_instance_id (False, int, None) + Virtual instance ID + + + hardware_instance_id (False, int, None) + Hardware instance ID + + tags (False, list, None) Tags set for the resource @@ -43,14 +51,6 @@ Parameters (Required for new resource) Capacity - virtual_instance_id (False, int, None) - Virtual instance ID - - - hardware_instance_id (False, int, None) - Hardware instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_storage_file.rst b/docs/ibm_storage_file.rst index 6aff5b41a..9693ee76a 100644 --- a/docs/ibm_storage_file.rst +++ b/docs/ibm_storage_file.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,56 +31,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) Storage type - - - datacenter (True, str, None) - (Required for new resource) Datacenter name - - allowed_virtual_guest_ids (False, list, None) Virtual guest ID - hourly_billing (False, bool, False) - Hourly based billing type - - - capacity (True, int, None) - (Required for new resource) Storage capacity + allowed_ip_addresses (False, list, None) + Allowed range of IP addresses - snapshot_capacity (False, int, None) - Snapshot capacity + notes (False, str, None) + Notes snapshot_schedule (False, list, None) None - tags (False, list, None) - Tags set for the storage volume - - 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 + + + capacity (True, int, None) + (Required for new resource) Storage capacity + + allowed_hardware_ids (False, list, None) Hardaware ID - allowed_subnets (False, list, None) - Allowed network subnets + tags (False, list, None) + Tags set for the storage volume - allowed_ip_addresses (False, list, None) - Allowed range of IP addresses + snapshot_capacity (False, int, None) + Snapshot capacity - notes (False, str, None) - Notes + type (True, str, None) + (Required for new resource) Storage 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 45e477948..96df81053 100644 --- a/docs/ibm_subnet.rst +++ b/docs/ibm_subnet.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ip_version (False, int, 4) - ip version - - capacity (True, int, None) (Required for new resource) number of ip addresses in the subnet @@ -43,6 +39,14 @@ Parameters VLAN ID for the subnet + notes (False, str, None) + Notes + + + tags (False, list, None) + tags set for the resource + + private (False, bool, False) private subnet @@ -51,16 +55,12 @@ Parameters (Required for new resource) subnet type - endpoint_ip (False, str, None) - endpoint IP - - - notes (False, str, None) - Notes + ip_version (False, int, 4) + ip version - tags (False, list, None) - tags set for the resource + endpoint_ip (False, str, None) + endpoint IP id (False, str, None) diff --git a/docs/ibm_tg_connection.rst b/docs/ibm_tg_connection.rst index d04a2b486..fb791a693 100644 --- a/docs/ibm_tg_connection.rst +++ b/docs/ibm_tg_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ 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' or 'directlink'. The value of this is the CRN of the VPC or direct link gateway 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'). - base_connection_id (False, str, None) - The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. + gateway (True, str, None) + (Required for new resource) The Transit Gateway identifier - local_gateway_ip (False, str, None) - The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. + network_type (True, str, None) + (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) - remote_gateway_ip (False, str, None) - The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. + local_tunnel_ip (False, str, None) + The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. remote_tunnel_ip (False, str, None) The remote tunnel IP address. This field only applies to network type 'gre_tunnel' connections. - zone (False, str, None) - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. - - - 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_id (False, str, None) + The ID of the network being connected via this connection. This field is required for some types, such as 'vpc' or 'directlink'. The value of this is the CRN of the VPC or direct link gateway 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. - local_tunnel_ip (False, str, None) - The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. - - remote_bgp_asn (False, int, None) The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. - gateway (True, str, None) - (Required for new resource) The Transit Gateway identifier + remote_gateway_ip (False, str, None) + The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. - network_type (True, str, None) - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) + zone (False, str, None) + Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. + + + base_connection_id (False, str, None) + The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. + + + local_gateway_ip (False, str, None) + The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. id (False, str, None) diff --git a/docs/ibm_tg_connection_prefix_filter.rst b/docs/ibm_tg_connection_prefix_filter.rst index f3b8bd1d5..4637c2048 100644 --- a/docs/ibm_tg_connection_prefix_filter.rst +++ b/docs/ibm_tg_connection_prefix_filter.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -31,8 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - before (False, str, None) - Identifier of prefix filter that handles ordering + action (True, str, None) + (Required for new resource) Whether to permit or deny the prefix filter + + + ge (False, int, None) + IP Prefix GE le (False, int, None) @@ -43,22 +47,18 @@ Parameters (Required for new resource) The Transit Gateway identifier - connection_id (True, str, None) - (Required for new resource) The Transit Gateway Connection identifier - - - action (True, str, None) - (Required for new resource) Whether to permit or deny the prefix filter - - - ge (False, int, None) - IP Prefix GE + before (False, str, None) + Identifier of prefix filter that handles ordering prefix (True, str, None) (Required for new resource) IP Prefix + connection_id (True, str, None) + (Required for new resource) The Transit Gateway Connection identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_connection_prefix_filter_info.rst b/docs/ibm_tg_connection_prefix_filter_info.rst index a43ded110..1f5aeb8c6 100644 --- a/docs/ibm_tg_connection_prefix_filter_info.rst +++ b/docs/ibm_tg_connection_prefix_filter_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - connection_id (True, str, None) - The Transit Gateway Connection identifier - - filter_id (True, str, None) The Transit Gateway Connection Prefix Filter identifier @@ -41,6 +37,10 @@ Parameters The Transit Gateway identifier + connection_id (True, str, None) + The Transit Gateway Connection identifier + + 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_tg_connection_prefix_filters_info.rst b/docs/ibm_tg_connection_prefix_filters_info.rst index c623e74f9..62e30f37c 100644 --- a/docs/ibm_tg_connection_prefix_filters_info.rst +++ b/docs/ibm_tg_connection_prefix_filters_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - gateway (True, str, None) - The Transit Gateway identifier - - connection_id (True, str, None) The Transit Gateway Connection identifier + gateway (True, str, None) + The Transit Gateway identifier + + 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_tg_gateway.rst b/docs/ibm_tg_gateway.rst index 6daba3f72..fa5558a9d 100644 --- a/docs/ibm_tg_gateway.rst +++ b/docs/ibm_tg_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 @@ -43,14 +43,14 @@ Parameters Allow global routing for a Transit Gateway. If unspecified, the default value is false - resource_group (False, str, None) - None - - tags (False, list, None) Tags for the transit gateway instance + 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 6edcd8fa8..50a379c87 100644 --- a/docs/ibm_tg_gateway_info.rst +++ b/docs/ibm_tg_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_gateways_info.rst b/docs/ibm_tg_gateways_info.rst index 51839ceeb..7c9372983 100644 --- a/docs/ibm_tg_gateways_info.rst +++ b/docs/ibm_tg_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_location_info.rst b/docs/ibm_tg_location_info.rst index 0cb435603..fe48f0c9f 100644 --- a/docs/ibm_tg_location_info.rst +++ b/docs/ibm_tg_location_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_locations_info.rst b/docs/ibm_tg_locations_info.rst index 1576b5997..6b33a44c2 100644 --- a/docs/ibm_tg_locations_info.rst +++ b/docs/ibm_tg_locations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_report.rst b/docs/ibm_tg_route_report.rst index 74acfa9d5..34e7e3f80 100644 --- a/docs/ibm_tg_route_report.rst +++ b/docs/ibm_tg_route_report.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_report_info.rst b/docs/ibm_tg_route_report_info.rst index a17435ddf..c864f7feb 100644 --- a/docs/ibm_tg_route_report_info.rst +++ b/docs/ibm_tg_route_report_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_reports_info.rst b/docs/ibm_tg_route_reports_info.rst index 7c85ba547..9b97e4c63 100644 --- a/docs/ibm_tg_route_reports_info.rst +++ b/docs/ibm_tg_route_reports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.47.1 +- IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 diff --git a/plugins/modules/ibm_account_info.py b/plugins/modules/ibm_account_info.py index 6b167c20f..82b246240 100644 --- a/plugins/modules/ibm_account_info.py +++ b/plugins/modules/ibm_account_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_account' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_account', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e346ae0e2..94eba3046 100644 --- a/plugins/modules/ibm_api_gateway_endpoint.py +++ b/plugins/modules/ibm_api_gateway_endpoint.py @@ -18,27 +18,10 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - type: - description: - - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage - required: False - type: str - default: unshare - name: - description: - - (Required for new resource) Endpoint name - required: True - type: str - routes: - description: - - Invokable routes for an endpoint - required: False - type: list - elements: str provider_id: description: - Provider ID of an endpoint allowable values user-defined and whisk @@ -55,12 +38,29 @@ - (Required for new resource) Json File path required: True type: str + name: + description: + - (Required for new resource) Endpoint name + required: True + type: str + routes: + description: + - Invokable routes for an endpoint + required: False + type: list + elements: str managed: description: - Managed indicates if endpoint is online or offline. required: False type: bool default: False + type: + description: + - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage + required: False + type: str + default: unshare id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,20 +107,20 @@ # 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 = [ - 'type', - 'name', - 'routes', 'provider_id', 'service_instance_crn', 'open_api_doc_name', + 'name', + 'routes', 'managed', + 'type', ] # Params for Data source @@ -137,16 +137,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( - type=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), - routes=dict( - required=False, - elements='', - type='list'), provider_id=dict( required=False, type='str'), @@ -156,9 +146,19 @@ open_api_doc_name=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + routes=dict( + required=False, + elements='', + type='list'), managed=dict( required=False, type='bool'), + type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_api_gateway_endpoint', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0a6e14ae2..20282645c 100644 --- a/plugins/modules/ibm_api_gateway_endpoint_subscription.py +++ b/plugins/modules/ibm_api_gateway_endpoint_subscription.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_api_gateway_endpoint_subscription', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6cfef2851..3a0974d4d 100644 --- a/plugins/modules/ibm_api_gateway_info.py +++ b/plugins/modules/ibm_api_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_api_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_api_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c1357ae12..5645a5bcf 100644 --- a/plugins/modules/ibm_app.py +++ b/plugins/modules/ibm_app.py @@ -18,101 +18,101 @@ - Create, update or destroy an IBM Cloud 'ibm_app' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - memory: - description: - - The amount of memory each instance should have. In megabytes. - required: False - type: int environment_json: description: - 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 - app_version: - description: - - Version of the application - required: False - type: str - health_check_timeout: - description: - - Timeout in seconds for health checking of an staged app when starting up. - required: False - type: int - buildpack: - 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 - type: str wait_time_minutes: description: - Define timeout to wait for the app instances to start/update/restage etc. required: False type: int default: 20 + tags: + description: + - None + required: False + type: list + elements: str health_check_http_endpoint: description: - Endpoint called to determine if the app is healthy. required: False type: str - name: + health_check_type: description: - - (Required for new resource) The name for the app - required: True + - Type of health check to perform. + required: False type: str + default: port + memory: + description: + - The amount of memory each instance should have. In megabytes. + required: False + type: int instances: description: - The number of instances required: False type: int default: 1 - disk_quota: + space_guid: description: - - The maximum amount of disk available to an instance of an app. In megabytes. - required: False - type: int - route_guid: + - (Required for new resource) Define space guid to which app belongs + required: True + type: str + app_path: description: - - Define the route guids which should be bound to the application. - required: False - type: list - elements: str + - (Required for new resource) Define the path of the zip file of the application. + required: True + type: str command: description: - The initial command for the app required: False type: str - tags: + health_check_timeout: description: - - None + - Timeout in seconds for health checking of an staged app when starting up. required: False - type: list - elements: str - space_guid: + type: int + name: description: - - (Required for new resource) Define space guid to which app belongs + - (Required for new resource) The name for the app required: True type: str + buildpack: + 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 + 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: + disk_quota: description: - - (Required for new resource) Define the path of the zip file of the application. - required: True - type: str - health_check_type: + - The maximum amount of disk available to an instance of an app. In megabytes. + required: False + type: int + route_guid: description: - - Type of health check to perform. + - 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 - default: port id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -159,30 +159,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('space_guid', 'str'), ('app_path', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'memory', 'environment_json', - 'app_version', - 'health_check_timeout', - 'buildpack', 'wait_time_minutes', + 'tags', 'health_check_http_endpoint', - 'name', + 'health_check_type', + 'memory', 'instances', - 'disk_quota', - 'route_guid', - 'command', - 'tags', 'space_guid', - 'service_instance_guid', 'app_path', - 'health_check_type', + 'command', + 'health_check_timeout', + 'name', + 'buildpack', + 'service_instance_guid', + 'disk_quota', + 'route_guid', + 'app_version', ] # Params for Data source @@ -203,58 +203,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( - memory=dict( - required=False, - type='int'), environment_json=dict( required=False, type='dict'), - app_version=dict( - required=False, - type='str'), - health_check_timeout=dict( - required=False, - type='int'), - buildpack=dict( - required=False, - type='str'), wait_time_minutes=dict( required=False, type='int'), + tags=dict( + required=False, + elements='', + type='list'), health_check_http_endpoint=dict( required=False, type='str'), - name=dict( + health_check_type=dict( required=False, type='str'), - instances=dict( + memory=dict( required=False, type='int'), - disk_quota=dict( + instances=dict( required=False, type='int'), - route_guid=dict( + space_guid=dict( required=False, - elements='', - type='list'), + type='str'), + app_path=dict( + required=False, + type='str'), command=dict( required=False, type='str'), - tags=dict( + health_check_timeout=dict( required=False, - elements='', - type='list'), - space_guid=dict( + type='int'), + name=dict( + required=False, + type='str'), + buildpack=dict( required=False, type='str'), service_instance_guid=dict( required=False, elements='', type='list'), - app_path=dict( + disk_quota=dict( required=False, - type='str'), - health_check_type=dict( + type='int'), + route_guid=dict( + required=False, + elements='', + type='list'), + app_version=dict( required=False, type='str'), id=dict( @@ -322,7 +322,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -331,7 +331,7 @@ def run_module(): resource_type='ibm_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_collection.py b/plugins/modules/ibm_app_config_collection.py index 5a552d7dd..0b6dbd0c8 100644 --- a/plugins/modules/ibm_app_config_collection.py +++ b/plugins/modules/ibm_app_config_collection.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_collection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: - description: - - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str - tags: - description: - - Tags associated with the collection - required: False - type: str name: description: - (Required for new resource) Collection name. @@ -47,6 +37,16 @@ - Collection description required: False type: str + guid: + description: + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str + tags: + description: + - Tags associated with the collection + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,31 +93,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('name', 'str'), ('collection_id', 'str'), + ('guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', - 'tags', 'name', 'collection_id', 'description', + 'guid', + 'tags', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('guid', 'str'), ('collection_id', 'str'), + ('guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'guid', 'collection_id', - 'expand', + 'guid', 'include', + 'expand', ] TL_CONFLICTS_MAP = { @@ -127,19 +127,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( - guid=dict( + name=dict( required=False, type='str'), - tags=dict( + collection_id=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - collection_id=dict( + guid=dict( required=False, type='str'), - description=dict( + tags=dict( required=False, type='str'), id=dict( @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_collection_info.py b/plugins/modules/ibm_app_config_collection_info.py index 336d7416b..fd04eb82b 100644 --- a/plugins/modules/ibm_app_config_collection_info.py +++ b/plugins/modules/ibm_app_config_collection_info.py @@ -17,31 +17,31 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_collection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str collection_id: description: - Collection Id of the collection. required: True type: str - expand: + guid: description: - - If set to true, returns expanded view of the resource details. - required: False - type: bool + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str include: description: - Include feature, property details in the response. required: False type: list elements: str + expand: + description: + - If set to true, returns expanded view of the resource details. + required: False + type: bool iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -75,16 +75,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('collection_id', 'str'), + ('guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'collection_id', - 'expand', + 'guid', 'include', + 'expand', ] @@ -95,19 +95,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( - guid=dict( + collection_id=dict( required=True, type='str'), - collection_id=dict( + guid=dict( required=True, type='str'), - expand=dict( - required=False, - type='bool'), include=dict( required=False, elements='', type='list'), + expand=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_collections_info.py b/plugins/modules/ibm_app_config_collections_info.py index 56b9c75aa..ebf51b203 100644 --- a/plugins/modules/ibm_app_config_collections_info.py +++ b/plugins/modules/ibm_app_config_collections_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_collections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - expand: - description: - - If set to true, returns expanded view of the resource details. - required: False - type: bool guid: description: - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. @@ -47,6 +42,11 @@ required: False type: list elements: str + expand: + description: + - If set to true, returns expanded view of the resource details. + required: False + type: bool iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -85,11 +85,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'expand', 'guid', 'limit', 'offset', 'include', + 'expand', ] @@ -100,9 +100,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( - expand=dict( - required=False, - type='bool'), guid=dict( required=True, type='str'), @@ -116,6 +113,9 @@ required=False, elements='', type='list'), + expand=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_app_config_collections', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_environment.py b/plugins/modules/ibm_app_config_environment.py index 0e2db6e76..593eeab32 100644 --- a/plugins/modules/ibm_app_config_environment.py +++ b/plugins/modules/ibm_app_config_environment.py @@ -18,13 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_environment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - color_code: + guid: description: - - Color code to distinguish the environment. + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str + description: + description: + - Environment description required: False type: str tags: @@ -32,10 +37,10 @@ - Tags associated with the environment required: False type: str - guid: + color_code: description: - - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True + - Color code to distinguish the environment. + required: False type: str name: description: @@ -47,11 +52,6 @@ - (Required for new resource) Environment Id. required: True type: str - description: - description: - - Environment description - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,12 +105,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'color_code', - 'tags', 'guid', + 'description', + 'tags', + 'color_code', 'name', 'environment_id', - 'description', ] # Params for Data source @@ -132,13 +132,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( - color_code=dict( + guid=dict( + required=False, + type='str'), + description=dict( required=False, type='str'), tags=dict( required=False, type='str'), - guid=dict( + color_code=dict( required=False, type='str'), name=dict( @@ -147,9 +150,6 @@ environment_id=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_app_config_environment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_environment_info.py b/plugins/modules/ibm_app_config_environment_info.py index 4b293755c..657738a03 100644 --- a/plugins/modules/ibm_app_config_environment_info.py +++ b/plugins/modules/ibm_app_config_environment_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_environment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_environments_info.py b/plugins/modules/ibm_app_config_environments_info.py index e714abdbd..140474aae 100644 --- a/plugins/modules/ibm_app_config_environments_info.py +++ b/plugins/modules/ibm_app_config_environments_info.py @@ -17,25 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_environments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str tags: description: - filter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags. required: False type: str - offset: - description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - required: False - type: int expand: description: - If set to `true`, returns expanded view of the resource details. @@ -46,6 +36,16 @@ - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int + offset: + description: + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + required: False + type: int + guid: + description: + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -84,11 +84,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'tags', - 'offset', 'expand', 'limit', + 'offset', + 'guid', ] @@ -99,21 +99,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( - guid=dict( - required=True, - type='str'), tags=dict( required=False, type='str'), - offset=dict( - required=False, - type='int'), expand=dict( required=False, type='bool'), limit=dict( required=False, type='int'), + offset=dict( + required=False, + type='int'), + guid=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_app_config_environments', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_feature.py b/plugins/modules/ibm_app_config_feature.py index 8715b091e..4ac3d22e5 100644 --- a/plugins/modules/ibm_app_config_feature.py +++ b/plugins/modules/ibm_app_config_feature.py @@ -18,34 +18,55 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_feature' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + type: description: - - (Required for new resource) Feature name. + - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). required: True type: str - description: + enabled_value: description: - - Feature description. - required: False + - (Required for new resource) Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + required: True + type: str + disabled_value: + description: + - (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + required: True type: str + collections: + description: + - List of collection id representing the collections that are associated with the specified feature flag. + required: False + type: list + elements: dict guid: description: - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str + name: + description: + - (Required for new resource) Feature name. + required: True + type: str + environment_id: + description: + - (Required for new resource) Environment Id. + required: True + type: str feature_id: description: - (Required for new resource) Feature id. required: True type: str - enabled_value: + description: description: - - (Required for new resource) Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. - required: True + - Feature description. + required: False type: str tags: description: @@ -57,33 +78,12 @@ - Rollout percentage of the feature. required: False type: int - environment_id: - description: - - (Required for new resource) Environment Id. - required: True - type: str - type: - description: - - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). - required: True - type: str - disabled_value: - description: - - (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. - required: True - type: str segment_rules: description: - Specify the targeting rules that is used to set different feature flag values for different segments. required: False type: list elements: dict - collections: - description: - - List of collection id representing the collections that are associated with the specified feature flag. - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -130,43 +130,43 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('guid', 'str'), - ('feature_id', 'str'), - ('enabled_value', 'str'), - ('environment_id', 'str'), ('type', 'str'), + ('enabled_value', 'str'), ('disabled_value', 'str'), + ('guid', 'str'), + ('name', 'str'), + ('environment_id', 'str'), + ('feature_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'description', + 'type', + 'enabled_value', + 'disabled_value', + 'collections', 'guid', + 'name', + 'environment_id', 'feature_id', - 'enabled_value', + 'description', 'tags', 'rollout_percentage', - 'environment_id', - 'type', - 'disabled_value', 'segment_rules', - 'collections', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('guid', 'str'), ('environment_id', 'str'), + ('guid', 'str'), ('feature_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'guid', 'environment_id', - 'includes', + 'guid', 'feature_id', + 'includes', ] TL_CONFLICTS_MAP = { @@ -176,41 +176,41 @@ 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( + type=dict( required=False, type='str'), - description=dict( + enabled_value=dict( required=False, type='str'), - guid=dict( + disabled_value=dict( required=False, type='str'), - feature_id=dict( + collections=dict( required=False, - type='str'), - enabled_value=dict( + elements='', + type='list'), + guid=dict( required=False, type='str'), - tags=dict( + name=dict( required=False, type='str'), - rollout_percentage=dict( - required=False, - type='int'), environment_id=dict( required=False, type='str'), - type=dict( + feature_id=dict( required=False, type='str'), - disabled_value=dict( + description=dict( required=False, type='str'), - segment_rules=dict( + tags=dict( required=False, - elements='', - type='list'), - collections=dict( + type='str'), + rollout_percentage=dict( + required=False, + type='int'), + segment_rules=dict( required=False, elements='', type='list'), @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_feature_info.py b/plugins/modules/ibm_app_config_feature_info.py index 8645e5b40..148e25175 100644 --- a/plugins/modules/ibm_app_config_feature_info.py +++ b/plugins/modules/ibm_app_config_feature_info.py @@ -17,18 +17,23 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_feature' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + environment_id: + description: + - Environment Id. + required: True + type: str guid: description: - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - environment_id: + feature_id: description: - - Environment Id. + - Feature Id. required: True type: str includes: @@ -36,11 +41,6 @@ - Include the associated collections in the response. required: False type: str - feature_id: - description: - - Feature Id. - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,17 +74,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('environment_id', 'str'), + ('guid', 'str'), ('feature_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'environment_id', - 'includes', + 'guid', 'feature_id', + 'includes', ] @@ -95,18 +95,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( + environment_id=dict( + required=True, + type='str'), guid=dict( required=True, type='str'), - environment_id=dict( + feature_id=dict( required=True, type='str'), includes=dict( required=False, type='str'), - feature_id=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_features_info.py b/plugins/modules/ibm_app_config_features_info.py index e7cdcc384..f16397e5a 100644 --- a/plugins/modules/ibm_app_config_features_info.py +++ b/plugins/modules/ibm_app_config_features_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_features' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,36 +26,37 @@ - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - limit: - description: - - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. - required: False - type: int environment_id: description: - Environment Id. required: True type: str - expand: + tags: description: - - If set to `true`, returns expanded view of the resource details. + - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. required: False - type: bool - includes: + type: str + collections: description: - - Include the associated collections or targeting rules details in the response. + - Filter features by a list of comma separated collections. required: False type: list elements: str - collections: + segments: description: - - Filter features by a list of comma separated collections. + - Filter features by a list of comma separated segments. required: False type: list elements: str - offset: + includes: description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + - Include the associated collections or targeting rules details in the response. + required: False + type: list + elements: str + limit: + description: + - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int sort: @@ -63,17 +64,16 @@ - Sort the feature details based on the specified attribute. required: False type: str - tags: + expand: description: - - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + - If set to `true`, returns expanded view of the resource details. required: False - type: str - segments: + type: bool + offset: description: - - Filter features by a list of comma separated segments. + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. required: False - type: list - elements: str + type: int iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -114,15 +114,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'guid', - 'limit', 'environment_id', - 'expand', - 'includes', - 'collections', - 'offset', - 'sort', 'tags', + 'collections', 'segments', + 'includes', + 'limit', + 'sort', + 'expand', + 'offset', ] @@ -136,36 +136,36 @@ guid=dict( required=True, type='str'), - limit=dict( - required=False, - type='int'), environment_id=dict( required=True, type='str'), - expand=dict( + tags=dict( required=False, - type='bool'), - includes=dict( + type='str'), + collections=dict( required=False, elements='', type='list'), - collections=dict( + segments=dict( required=False, elements='', type='list'), - offset=dict( + includes=dict( + required=False, + elements='', + type='list'), + limit=dict( required=False, type='int'), sort=dict( required=False, type='str'), - tags=dict( + expand=dict( required=False, - type='str'), - segments=dict( + type='bool'), + offset=dict( required=False, - elements='', - type='list'), + type='int'), iaas_classic_username=dict( type='str', no_log=True, @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_app_config_features', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_properties_info.py b/plugins/modules/ibm_app_config_properties_info.py index 6c9650e9e..10954dc7a 100644 --- a/plugins/modules/ibm_app_config_properties_info.py +++ b/plugins/modules/ibm_app_config_properties_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_properties' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,19 +26,19 @@ - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - environment_id: - description: - - Environment Id. - required: True - type: str sort: description: - Sort the feature details based on the specified attribute. required: False type: str - segments: + tags: description: - - Filter features by a list of comma separated segments. + - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + required: False + type: str + collections: + description: + - Filter features by a list of comma separated collections. required: False type: list elements: str @@ -53,19 +53,14 @@ required: False type: list elements: str - offset: - description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - required: False - type: int - tags: + environment_id: description: - - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. - required: False + - Environment Id. + required: True type: str - collections: + segments: description: - - Filter features by a list of comma separated collections. + - Filter features by a list of comma separated segments. required: False type: list elements: str @@ -74,6 +69,11 @@ - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int + offset: + description: + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + required: False + type: int iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -114,15 +114,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'guid', - 'environment_id', 'sort', - 'segments', - 'expand', - 'include', - 'offset', 'tags', 'collections', + 'expand', + 'include', + 'environment_id', + 'segments', 'limit', + 'offset', ] @@ -136,13 +136,13 @@ guid=dict( required=True, type='str'), - environment_id=dict( - required=True, - type='str'), sort=dict( required=False, type='str'), - segments=dict( + tags=dict( + required=False, + type='str'), + collections=dict( required=False, elements='', type='list'), @@ -153,19 +153,19 @@ required=False, elements='', type='list'), - offset=dict( - required=False, - type='int'), - tags=dict( - required=False, + environment_id=dict( + required=True, type='str'), - collections=dict( + segments=dict( required=False, elements='', type='list'), limit=dict( required=False, type='int'), + offset=dict( + required=False, + type='int'), iaas_classic_username=dict( type='str', no_log=True, @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_app_config_properties', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_property.py b/plugins/modules/ibm_app_config_property.py index e59482cd2..34d650d9e 100644 --- a/plugins/modules/ibm_app_config_property.py +++ b/plugins/modules/ibm_app_config_property.py @@ -18,65 +18,65 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - description: + property_id: description: - - Property description. - required: False + - (Required for new resource) Property id. + required: True type: str - format: + collections: description: - - Format of the feature (TEXT, JSON, YAML). + - List of collection id representing the collections that are associated with the specified property. required: False + type: list + elements: dict + environment_id: + description: + - (Required for new resource) Environment Id. + required: True type: str name: description: - (Required for new resource) Property name. required: True type: str - property_id: + value: description: - - (Required for new resource) Property id. + - (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. required: True type: str - guid: + description: description: - - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True + - Property description. + required: False type: str tags: description: - Tags associated with the property. required: False type: str - segment_rules: + format: description: - - Specify the targeting rules that is used to set different property values for different segments. + - Format of the feature (TEXT, JSON, YAML). required: False - type: list - elements: dict - collections: + type: str + segment_rules: description: - - List of collection id representing the collections that are associated with the specified property. + - Specify the targeting rules that is used to set different property values for different segments. required: False type: list elements: dict - type: - description: - - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). - required: True - type: str - value: + guid: description: - - (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - environment_id: + type: description: - - (Required for new resource) Environment Id. + - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). required: True type: str id: @@ -125,27 +125,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('property_id', 'str'), + ('environment_id', 'str'), + ('name', 'str'), + ('value', 'str'), ('guid', 'str'), ('type', 'str'), - ('value', 'str'), - ('environment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'format', - 'name', 'property_id', - 'guid', + 'collections', + 'environment_id', + 'name', + 'value', + 'description', 'tags', + 'format', 'segment_rules', - 'collections', + 'guid', 'type', - 'value', - 'environment_id', ] # Params for Data source @@ -169,39 +169,39 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( + property_id=dict( required=False, type='str'), - format=dict( + collections=dict( + required=False, + elements='', + type='list'), + environment_id=dict( required=False, type='str'), name=dict( required=False, type='str'), - property_id=dict( + value=dict( required=False, type='str'), - guid=dict( + description=dict( required=False, type='str'), tags=dict( required=False, type='str'), - segment_rules=dict( + format=dict( required=False, - elements='', - type='list'), - collections=dict( + type='str'), + segment_rules=dict( required=False, elements='', type='list'), - type=dict( - required=False, - type='str'), - value=dict( + guid=dict( required=False, type='str'), - environment_id=dict( + type=dict( required=False, type='str'), id=dict( @@ -269,7 +269,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -278,7 +278,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_property_info.py b/plugins/modules/ibm_app_config_property_info.py index 262ecbea5..492c2131d 100644 --- a/plugins/modules/ibm_app_config_property_info.py +++ b/plugins/modules/ibm_app_config_property_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_segment.py b/plugins/modules/ibm_app_config_segment.py index eaf193a1b..9cb9e871d 100644 --- a/plugins/modules/ibm_app_config_segment.py +++ b/plugins/modules/ibm_app_config_segment.py @@ -18,26 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_segment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: - description: - - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str - description: - description: - - Segment description. - required: False - type: str rules: description: - (Required for new resource) List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is identified by an unique identifier and the attributes that it defines. required: True type: list elements: dict + guid: + description: + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str name: description: - (Required for new resource) Segment name. @@ -53,6 +48,11 @@ - Tags associated with the segments. required: False type: str + description: + description: + - Segment description. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,20 +99,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('rules', 'list'), + ('guid', 'str'), ('name', 'str'), ('segment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', - 'description', 'rules', + 'guid', 'name', 'segment_id', 'tags', + 'description', ] # 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( - guid=dict( - required=False, - type='str'), - description=dict( - required=False, - type='str'), rules=dict( required=False, elements='', type='list'), + guid=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -153,6 +150,9 @@ tags=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_segment_info.py b/plugins/modules/ibm_app_config_segment_info.py index 1c4640912..29f9799ee 100644 --- a/plugins/modules/ibm_app_config_segment_info.py +++ b/plugins/modules/ibm_app_config_segment_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_segment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_segments_info.py b/plugins/modules/ibm_app_config_segments_info.py index 13384c1d3..c45c7fea5 100644 --- a/plugins/modules/ibm_app_config_segments_info.py +++ b/plugins/modules/ibm_app_config_segments_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_segments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str sort: description: - Sort the segment details based on the specified attribute. @@ -36,21 +31,26 @@ - Segment details to include the associated rules in the response required: False type: str + expand: + description: + - If set to `true`, returns expanded view of the resource details. + required: False + type: bool limit: description: - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int + guid: + description: + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str tags: description: - Filter the resources to be returned based on the associated tags. required: False type: str - expand: - description: - - If set to `true`, returns expanded view of the resource details. - required: False - type: bool total_count: description: - Total number of records. @@ -99,12 +99,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'sort', 'include', + 'expand', 'limit', + 'guid', 'tags', - 'expand', 'total_count', 'offset', ] @@ -117,24 +117,24 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - guid=dict( - required=True, - type='str'), sort=dict( required=False, type='str'), include=dict( required=False, type='str'), + expand=dict( + required=False, + type='bool'), limit=dict( required=False, type='int'), + guid=dict( + required=True, + type='str'), tags=dict( required=False, type='str'), - expand=dict( - required=False, - type='bool'), total_count=dict( required=False, type='int'), @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_app_config_segments', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_snapshot.py b/plugins/modules/ibm_app_config_snapshot.py index 955860bb2..d821af546 100644 --- a/plugins/modules/ibm_app_config_snapshot.py +++ b/plugins/modules/ibm_app_config_snapshot.py @@ -18,29 +18,39 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_snapshot' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - action: + git_config_id: description: - - action promote - required: False + - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + required: True + type: str + git_url: + description: + - (Required for new resource) Git url which will be used to connect to the github account. + required: True + type: str + git_branch: + description: + - (Required for new resource) Branch name to which you need to write or update the configuration. + required: True type: str guid: description: - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - git_config_id: + git_token: description: - - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + - (Required for new resource) Git token, this needs to be provided with enough permission to write and update the file. required: True type: str - git_url: + action: description: - - (Required for new resource) Git url which will be used to connect to the github account. - required: True + - action promote + required: False type: str collection_id: description: @@ -57,16 +67,6 @@ - (Required for new resource) Git file path, this is a path where your configuration file will be written. required: True type: str - git_token: - description: - - (Required for new resource) Git token, this needs to be provided with enough permission to write and update the file. - required: True - type: str - git_branch: - description: - - (Required for new resource) Branch name to which you need to write or update the configuration. - required: True - type: str environment_id: description: - (Required for new resource) Environment id. @@ -118,40 +118,40 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('git_config_id', 'str'), ('git_url', 'str'), + ('git_branch', 'str'), + ('guid', 'str'), + ('git_token', 'str'), ('collection_id', 'str'), ('git_config_name', 'str'), ('git_file_path', 'str'), - ('git_token', 'str'), - ('git_branch', 'str'), ('environment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'action', - 'guid', 'git_config_id', 'git_url', + 'git_branch', + 'guid', + 'git_token', + 'action', 'collection_id', 'git_config_name', 'git_file_path', - 'git_token', - 'git_branch', 'environment_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('guid', 'str'), ('git_config_id', 'str'), + ('guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'guid', 'git_config_id', + 'guid', ] TL_CONFLICTS_MAP = { @@ -161,31 +161,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( - action=dict( + git_config_id=dict( required=False, type='str'), - guid=dict( + git_url=dict( required=False, type='str'), - git_config_id=dict( + git_branch=dict( required=False, type='str'), - git_url=dict( + guid=dict( required=False, type='str'), - collection_id=dict( + git_token=dict( required=False, type='str'), - git_config_name=dict( + action=dict( required=False, type='str'), - git_file_path=dict( + collection_id=dict( required=False, type='str'), - git_token=dict( + git_config_name=dict( required=False, type='str'), - git_branch=dict( + git_file_path=dict( required=False, type='str'), environment_id=dict( @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_app_config_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_app_config_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_snapshot_info.py b/plugins/modules/ibm_app_config_snapshot_info.py index b014a6758..447f954dd 100644 --- a/plugins/modules/ibm_app_config_snapshot_info.py +++ b/plugins/modules/ibm_app_config_snapshot_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_snapshot' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: + git_config_id: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only required: True type: str - git_config_id: + guid: description: - - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('git_config_id', 'str'), + ('guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'git_config_id', + 'guid', ] @@ -82,10 +82,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( - guid=dict( + git_config_id=dict( required=True, type='str'), - git_config_id=dict( + guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_app_config_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_snapshots_info.py b/plugins/modules/ibm_app_config_snapshots_info.py index 7c38691e8..0e2afc8a7 100644 --- a/plugins/modules/ibm_app_config_snapshots_info.py +++ b/plugins/modules/ibm_app_config_snapshots_info.py @@ -17,20 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str - collection_id: - description: - - Filters the response based on the specified collection_id. - required: False - type: str environment_id: description: - Filters the response based on the specified environment_id. @@ -46,6 +36,16 @@ - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. required: False type: int + guid: + description: + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str + collection_id: + description: + - Filters the response based on the specified collection_id. + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -84,11 +84,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', - 'collection_id', 'environment_id', 'limit', 'offset', + 'guid', + 'collection_id', ] @@ -99,12 +99,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( - guid=dict( - required=True, - type='str'), - collection_id=dict( - required=False, - type='str'), environment_id=dict( required=False, type='str'), @@ -114,6 +108,12 @@ offset=dict( required=False, type='int'), + guid=dict( + required=True, + type='str'), + collection_id=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_app_config_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_domain_private.py b/plugins/modules/ibm_app_domain_private.py index 6d745dd0d..5dd93b77e 100644 --- a/plugins/modules/ibm_app_domain_private.py +++ b/plugins/modules/ibm_app_domain_private.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_private' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) The name of the domain + required: True + type: str org_guid: description: - (Required for new resource) The organization that owns the domain. @@ -33,11 +38,6 @@ required: False type: list elements: str - name: - description: - - (Required for new resource) The name of the domain - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('org_guid', 'str'), ('name', 'str'), + ('org_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'org_guid', 'tags', - 'name', ] # Params for Data source @@ -111,6 +111,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( + name=dict( + required=False, + type='str'), org_guid=dict( required=False, type='str'), @@ -118,9 +121,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a13d3d5ec..9e624692a 100644 --- a/plugins/modules/ibm_app_domain_private_info.py +++ b/plugins/modules/ibm_app_domain_private_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_domain_private' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e22259e20..d2f99d311 100644 --- a/plugins/modules/ibm_app_domain_shared.py +++ b/plugins/modules/ibm_app_domain_shared.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_shared' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 14d8bbbdf..bf867c878 100644 --- a/plugins/modules/ibm_app_domain_shared_info.py +++ b/plugins/modules/ibm_app_domain_shared_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_domain_shared' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6f2fb2698..aa6672393 100644 --- a/plugins/modules/ibm_app_info.py +++ b/plugins/modules/ibm_app_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f682cdd04..23ae58a0f 100644 --- a/plugins/modules/ibm_app_route.py +++ b/plugins/modules/ibm_app_route.py @@ -18,10 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_app_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + path: + description: + - 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 '?' + required: False + type: str + tags: + description: + - None + required: False + type: list + elements: str host: description: - The host portion of the route. Required for shared-domains. @@ -42,17 +53,6 @@ - The port of the route. Supported for domains of TCP router groups only. required: False type: int - path: - description: - - 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 '?' - 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. @@ -105,12 +105,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'path', + 'tags', 'host', 'space_guid', 'domain_guid', 'port', - 'path', - 'tags', ] # Params for Data source @@ -120,11 +120,11 @@ ] TL_ALL_PARAMETERS_DS = [ - 'space_guid', - 'domain_guid', 'host', 'path', 'port', + 'space_guid', + 'domain_guid', ] TL_CONFLICTS_MAP = { @@ -134,6 +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( + path=dict( + required=False, + type='str'), + tags=dict( + required=False, + elements='', + type='list'), host=dict( required=False, type='str'), @@ -146,13 +153,6 @@ port=dict( required=False, type='int'), - path=dict( - required=False, - type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5ca8fd100..440012ed2 100644 --- a/plugins/modules/ibm_app_route_info.py +++ b/plugins/modules/ibm_app_route_info.py @@ -17,20 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 @@ -46,6 +36,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 @@ -85,11 +85,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'space_guid', - 'domain_guid', 'host', 'path', 'port', + 'space_guid', + 'domain_guid', ] @@ -100,12 +100,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'), @@ -115,6 +109,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, @@ -149,7 +149,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_action_url.py b/plugins/modules/ibm_appid_action_url.py index 5bf80d25e..6fdc1485b 100644 --- a/plugins/modules/ibm_appid_action_url.py +++ b/plugins/modules/ibm_appid_action_url.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_action_url' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_action_url_info.py b/plugins/modules/ibm_appid_action_url_info.py index b1824e520..f03687b63 100644 --- a/plugins/modules/ibm_appid_action_url_info.py +++ b/plugins/modules/ibm_appid_action_url_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_action_url' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_apm.py b/plugins/modules/ibm_appid_apm.py index 1265e3ec1..fed040d4e 100644 --- a/plugins/modules/ibm_appid_apm.py +++ b/plugins/modules/ibm_appid_apm.py @@ -18,28 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_apm' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - password_expiration: - description: - - (Required for new resource) - required: True - type: list - elements: dict - lockout_policy: - description: - - (Required for new resource) - required: True - type: list - elements: dict - min_password_change_interval: - description: - - (Required for new resource) - required: True - type: list - elements: dict tenant_id: description: - (Required for new resource) The AppID instance GUID @@ -62,6 +44,24 @@ required: True type: list elements: dict + password_expiration: + description: + - (Required for new resource) + required: True + type: list + elements: dict + lockout_policy: + description: + - (Required for new resource) + required: True + type: list + elements: dict + min_password_change_interval: + description: + - (Required for new resource) + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,23 +108,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('password_expiration', 'list'), - ('lockout_policy', 'list'), - ('min_password_change_interval', 'list'), ('tenant_id', 'str'), ('enabled', 'bool'), ('password_reuse', 'list'), + ('password_expiration', 'list'), + ('lockout_policy', 'list'), + ('min_password_change_interval', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'password_expiration', - 'lockout_policy', - 'min_password_change_interval', 'tenant_id', 'enabled', 'prevent_password_with_username', 'password_reuse', + 'password_expiration', + 'lockout_policy', + 'min_password_change_interval', ] # Params for Data source @@ -143,18 +143,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( - password_expiration=dict( - required=False, - elements='', - type='list'), - lockout_policy=dict( - required=False, - elements='', - type='list'), - min_password_change_interval=dict( - required=False, - elements='', - type='list'), tenant_id=dict( required=False, type='str'), @@ -168,6 +156,18 @@ required=False, elements='', type='list'), + password_expiration=dict( + required=False, + elements='', + type='list'), + lockout_policy=dict( + required=False, + elements='', + type='list'), + min_password_change_interval=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_apm_info.py b/plugins/modules/ibm_appid_apm_info.py index 6ed58fcd2..b026c6b2a 100644 --- a/plugins/modules/ibm_appid_apm_info.py +++ b/plugins/modules/ibm_appid_apm_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_apm' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_application.py b/plugins/modules/ibm_appid_application.py index 250fc9dd1..7717f64a4 100644 --- a/plugins/modules/ibm_appid_application.py +++ b/plugins/modules/ibm_appid_application.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - type: - description: - - The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. - required: False - type: str - default: regularwebapp tenant_id: description: - (Required for new resource) The service `tenantId` @@ -38,6 +32,12 @@ - (Required for new resource) The application name to be registered. Application name cannot exceed 50 characters. required: True type: str + type: + description: + - The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. + required: False + type: str + default: regularwebapp id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,9 +90,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', 'tenant_id', 'name', + 'type', ] # Params for Data source @@ -113,15 +113,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( - type=dict( - required=False, - type='str'), tenant_id=dict( required=False, type='str'), name=dict( required=False, type='str'), + type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_application_info.py b/plugins/modules/ibm_appid_application_info.py index b5324d2e1..e4a72c31e 100644 --- a/plugins/modules/ibm_appid_application_info.py +++ b/plugins/modules/ibm_appid_application_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_application_roles.py b/plugins/modules/ibm_appid_application_roles.py index 39bdc7ef6..3ba366bc6 100644 --- a/plugins/modules/ibm_appid_application_roles.py +++ b/plugins/modules/ibm_appid_application_roles.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application_roles' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_application_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_appid_application_roles', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_application_roles_info.py b/plugins/modules/ibm_appid_application_roles_info.py index bbaf3825f..5f189cadd 100644 --- a/plugins/modules/ibm_appid_application_roles_info.py +++ b/plugins/modules/ibm_appid_application_roles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_application_scopes.py b/plugins/modules/ibm_appid_application_scopes.py index 8646169d7..8232224c5 100644 --- a/plugins/modules/ibm_appid_application_scopes.py +++ b/plugins/modules/ibm_appid_application_scopes.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application_scopes' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_application_scopes_info.py b/plugins/modules/ibm_appid_application_scopes_info.py index abb01b8fb..571ce4066 100644 --- a/plugins/modules/ibm_appid_application_scopes_info.py +++ b/plugins/modules/ibm_appid_application_scopes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application_scopes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_applications_info.py b/plugins/modules/ibm_appid_applications_info.py index d6c0efdc3..2ff4577bd 100644 --- a/plugins/modules/ibm_appid_applications_info.py +++ b/plugins/modules/ibm_appid_applications_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_applications' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_applications', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_audit_status.py b/plugins/modules/ibm_appid_audit_status.py index e4eab8e1f..241a19fbf 100644 --- a/plugins/modules/ibm_appid_audit_status.py +++ b/plugins/modules/ibm_appid_audit_status.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_audit_status' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_audit_status', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_audit_status', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_audit_status_info.py b/plugins/modules/ibm_appid_audit_status_info.py index 3330f0bd1..d2db9cd01 100644 --- a/plugins/modules/ibm_appid_audit_status_info.py +++ b/plugins/modules/ibm_appid_audit_status_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_audit_status' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_audit_status', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_cloud_directory_template.py b/plugins/modules/ibm_appid_cloud_directory_template.py index 5b9295c31..b6c92b894 100644 --- a/plugins/modules/ibm_appid_cloud_directory_template.py +++ b/plugins/modules/ibm_appid_cloud_directory_template.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_cloud_directory_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - subject: - description: - - (Required for new resource) The subject of the email - required: True - type: str - html_body: - description: - - The HTML body of the email - required: False - type: str plain_text_body: description: - The text body of the email. @@ -53,6 +43,16 @@ required: False type: str default: en + subject: + description: + - (Required for new resource) The subject of the email + required: True + type: str + html_body: + description: + - The HTML body of the email + required: False + 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 = [ - ('subject', 'str'), ('tenant_id', 'str'), ('template_name', 'str'), + ('subject', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subject', - 'html_body', 'plain_text_body', 'tenant_id', 'template_name', 'language', + 'subject', + 'html_body', ] # Params for Data source @@ -121,9 +121,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'language', 'tenant_id', 'template_name', - 'language', ] 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( - subject=dict( - required=False, - type='str'), - html_body=dict( - required=False, - type='str'), plain_text_body=dict( required=False, type='str'), @@ -151,6 +145,12 @@ language=dict( required=False, type='str'), + subject=dict( + required=False, + type='str'), + html_body=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_cloud_directory_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_cloud_directory_template_info.py b/plugins/modules/ibm_appid_cloud_directory_template_info.py index eab34a89e..2fbb69e41 100644 --- a/plugins/modules/ibm_appid_cloud_directory_template_info.py +++ b/plugins/modules/ibm_appid_cloud_directory_template_info.py @@ -17,10 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_appid_cloud_directory_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + language: + description: + - Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. + required: False + type: str + default: en tenant_id: description: - The AppID instance GUID @@ -31,12 +37,6 @@ - The type of email template. This can be `USER_VERIFICATION`, `WELCOME`, `PASSWORD_CHANGED`, `RESET_PASSWORD` or `MFA_VERIFICATION` required: True type: str - language: - description: - - Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. - required: False - type: str - default: en iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -76,9 +76,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'language', 'tenant_id', 'template_name', - 'language', ] @@ -89,15 +89,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( + language=dict( + required=False, + type='str'), tenant_id=dict( required=True, type='str'), template_name=dict( required=True, type='str'), - language=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_cloud_directory_user.py b/plugins/modules/ibm_appid_cloud_directory_user.py index 1bdc037c3..104d1e8da 100644 --- a/plugins/modules/ibm_appid_cloud_directory_user.py +++ b/plugins/modules/ibm_appid_cloud_directory_user.py @@ -18,59 +18,59 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_cloud_directory_user' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - locked_until: - description: - - Integer (epoch time in milliseconds), determines till when the user account will be locked - required: False - type: int - display_name: - description: - - Cloud Directory user display name - required: False - type: str user_name: description: - Optional username required: False type: str + password: + description: + - (Required for new resource) User password + required: True + type: str status: description: - Accepted values `PENDING` or `CONFIRMED` required: False type: str default: PENDING + tenant_id: + description: + - (Required for new resource) The AppID instance GUID + required: True + type: str + locked_until: + description: + - Integer (epoch time in milliseconds), determines till when the user account will be locked + required: False + type: int + display_name: + description: + - Cloud Directory user display name + required: False + type: str email: description: - (Required for new resource) A set of user emails required: True type: list elements: dict - create_profile: + active: description: - - A boolean indication if a profile should be created for the Cloud Directory user + - Determines if the user account is active or not required: False type: bool default: True - active: + create_profile: description: - - Determines if the user account is active or not + - A boolean indication if a profile should be created for the Cloud Directory user required: False type: bool default: True - password: - description: - - (Required for new resource) User password - required: True - type: str - tenant_id: - description: - - (Required for new resource) The AppID instance GUID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,22 +117,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('email', 'list'), ('password', 'str'), ('tenant_id', 'str'), + ('email', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'locked_until', - 'display_name', 'user_name', + 'password', 'status', + 'tenant_id', + 'locked_until', + 'display_name', 'email', - 'create_profile', 'active', - 'password', - 'tenant_id', + 'create_profile', ] # Params for Data source @@ -153,34 +153,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( - locked_until=dict( - required=False, - type='int'), - display_name=dict( + user_name=dict( required=False, type='str'), - user_name=dict( + password=dict( required=False, type='str'), status=dict( required=False, type='str'), + tenant_id=dict( + required=False, + type='str'), + locked_until=dict( + required=False, + type='int'), + display_name=dict( + required=False, + type='str'), email=dict( required=False, elements='', type='list'), - create_profile=dict( - required=False, - type='bool'), active=dict( required=False, type='bool'), - password=dict( - required=False, - type='str'), - tenant_id=dict( + create_profile=dict( required=False, - type='str'), + type='bool'), id=dict( required=False, type='str'), @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_user', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_cloud_directory_user', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_cloud_directory_user_info.py b/plugins/modules/ibm_appid_cloud_directory_user_info.py index c557efeb5..a8aec949e 100644 --- a/plugins/modules/ibm_appid_cloud_directory_user_info.py +++ b/plugins/modules/ibm_appid_cloud_directory_user_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_cloud_directory_user' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_user', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_cloud_directory.py b/plugins/modules/ibm_appid_idp_cloud_directory.py index 7190e59b2..ea61ccbc1 100644 --- a/plugins/modules/ibm_appid_idp_cloud_directory.py +++ b/plugins/modules/ibm_appid_idp_cloud_directory.py @@ -18,67 +18,67 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_cloud_directory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - identity_confirm_methods: - description: - - None - required: False - type: list - elements: str - tenant_id: + is_active: description: - (Required for new resource) required: True - type: str - signup_enabled: + type: bool + self_service_enabled: description: - None required: False type: bool default: True - identity_confirm_access_mode: - description: - - None - required: False - type: str - default: FULL - reset_password_enabled: + welcome_enabled: description: - None required: False type: bool default: True - reset_password_notification_enabled: + reset_password_enabled: description: - None required: False type: bool default: True - identity_field: + identity_confirm_access_mode: description: - None required: False type: str - is_active: + default: FULL + tenant_id: description: - (Required for new resource) required: True - type: bool - self_service_enabled: + type: str + signup_enabled: description: - None required: False type: bool default: True - welcome_enabled: + reset_password_notification_enabled: description: - None required: False type: bool default: True + identity_confirm_methods: + description: + - None + required: False + type: list + elements: str + identity_field: + description: + - None + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,22 +125,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tenant_id', 'str'), ('is_active', 'bool'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identity_confirm_methods', + 'is_active', + 'self_service_enabled', + 'welcome_enabled', + 'reset_password_enabled', + 'identity_confirm_access_mode', 'tenant_id', 'signup_enabled', - 'identity_confirm_access_mode', - 'reset_password_enabled', 'reset_password_notification_enabled', + 'identity_confirm_methods', 'identity_field', - 'is_active', - 'self_service_enabled', - 'welcome_enabled', ] # Params for Data source @@ -159,37 +159,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( - identity_confirm_methods=dict( - required=False, - elements='', - type='list'), - tenant_id=dict( + is_active=dict( required=False, - type='str'), - signup_enabled=dict( + type='bool'), + self_service_enabled=dict( required=False, type='bool'), - identity_confirm_access_mode=dict( + welcome_enabled=dict( required=False, - type='str'), + type='bool'), reset_password_enabled=dict( required=False, type='bool'), - reset_password_notification_enabled=dict( + identity_confirm_access_mode=dict( required=False, - type='bool'), - identity_field=dict( + type='str'), + tenant_id=dict( required=False, type='str'), - is_active=dict( + signup_enabled=dict( required=False, type='bool'), - self_service_enabled=dict( + reset_password_notification_enabled=dict( required=False, type='bool'), - welcome_enabled=dict( + identity_confirm_methods=dict( required=False, - type='bool'), + elements='', + type='list'), + identity_field=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_appid_idp_cloud_directory', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_appid_idp_cloud_directory', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_cloud_directory_info.py b/plugins/modules/ibm_appid_idp_cloud_directory_info.py index c40fb1898..6ebc775ca 100644 --- a/plugins/modules/ibm_appid_idp_cloud_directory_info.py +++ b/plugins/modules/ibm_appid_idp_cloud_directory_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_cloud_directory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_cloud_directory', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_custom.py b/plugins/modules/ibm_appid_idp_custom.py index 7e709ff2b..1397c61df 100644 --- a/plugins/modules/ibm_appid_idp_custom.py +++ b/plugins/modules/ibm_appid_idp_custom.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_custom' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_idp_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_idp_custom', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_custom_info.py b/plugins/modules/ibm_appid_idp_custom_info.py index 5f0bf6415..1ca65a19e 100644 --- a/plugins/modules/ibm_appid_idp_custom_info.py +++ b/plugins/modules/ibm_appid_idp_custom_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_custom' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_facebook.py b/plugins/modules/ibm_appid_idp_facebook.py index 05934f8f0..52077083a 100644 --- a/plugins/modules/ibm_appid_idp_facebook.py +++ b/plugins/modules/ibm_appid_idp_facebook.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_facebook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_facebook_info.py b/plugins/modules/ibm_appid_idp_facebook_info.py index fcebfc44d..8afdd3191 100644 --- a/plugins/modules/ibm_appid_idp_facebook_info.py +++ b/plugins/modules/ibm_appid_idp_facebook_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_facebook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_google.py b/plugins/modules/ibm_appid_idp_google.py index c933c43bb..9efabaa09 100644 --- a/plugins/modules/ibm_appid_idp_google.py +++ b/plugins/modules/ibm_appid_idp_google.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_google' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_google_info.py b/plugins/modules/ibm_appid_idp_google_info.py index 9f2bf7a67..85ac8f709 100644 --- a/plugins/modules/ibm_appid_idp_google_info.py +++ b/plugins/modules/ibm_appid_idp_google_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_google' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_saml.py b/plugins/modules/ibm_appid_idp_saml.py index 4b5d5bb5d..8e54f90d2 100644 --- a/plugins/modules/ibm_appid_idp_saml.py +++ b/plugins/modules/ibm_appid_idp_saml.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_saml' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_saml', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_idp_saml', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_saml_info.py b/plugins/modules/ibm_appid_idp_saml_info.py index 137c280ce..d5f326d53 100644 --- a/plugins/modules/ibm_appid_idp_saml_info.py +++ b/plugins/modules/ibm_appid_idp_saml_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_saml' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_saml', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_saml_metadata_info.py b/plugins/modules/ibm_appid_idp_saml_metadata_info.py index a6f04448c..4f3b202b8 100644 --- a/plugins/modules/ibm_appid_idp_saml_metadata_info.py +++ b/plugins/modules/ibm_appid_idp_saml_metadata_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_saml_metadata' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_saml_metadata', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_languages.py b/plugins/modules/ibm_appid_languages.py index 5677c1824..f558aa8e5 100644 --- a/plugins/modules/ibm_appid_languages.py +++ b/plugins/modules/ibm_appid_languages.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_languages' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tenant_id: - description: - - (Required for new resource) The service `tenantId` - required: True - type: str languages: description: - (Required for new resource) The list of languages that can be used to customize email templates for Cloud Directory required: True type: list elements: str + tenant_id: + description: + - (Required for new resource) The service `tenantId` + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,14 +79,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tenant_id', 'str'), ('languages', 'list'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tenant_id', 'languages', + 'tenant_id', ] # Params for Data source @@ -105,13 +105,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( - tenant_id=dict( - required=False, - type='str'), languages=dict( required=False, elements='', type='list'), + tenant_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_appid_languages', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_languages', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_languages_info.py b/plugins/modules/ibm_appid_languages_info.py index 42bb7cbe3..0bb203b1a 100644 --- a/plugins/modules/ibm_appid_languages_info.py +++ b/plugins/modules/ibm_appid_languages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_languages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_languages', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_mfa.py b/plugins/modules/ibm_appid_mfa.py index d6aa2cd95..dd27caba9 100644 --- a/plugins/modules/ibm_appid_mfa.py +++ b/plugins/modules/ibm_appid_mfa.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_mfa' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_mfa', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_mfa', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_mfa_channel.py b/plugins/modules/ibm_appid_mfa_channel.py index 72e6308a4..a89fad61e 100644 --- a/plugins/modules/ibm_appid_mfa_channel.py +++ b/plugins/modules/ibm_appid_mfa_channel.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_mfa_channel' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_mfa_channel_info.py b/plugins/modules/ibm_appid_mfa_channel_info.py index 91e487a6a..b7fdb768a 100644 --- a/plugins/modules/ibm_appid_mfa_channel_info.py +++ b/plugins/modules/ibm_appid_mfa_channel_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_mfa_channel' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_mfa_info.py b/plugins/modules/ibm_appid_mfa_info.py index 86b28e3f2..cb23df368 100644 --- a/plugins/modules/ibm_appid_mfa_info.py +++ b/plugins/modules/ibm_appid_mfa_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_mfa' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_mfa', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_password_regex.py b/plugins/modules/ibm_appid_password_regex.py index 78ebe689d..1c9d29c56 100644 --- a/plugins/modules/ibm_appid_password_regex.py +++ b/plugins/modules/ibm_appid_password_regex.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_password_regex' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_password_regex', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_password_regex', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_password_regex_info.py b/plugins/modules/ibm_appid_password_regex_info.py index 3fbd3156b..d9c540f4d 100644 --- a/plugins/modules/ibm_appid_password_regex_info.py +++ b/plugins/modules/ibm_appid_password_regex_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_password_regex' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_password_regex', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_redirect_urls.py b/plugins/modules/ibm_appid_redirect_urls.py index a814ba46c..4cc722c54 100644 --- a/plugins/modules/ibm_appid_redirect_urls.py +++ b/plugins/modules/ibm_appid_redirect_urls.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_redirect_urls' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_appid_redirect_urls', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_redirect_urls', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_redirect_urls_info.py b/plugins/modules/ibm_appid_redirect_urls_info.py index cdb9edac6..67e7f0b2b 100644 --- a/plugins/modules/ibm_appid_redirect_urls_info.py +++ b/plugins/modules/ibm_appid_redirect_urls_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_redirect_urls' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_redirect_urls', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_role.py b/plugins/modules/ibm_appid_role.py index ad68499fe..3a4b5d503 100644 --- a/plugins/modules/ibm_appid_role.py +++ b/plugins/modules/ibm_appid_role.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_role' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -103,13 +103,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('role_id', 'str'), ('tenant_id', 'str'), + ('role_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'role_id', 'tenant_id', + 'role_id', ] TL_CONFLICTS_MAP = { @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_appid_role', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_role', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_role_info.py b/plugins/modules/ibm_appid_role_info.py index 6e657e75d..640ce7878 100644 --- a/plugins/modules/ibm_appid_role_info.py +++ b/plugins/modules/ibm_appid_role_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_appid_role' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - role_id: + tenant_id: description: - - Role ID + - The service `tenantId` required: True type: str - tenant_id: + role_id: description: - - The service `tenantId` + - Role ID required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('role_id', 'str'), ('tenant_id', 'str'), + ('role_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'role_id', 'tenant_id', + 'role_id', ] @@ -82,10 +82,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( - role_id=dict( + tenant_id=dict( required=True, type='str'), - tenant_id=dict( + role_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_role', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_roles_info.py b/plugins/modules/ibm_appid_roles_info.py index d45e9282c..ae7ce0957 100644 --- a/plugins/modules/ibm_appid_roles_info.py +++ b/plugins/modules/ibm_appid_roles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_theme_color.py b/plugins/modules/ibm_appid_theme_color.py index 0b2dc73ee..8b50f0da0 100644 --- a/plugins/modules/ibm_appid_theme_color.py +++ b/plugins/modules/ibm_appid_theme_color.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_theme_color' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tenant_id: + header_color: description: - - (Required for new resource) The AppID instance GUID + - (Required for new resource) required: True type: str - header_color: + tenant_id: description: - - (Required for new resource) + - (Required for new resource) The AppID instance GUID required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tenant_id', 'str'), ('header_color', 'str'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tenant_id', 'header_color', + 'tenant_id', ] # Params for Data source @@ -104,10 +104,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( - tenant_id=dict( + header_color=dict( required=False, type='str'), - header_color=dict( + tenant_id=dict( required=False, type='str'), id=dict( @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_theme_color', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_theme_color', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_theme_color_info.py b/plugins/modules/ibm_appid_theme_color_info.py index 3c0410d9d..297df5822 100644 --- a/plugins/modules/ibm_appid_theme_color_info.py +++ b/plugins/modules/ibm_appid_theme_color_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_theme_color' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_theme_color', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_theme_text.py b/plugins/modules/ibm_appid_theme_text.py index 587f73d7f..6d47bc75f 100644 --- a/plugins/modules/ibm_appid_theme_text.py +++ b/plugins/modules/ibm_appid_theme_text.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_theme_text' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_appid_theme_text', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_theme_text', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_theme_text_info.py b/plugins/modules/ibm_appid_theme_text_info.py index 5a22b14d7..ccbacd92a 100644 --- a/plugins/modules/ibm_appid_theme_text_info.py +++ b/plugins/modules/ibm_appid_theme_text_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_theme_text' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_theme_text', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_token_config.py b/plugins/modules/ibm_appid_token_config.py index 3247db42c..4fa8d1808 100644 --- a/plugins/modules/ibm_appid_token_config.py +++ b/plugins/modules/ibm_appid_token_config.py @@ -18,26 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_token_config' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - anonymous_token_expires_in: - description: - - None - required: False - type: int - default: 2592000 - anonymous_access_enabled: - description: - - The length of time for which an anonymous token is valid in seconds - required: False - type: bool - refresh_token_enabled: - description: - - None - required: False - type: bool access_token_claim: description: - A set of objects that are created when claims that are related to access tokens are mapped @@ -66,6 +50,22 @@ required: False type: int default: 2592000 + anonymous_token_expires_in: + description: + - None + required: False + type: int + default: 2592000 + anonymous_access_enabled: + description: + - The length of time for which an anonymous token is valid in seconds + required: False + type: bool + refresh_token_enabled: + description: + - None + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,14 +117,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'anonymous_token_expires_in', - 'anonymous_access_enabled', - 'refresh_token_enabled', 'access_token_claim', 'id_token_claim', 'tenant_id', 'access_token_expires_in', 'refresh_token_expires_in', + 'anonymous_token_expires_in', + 'anonymous_access_enabled', + 'refresh_token_enabled', ] # Params for Data source @@ -143,15 +143,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( - anonymous_token_expires_in=dict( - required=False, - type='int'), - anonymous_access_enabled=dict( - required=False, - type='bool'), - refresh_token_enabled=dict( - required=False, - type='bool'), access_token_claim=dict( required=False, elements='', @@ -169,6 +160,15 @@ refresh_token_expires_in=dict( required=False, type='int'), + anonymous_token_expires_in=dict( + required=False, + type='int'), + anonymous_access_enabled=dict( + required=False, + type='bool'), + refresh_token_enabled=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_appid_token_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_appid_token_config', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_token_config_info.py b/plugins/modules/ibm_appid_token_config_info.py index b651343b3..040e6ea3a 100644 --- a/plugins/modules/ibm_appid_token_config_info.py +++ b/plugins/modules/ibm_appid_token_config_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_token_config' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_token_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_user_roles.py b/plugins/modules/ibm_appid_user_roles.py index 49e8b3de7..b98934137 100644 --- a/plugins/modules/ibm_appid_user_roles.py +++ b/plugins/modules/ibm_appid_user_roles.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_user_roles' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tenant_id: - description: - - (Required for new resource) The AppID instance GUID - required: True - type: str subject: description: - (Required for new resource) The user's identifier ('subject' in identity token) @@ -38,6 +33,11 @@ required: True type: list elements: str + tenant_id: + description: + - (Required for new resource) The AppID instance GUID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,27 +84,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tenant_id', 'str'), ('subject', 'str'), ('role_ids', 'list'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tenant_id', 'subject', 'role_ids', + 'tenant_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('subject', 'str'), ('tenant_id', 'str'), + ('subject', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'subject', 'tenant_id', + 'subject', ] TL_CONFLICTS_MAP = { @@ -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( - tenant_id=dict( - required=False, - type='str'), subject=dict( required=False, type='str'), @@ -124,6 +121,9 @@ required=False, elements='', type='list'), + tenant_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_user_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_appid_user_roles', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_user_roles_info.py b/plugins/modules/ibm_appid_user_roles_info.py index 04bc6146b..40407a6f8 100644 --- a/plugins/modules/ibm_appid_user_roles_info.py +++ b/plugins/modules/ibm_appid_user_roles_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_appid_user_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - subject: + tenant_id: description: - - The user's identifier ('subject' in identity token) + - The AppID instance GUID required: True type: str - tenant_id: + subject: description: - - The AppID instance GUID + - The user's identifier ('subject' in identity token) required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subject', 'str'), ('tenant_id', 'str'), + ('subject', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subject', 'tenant_id', + 'subject', ] @@ -82,10 +82,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( - subject=dict( + tenant_id=dict( required=True, type='str'), - tenant_id=dict( + subject=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_user_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_endpoints_info.py b/plugins/modules/ibm_atracker_endpoints_info.py index b9c605d6f..1802deb4d 100644 --- a/plugins/modules/ibm_atracker_endpoints_info.py +++ b/plugins/modules/ibm_atracker_endpoints_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_atracker_endpoints' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_atracker_endpoints', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_route.py b/plugins/modules/ibm_atracker_route.py index 3a6987229..774fbe8a3 100644 --- a/plugins/modules/ibm_atracker_route.py +++ b/plugins/modules/ibm_atracker_route.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_route' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_atracker_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_routes_info.py b/plugins/modules/ibm_atracker_routes_info.py index ce199e778..c47aa206f 100644 --- a/plugins/modules/ibm_atracker_routes_info.py +++ b/plugins/modules/ibm_atracker_routes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_atracker_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_atracker_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_settings.py b/plugins/modules/ibm_atracker_settings.py index 851665383..f53d2ca92 100644 --- a/plugins/modules/ibm_atracker_settings.py +++ b/plugins/modules/ibm_atracker_settings.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + metadata_region_primary: + description: + - (Required for new resource) To store all your meta data in a single region. + required: True + type: str private_api_endpoint_only: description: - (Required for new resource) If you set this true then you cannot access api through public network. @@ -44,11 +49,6 @@ - Provide a back up region to store meta data. required: False type: str - metadata_region_primary: - description: - - (Required for new resource) To store all your meta data in a single region. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,17 +95,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('private_api_endpoint_only', 'bool'), ('metadata_region_primary', 'str'), + ('private_api_endpoint_only', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'metadata_region_primary', 'private_api_endpoint_only', 'default_targets', 'permitted_target_regions', 'metadata_region_backup', - 'metadata_region_primary', ] # 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( + metadata_region_primary=dict( + required=False, + type='str'), private_api_endpoint_only=dict( required=False, type='bool'), @@ -136,9 +139,6 @@ metadata_region_backup=dict( required=False, type='str'), - metadata_region_primary=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_atracker_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_target.py b/plugins/modules/ibm_atracker_target.py index fddecd678..990addeb5 100644 --- a/plugins/modules/ibm_atracker_target.py +++ b/plugins/modules/ibm_atracker_target.py @@ -18,37 +18,43 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_target' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - logdna_endpoint: - description: - - Property values for a LogDNA Endpoint. - required: False - type: list - elements: dict name: description: - (Required for new resource) The name of the target. The name must be 1000 characters or less, and cannot include any special characters other than `(space) - . _ :`. required: True type: str + region: + description: + - Include this optional field if you want to create a target in a different region other than the one you are connected. + required: False + type: str target_type: description: - - (Required for new resource) The type of the target. It can be cloud_object_storage or logdna. Based on this type you must include cos_endpoint or logdna_endpoint. + - (Required for new resource) The type of the target. It can be cloud_object_storage, logdna or event_streams. Based on this type you must include cos_endpoint, logdna_endpoint or eventstreams_endpoint. required: True type: str + logdna_endpoint: + description: + - Property values for a LogDNA Endpoint. + required: False + type: list + elements: dict cos_endpoint: description: - Property values for a Cloud Object Storage Endpoint. required: False type: list elements: dict - region: + eventstreams_endpoint: description: - - Include this optional field if you want to create a target in a different region other than the one you are connected. + - Property values for an Event Streams Endpoint in requests. required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,11 +107,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'logdna_endpoint', 'name', + 'region', 'target_type', + 'logdna_endpoint', 'cos_endpoint', - 'region', + 'eventstreams_endpoint', ] # Params for Data source @@ -122,23 +129,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( - logdna_endpoint=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), + region=dict( + required=False, + type='str'), target_type=dict( required=False, type='str'), + logdna_endpoint=dict( + required=False, + elements='', + type='list'), cos_endpoint=dict( required=False, elements='', type='list'), - region=dict( + eventstreams_endpoint=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -204,7 +215,7 @@ def run_module(): resource_type='ibm_atracker_target', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_targets_info.py b/plugins/modules/ibm_atracker_targets_info.py index 4ce9e5b2a..d7545070a 100644 --- a/plugins/modules/ibm_atracker_targets_info.py +++ b/plugins/modules/ibm_atracker_targets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_atracker_targets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_atracker_targets', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cbr_rule.py b/plugins/modules/ibm_cbr_rule.py index 924d08422..551707d51 100644 --- a/plugins/modules/ibm_cbr_rule.py +++ b/plugins/modules/ibm_cbr_rule.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cbr_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - transaction_id: - description: - - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. - required: False - type: str operations: description: - The operations this rule applies to. @@ -38,17 +33,17 @@ - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID. required: False type: str - description: - description: - - The description of the rule. - required: False - type: str enforcement_mode: description: - The rule enforcement mode: * `enabled` - The restrictions are enforced and reported. This is the default. * `disabled` - The restrictions are disabled. Nothing is enforced or reported. * `report` - The restrictions are evaluated and reported, but not enforced. required: False type: str default: enabled + description: + description: + - The description of the rule. + required: False + type: str contexts: description: - (Required for new resource) The contexts this rule applies to. @@ -61,6 +56,11 @@ required: True type: list elements: dict + transaction_id: + description: + - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,13 +113,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'transaction_id', 'operations', 'x_correlation_id', - 'description', 'enforcement_mode', + 'description', 'contexts', 'resources', + 'transaction_id', ] # Params for Data source @@ -138,9 +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( - transaction_id=dict( - required=False, - type='str'), operations=dict( required=False, elements='', @@ -148,10 +145,10 @@ x_correlation_id=dict( required=False, type='str'), - description=dict( + enforcement_mode=dict( required=False, type='str'), - enforcement_mode=dict( + description=dict( required=False, type='str'), contexts=dict( @@ -162,6 +159,9 @@ required=False, elements='', type='list'), + transaction_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_cbr_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cbr_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cbr_rule_info.py b/plugins/modules/ibm_cbr_rule_info.py index c7f75ad20..2b6a40051 100644 --- a/plugins/modules/ibm_cbr_rule_info.py +++ b/plugins/modules/ibm_cbr_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cbr_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cbr_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cbr_zone.py b/plugins/modules/ibm_cbr_zone.py index 34b1d5826..65b2b99d0 100644 --- a/plugins/modules/ibm_cbr_zone.py +++ b/plugins/modules/ibm_cbr_zone.py @@ -18,14 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_cbr_zone' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - account_id: + description: description: - - (Required for new resource) The id of the account owning this zone. - required: True + - The description of the zone. + required: False type: str addresses: description: @@ -38,15 +38,15 @@ - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID. required: False type: str - name: + transaction_id: description: - - (Required for new resource) The name of the zone. - required: True + - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. + required: False type: str - description: + account_id: description: - - The description of the zone. - required: False + - (Required for new resource) The id of the account owning this zone. + required: True type: str excluded: description: @@ -54,10 +54,10 @@ required: False type: list elements: dict - transaction_id: + name: description: - - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. - required: False + - (Required for new resource) The name of the zone. + required: True type: str id: description: @@ -105,20 +105,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('account_id', 'str'), ('addresses', 'list'), + ('account_id', 'str'), ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'account_id', + 'description', 'addresses', 'x_correlation_id', - 'name', - 'description', - 'excluded', 'transaction_id', + 'account_id', + 'excluded', + 'name', ] # Params for Data source @@ -137,7 +137,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( - account_id=dict( + description=dict( required=False, type='str'), addresses=dict( @@ -147,17 +147,17 @@ x_correlation_id=dict( required=False, type='str'), - name=dict( + transaction_id=dict( required=False, type='str'), - description=dict( + account_id=dict( required=False, type='str'), excluded=dict( required=False, elements='', type='list'), - transaction_id=dict( + name=dict( required=False, type='str'), id=dict( @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_cbr_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cbr_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cbr_zone_info.py b/plugins/modules/ibm_cbr_zone_info.py index cdb112a2c..75d98d896 100644 --- a/plugins/modules/ibm_cbr_zone_info.py +++ b/plugins/modules/ibm_cbr_zone_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cbr_zone' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cbr_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline.py b/plugins/modules/ibm_cd_tekton_pipeline.py index 093118986..a31f7ad2d 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline.py +++ b/plugins/modules/ibm_cd_tekton_pipeline.py @@ -18,33 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - enable_partial_cloning: + worker: description: - - Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories will be read and cloned. This means symbolic links may not work. + - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. required: False - type: bool - default: False + type: list + elements: dict pipeline_id: description: - (Required for new resource) String. required: True type: str - enable_slack_notifications: + enable_partial_cloning: description: - - Flag whether to enable slack notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the enclosing toolchain. + - Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories are read and cloned, this means that symbolic links might not work. required: False type: bool default: False - worker: + enable_notifications: description: - - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. + - Flag whether to enable notifications for this pipeline. When enabled, pipeline run events are published on all slack integration specified channels in the parent toolchain. required: False - type: list - elements: dict + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,10 +96,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enable_partial_cloning', - 'pipeline_id', - 'enable_slack_notifications', 'worker', + 'pipeline_id', + 'enable_partial_cloning', + 'enable_notifications', ] # 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( - enable_partial_cloning=dict( + worker=dict( required=False, - type='bool'), + elements='', + type='list'), pipeline_id=dict( required=False, type='str'), - enable_slack_notifications=dict( + enable_partial_cloning=dict( required=False, type='bool'), - worker=dict( + enable_notifications=dict( required=False, - elements='', - type='list'), + type='bool'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cd_tekton_pipeline', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_definition.py b/plugins/modules/ibm_cd_tekton_pipeline_definition.py index 8ecf34f4a..79d83ff68 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_definition.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_definition.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_definition' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,9 +27,9 @@ - (Required for new resource) The Tekton pipeline ID. required: True type: str - scm_source: + source: description: - - SCM source for Tekton pipeline definition. + - Source repository containing the Tekton pipeline definition. required: False type: list elements: dict @@ -85,18 +85,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pipeline_id', - 'scm_source', + 'source', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('definition_id', 'str'), ('pipeline_id', 'str'), + ('definition_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'definition_id', 'pipeline_id', + 'definition_id', ] TL_CONFLICTS_MAP = { @@ -109,7 +109,7 @@ pipeline_id=dict( required=False, type='str'), - scm_source=dict( + source=dict( required=False, elements='', type='list'), @@ -178,7 +178,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py b/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py index e5d46539c..4c024fcb7 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_definition' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - definition_id: + pipeline_id: description: - - The definition ID. + - The Tekton pipeline ID. required: True type: str - pipeline_id: + definition_id: description: - - The Tekton pipeline ID. + - The definition ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('definition_id', 'str'), ('pipeline_id', 'str'), + ('definition_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'definition_id', 'pipeline_id', + 'definition_id', ] @@ -82,10 +82,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( - definition_id=dict( + pipeline_id=dict( required=True, type='str'), - pipeline_id=dict( + definition_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_info.py b/plugins/modules/ibm_cd_tekton_pipeline_info.py index 5a69a374a..b93f9a077 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_property.py b/plugins/modules/ibm_cd_tekton_pipeline_property.py index d7df03fac..55b22057d 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_property.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_property.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -34,7 +34,7 @@ type: str value: description: - - Property value. + - Property value. Any string value is valid. required: False type: str enum: @@ -50,7 +50,7 @@ type: str path: description: - - A dot notation path for `integration` type properties to select a value from the tool integration. + - A dot notation path for `integration` type properties only, to select a value from the tool integration. If left blank the full tool integration data will be used. required: False type: str id: @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cd_tekton_pipeline_property', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_property_info.py b/plugins/modules/ibm_cd_tekton_pipeline_property_info.py index 42a85611b..23a789b3f 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_property_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_property_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger.py index c6340a9a0..c173fedd9 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger.py @@ -18,78 +18,79 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - event_listener: + secret: description: - - (Required for new resource) Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline. - required: True - type: str - max_concurrent_runs: + - Only needed for generic webhook trigger type. Secret used to start generic webhook trigger. + required: False + type: list + elements: dict + enabled: description: - - Defines the maximum number of concurrent runs for this trigger. Omit this property to disable the concurrency limit. + - Flag whether the trigger is enabled. If omitted the trigger is enabled by default. required: False - type: int - timezone: + type: bool + default: True + cron: description: - - Only needed for timer triggers. Timezone for timer trigger. + - Only needed for timer triggers. Cron expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: 0 *_/2 * * * - every 2 hours. required: False type: str - scm_source: + name: description: - - SCM source repository for a Git trigger. Only needed for Git triggers. + - (Required for new resource) Trigger name. + required: True + type: str + type: + description: + - (Required for new resource) Trigger type. + required: True + type: str + tags: + description: + - Trigger tags array. required: False type: list - elements: dict + elements: str + max_concurrent_runs: + description: + - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger. + required: False + type: int events: description: - - Only needed for Git triggers. Events object defines the events to which this Git trigger listens. + - Only needed for Git triggers. List of events to which a Git trigger listens. Choose one or more from: 'push', 'pull_request' and 'pull_request_closed'. For SCM repositories that use 'merge request' events, such events map to the equivalent 'pull request' events. required: False type: list - elements: dict - name: + elements: str + pipeline_id: description: - - (Required for new resource) Trigger name. + - (Required for new resource) The Tekton pipeline ID. required: True type: str - disabled: - description: - - Flag whether the trigger is disabled. If omitted the trigger is enabled by default. - required: False - type: bool worker: description: - Worker used to run the trigger. If not specified the trigger will use the default pipeline worker. required: False type: list elements: dict - cron: + timezone: description: - - Only needed for timer triggers. Cron expression for timer trigger. + - Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the cron activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. required: False type: str - tags: - description: - - Trigger tags array. - required: False - type: list - elements: str - secret: + source: description: - - Only needed for generic webhook trigger type. Secret used to start generic webhook trigger. + - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. required: False type: list elements: dict - pipeline_id: - description: - - (Required for new resource) The Tekton pipeline ID. - required: True - type: str - type: + event_listener: description: - - (Required for new resource) Trigger type. + - (Required for new resource) Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline. required: True type: str id: @@ -138,27 +139,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('event_listener', 'str'), ('name', 'str'), - ('pipeline_id', 'str'), ('type', 'str'), + ('pipeline_id', 'str'), + ('event_listener', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'event_listener', - 'max_concurrent_runs', - 'timezone', - 'scm_source', - 'events', - 'name', - 'disabled', - 'worker', + 'secret', + 'enabled', 'cron', + 'name', + 'type', 'tags', - 'secret', + 'max_concurrent_runs', + 'events', 'pipeline_id', - 'type', + 'worker', + 'timezone', + 'source', + 'event_listener', ] # Params for Data source @@ -179,48 +180,48 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - event_listener=dict( + secret=dict( + required=False, + elements='', + type='list'), + enabled=dict( + required=False, + type='bool'), + cron=dict( required=False, type='str'), - max_concurrent_runs=dict( + name=dict( required=False, - type='int'), - timezone=dict( + type='str'), + type=dict( required=False, type='str'), - scm_source=dict( + tags=dict( required=False, elements='', type='list'), + max_concurrent_runs=dict( + required=False, + type='int'), events=dict( required=False, elements='', type='list'), - name=dict( + pipeline_id=dict( required=False, type='str'), - disabled=dict( - required=False, - type='bool'), worker=dict( required=False, elements='', type='list'), - cron=dict( + timezone=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - secret=dict( + source=dict( required=False, elements='', type='list'), - pipeline_id=dict( - required=False, - type='str'), - type=dict( + event_listener=dict( required=False, type='str'), id=dict( @@ -288,7 +289,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -297,7 +298,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py index f78e2f712..16f2d9d52 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_trigger' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py index 2a73207f7..4fd92bc42 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_trigger_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + pipeline_id: + description: + - (Required for new resource) The Tekton pipeline ID. + required: True + type: str trigger_id: description: - (Required for new resource) The trigger ID. @@ -34,7 +39,7 @@ type: str value: description: - - Property value. + - Property value. Any string value is valid. required: False type: str enum: @@ -50,14 +55,9 @@ type: str path: description: - - A dot notation path for `integration` type properties to select a value from the tool integration. If left blank the full tool integration data will be used. + - A dot notation path for `integration` type properties only, to select a value from the tool integration. If left blank the full tool integration data will be used. required: False type: str - pipeline_id: - description: - - (Required for new resource) The Tekton pipeline ID. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,34 +104,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pipeline_id', 'str'), ('trigger_id', 'str'), ('name', 'str'), ('type', 'str'), - ('pipeline_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pipeline_id', 'trigger_id', 'name', 'value', 'enum', 'type', 'path', - 'pipeline_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('pipeline_id', 'str'), ('trigger_id', 'str'), ('property_name', 'str'), - ('pipeline_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'pipeline_id', 'trigger_id', 'property_name', - 'pipeline_id', ] TL_CONFLICTS_MAP = { @@ -141,6 +141,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( + pipeline_id=dict( + required=False, + type='str'), trigger_id=dict( required=False, type='str'), @@ -160,9 +163,6 @@ path=dict( required=False, type='str'), - pipeline_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cd_tekton_pipeline_trigger_property', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py index 7b221c1e1..5245358cd 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_trigger_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + pipeline_id: + description: + - The Tekton pipeline ID. + required: True + type: str trigger_id: description: - The trigger ID. @@ -31,11 +36,6 @@ - The property name. required: True type: str - pipeline_id: - description: - - The Tekton pipeline ID. - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pipeline_id', 'str'), ('trigger_id', 'str'), ('property_name', 'str'), - ('pipeline_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pipeline_id', 'trigger_id', 'property_name', - 'pipeline_id', ] @@ -89,13 +89,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( - trigger_id=dict( + pipeline_id=dict( required=True, type='str'), - property_name=dict( + trigger_id=dict( required=True, type='str'), - pipeline_id=dict( + property_name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain.py b/plugins/modules/ibm_cd_toolchain.py index 4abb7b61c..ebf20ebc7 100644 --- a/plugins/modules/ibm_cd_toolchain.py +++ b/plugins/modules/ibm_cd_toolchain.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_group_id: + description: + - (Required for new resource) Resource group where toolchain will be created. + required: True + type: str description: description: - Describes the toolchain. @@ -32,11 +37,6 @@ - (Required for new resource) Toolchain name. required: True type: str - resource_group_id: - description: - - (Required for new resource) Resource group where toolchain will be created. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,15 +83,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('resource_group_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group_id', 'description', 'name', - 'resource_group_id', ] # Params for Data source @@ -110,13 +110,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( - description=dict( + resource_group_id=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - resource_group_id=dict( + name=dict( required=False, type='str'), id=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_cd_toolchain', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cd_toolchain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_info.py b/plugins/modules/ibm_cd_toolchain_info.py index 77e603d7c..d8ce701d6 100644 --- a/plugins/modules/ibm_cd_toolchain_info.py +++ b/plugins/modules/ibm_cd_toolchain_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cd_toolchain', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_appconfig.py b/plugins/modules/ibm_cd_toolchain_tool_appconfig.py index f674a2f43..2a51c711f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_appconfig.py +++ b/plugins/modules/ibm_cd_toolchain_tool_appconfig.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_appconfig' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -29,13 +29,13 @@ type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str id: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_appconfig', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_appconfig', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py b/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py index f66fb537d..76a194d5b 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_appconfig' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_appconfig', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_artifactory.py b/plugins/modules/ibm_cd_toolchain_tool_artifactory.py index 89507630c..7336d4983 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_artifactory.py +++ b/plugins/modules/ibm_cd_toolchain_tool_artifactory.py @@ -18,26 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_artifactory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,8 +91,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'parameters', - 'name', 'toolchain_id', + 'name', ] # Params for Data source @@ -117,10 +117,10 @@ required=False, elements='', type='list'), - name=dict( + toolchain_id=dict( required=False, type='str'), - toolchain_id=dict( + name=dict( required=False, type='str'), id=dict( @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py b/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py index df6958b3f..7f0a08220 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_artifactory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py index e01f5c509..fd8f8cc4f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py +++ b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_bitbucketgit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - initialization: - description: - - (Required for new resource) - required: True - type: list - elements: dict - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -40,10 +29,21 @@ type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict + initialization: + description: + - (Required for new resource) + required: True + type: list + elements: dict + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('initialization', 'list'), ('toolchain_id', 'str'), ('parameters', 'list'), + ('initialization', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'initialization', - 'name', 'toolchain_id', 'parameters', + 'initialization', + 'name', ] # Params for Data source @@ -121,13 +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( - initialization=dict( - required=False, - elements='', - type='list'), - name=dict( - required=False, - type='str'), toolchain_id=dict( required=False, type='str'), @@ -135,6 +128,13 @@ required=False, elements='', type='list'), + initialization=dict( + required=False, + elements='', + type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_bitbucketgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_bitbucketgit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py index b81679579..2ebfc6d16 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_bitbucketgit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_bitbucketgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_custom.py b/plugins/modules/ibm_cd_toolchain_tool_custom.py index 8b5df7832..4f67d8b25 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_custom.py +++ b/plugins/modules/ibm_cd_toolchain_tool_custom.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_custom' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Name of tool. - required: False - type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict @@ -38,6 +33,11 @@ - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,9 +90,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'parameters', 'toolchain_id', + 'name', ] # Params for Data source @@ -113,9 +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( - name=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', @@ -123,6 +120,9 @@ toolchain_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_custom_info.py b/plugins/modules/ibm_cd_toolchain_tool_custom_info.py index 617927d3e..d74e21387 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_custom_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_custom_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_custom' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py index 87bd12259..fa712c687 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py +++ b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_devopsinsights' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -29,7 +29,7 @@ type: str name: description: - - Name of tool. + - Name of the tool. required: False type: str id: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py index b1b3d6bad..30f823769 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_devopsinsights' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py index cb24bd7c3..485a54440 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_githubconsolidated' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,21 +27,21 @@ - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str - parameters: + initialization: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) required: True type: list elements: dict - initialization: + parameters: description: - - (Required for new resource) + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str id: @@ -91,27 +91,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('toolchain_id', 'str'), - ('parameters', 'list'), ('initialization', 'list'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'toolchain_id', - 'parameters', 'initialization', + 'parameters', 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -124,11 +124,11 @@ toolchain_id=dict( required=False, type='str'), - parameters=dict( + initialization=dict( required=False, elements='', type='list'), - initialization=dict( + parameters=dict( required=False, elements='', type='list'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py index 22ea3a69d..83c6e9b69 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_githubconsolidated' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_gitlab.py b/plugins/modules/ibm_cd_toolchain_tool_gitlab.py index 83d29749f..b8b592699 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_gitlab.py +++ b/plugins/modules/ibm_cd_toolchain_tool_gitlab.py @@ -18,32 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_gitlab' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Name of tool. - required: False - type: str - parameters: + toolchain_id: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) ID of the toolchain to bind the tool to. required: True - type: list - elements: dict + type: str initialization: description: - (Required for new resource) required: True type: list elements: dict - toolchain_id: + name: description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True + - Name of the tool. + required: False type: str + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), - ('initialization', 'list'), ('toolchain_id', 'str'), + ('initialization', 'list'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'toolchain_id', + 'initialization', 'name', 'parameters', - 'initialization', - 'toolchain_id', ] # Params for Data source @@ -121,20 +121,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( + toolchain_id=dict( required=False, type='str'), - parameters=dict( - required=False, - elements='', - type='list'), initialization=dict( required=False, elements='', type='list'), - toolchain_id=dict( + name=dict( required=False, type='str'), + parameters=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py b/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py index b0e4dc000..5285d4b19 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_gitlab' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py index 6de08ce15..08461c7d0 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py @@ -18,23 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_hashicorpvault' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str + name: + description: + - Name of the tool. + required: False + type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict @@ -90,20 +90,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'toolchain_id', + 'name', 'parameters', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -113,10 +113,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( + toolchain_id=dict( required=False, type='str'), - toolchain_id=dict( + name=dict( required=False, type='str'), parameters=dict( @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hashicorpvault', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hashicorpvault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py index eebcae516..0331c8ca2 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_hashicorpvault' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hashicorpvault', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py b/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py index 4a32a8b0b..28bdd6634 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py @@ -18,32 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_hostedgit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - initialization: + parameters: description: - - (Required for new resource) + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str - parameters: + initialization: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) required: True type: list elements: dict + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,28 +90,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('initialization', 'list'), - ('toolchain_id', 'str'), ('parameters', 'list'), + ('toolchain_id', 'str'), + ('initialization', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'parameters', + 'toolchain_id', 'initialization', 'name', - 'toolchain_id', - 'parameters', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -121,20 +121,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( - initialization=dict( + parameters=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), toolchain_id=dict( required=False, type='str'), - parameters=dict( + initialization=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hostedgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hostedgit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py b/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py index 29953d1a8..2609e1cd1 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_hostedgit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hostedgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_jenkins.py b/plugins/modules/ibm_cd_toolchain_tool_jenkins.py index fe93efa5b..349978750 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_jenkins.py +++ b/plugins/modules/ibm_cd_toolchain_tool_jenkins.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_jenkins' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - Name of the tool. + required: False + type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -90,20 +90,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', 'name', + 'parameters', 'toolchain_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -113,13 +113,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'), parameters=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), toolchain_id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_jenkins', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_jenkins', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py b/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py index 018c59a89..d65458c5f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_jenkins' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,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( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_jenkins', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_jira.py b/plugins/modules/ibm_cd_toolchain_tool_jira.py new file mode 100644 index 000000000..df15b8576 --- /dev/null +++ b/plugins/modules/ibm_cd_toolchain_tool_jira.py @@ -0,0 +1,217 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_cd_toolchain_tool_jira +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cd_toolchain_tool_jira + +short_description: Configure IBM Cloud 'ibm_cd_toolchain_tool_jira' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_jira' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + required: True + type: list + elements: dict + name: + description: + - Name of the tool. + required: False + type: str + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('parameters', 'list'), + ('toolchain_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'parameters', + 'name', + 'toolchain_id', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('toolchain_id', 'str'), + ('tool_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'toolchain_id', + 'tool_id', +] + +TL_CONFLICTS_MAP = { +} + +# 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( + parameters=dict( + required=False, + elements='', + type='list'), + name=dict( + required=False, + type='str'), + toolchain_id=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result_ds = ibmcloud_terraform( + resource_type='ibm_cd_toolchain_tool_jira', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS_DS, + tl_all_params=TL_ALL_PARAMETERS_DS) + + if result_ds['rc'] != 0 or (result_ds['rc'] == 0 and (module.params['id'] is not None or module.params['state'] == 'absent')): + result = ibmcloud_terraform( + resource_type='ibm_cd_toolchain_tool_jira', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + else: + module.exit_json(**result_ds) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_cd_toolchain_tool_jira_info.py b/plugins/modules/ibm_cd_toolchain_tool_jira_info.py new file mode 100644 index 000000000..2e6024dc5 --- /dev/null +++ b/plugins/modules/ibm_cd_toolchain_tool_jira_info.py @@ -0,0 +1,141 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_cd_toolchain_tool_jira_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/cd_toolchain_tool_jira + +short_description: Retrieve IBM Cloud 'ibm_cd_toolchain_tool_jira' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_jira' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + toolchain_id: + description: + - ID of the toolchain. + required: True + type: str + tool_id: + description: + - ID of the tool bound to the toolchain. + required: True + type: str + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('toolchain_id', 'str'), + ('tool_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'toolchain_id', + 'tool_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + toolchain_id=dict( + required=True, + type='str'), + tool_id=dict( + required=True, + type='str'), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_cd_toolchain_tool_jira', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py b/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py index e7ec5039a..7b653143e 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py +++ b/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_keyprotect' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -29,13 +29,13 @@ type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str id: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py b/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py index 2199f6a54..fc4d14c90 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_keyprotect' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_nexus.py b/plugins/modules/ibm_cd_toolchain_tool_nexus.py index 5e99a5c3c..7aa172924 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_nexus.py +++ b/plugins/modules/ibm_cd_toolchain_tool_nexus.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_nexus' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - Name of the tool. + required: False + type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -29,15 +34,10 @@ type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,20 +90,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'toolchain_id', 'parameters', - 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -113,6 +113,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( + name=dict( + required=False, + type='str'), toolchain_id=dict( required=False, type='str'), @@ -120,9 +123,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py b/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py index afd19553c..f33e88765 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_nexus' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py b/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py index 784934d19..7a9d1c42d 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_pagerduty' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,17 +27,17 @@ - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str - name: - description: - - Name of tool. - required: False - type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,19 +91,19 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'toolchain_id', - 'name', 'parameters', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -116,13 +116,13 @@ toolchain_id=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pagerduty', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pagerduty', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py b/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py index 2f219a36c..6963ef4cc 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_pagerduty' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,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( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pagerduty', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_pipeline.py b/plugins/modules/ibm_cd_toolchain_tool_pipeline.py index 4e4c52ecc..a6726a7e3 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pipeline.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pipeline.py @@ -18,25 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_pipeline' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + name: description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True + - Name of the tool. + required: False type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: + toolchain_id: description: - - Name of tool. - required: False + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True type: str id: description: @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('parameters', 'list'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', - 'parameters', 'name', + 'parameters', + 'toolchain_id', ] # Params for Data source @@ -113,14 +113,14 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( + name=dict( required=False, type='str'), parameters=dict( required=False, elements='', type='list'), - name=dict( + toolchain_id=dict( required=False, type='str'), id=dict( @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pipeline', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py b/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py index 3003de984..6321ce17b 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_pipeline' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_privateworker.py b/plugins/modules/ibm_cd_toolchain_tool_privateworker.py index b9a828b7c..b33450dac 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_privateworker.py +++ b/plugins/modules/ibm_cd_toolchain_tool_privateworker.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_privateworker' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -29,13 +29,13 @@ type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str id: @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_privateworker', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_privateworker', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py b/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py index cf9e3ed7c..6738f9cfb 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_privateworker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_privateworker', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py b/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py index f44313512..506dbc4c0 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py +++ b/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py @@ -18,19 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_saucelabs' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str toolchain_id: @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py b/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py index 3e04cef3f..dea7e8b7f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_saucelabs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py index 999158812..1124fbfd2 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py +++ b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py @@ -18,24 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_secretsmanager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - parameters: - description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - required: True - type: list - elements: dict toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + required: True + type: list + elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str id: @@ -84,14 +84,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', 'toolchain_id', + 'parameters', 'name', ] @@ -113,13 +113,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( + toolchain_id=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', type='list'), - toolchain_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_secretsmanager', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_secretsmanager', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py index 745415532..8cc5a7018 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_secretsmanager' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_secretsmanager', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py index e362c1d81..e72435bde 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py +++ b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py @@ -18,26 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_securitycompliance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict name: description: - - Name of tool. + - Name of the tool. required: False type: str - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'toolchain_id', 'parameters', 'name', - 'toolchain_id', ] # Params for Data source @@ -113,6 +113,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( + toolchain_id=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', @@ -120,9 +123,6 @@ name=dict( required=False, type='str'), - toolchain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_securitycompliance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_securitycompliance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py index 6b2e66d56..213f1866d 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_securitycompliance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_securitycompliance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_slack.py b/plugins/modules/ibm_cd_toolchain_tool_slack.py index 7d00c3574..549a0fa72 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_slack.py +++ b/plugins/modules/ibm_cd_toolchain_tool_slack.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -34,10 +29,15 @@ type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,20 +90,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'toolchain_id', 'parameters', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -113,9 +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( - name=dict( - required=False, - type='str'), toolchain_id=dict( required=False, type='str'), @@ -123,6 +120,9 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_slack_info.py b/plugins/modules/ibm_cd_toolchain_tool_slack_info.py index 4515251ab..1c50bd4ef 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_slack_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_slack_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,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( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py b/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py index 970dee8ab..fca9521d7 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py +++ b/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_sonarqube' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - Name of the tool. + required: False + type: str parameters: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -90,8 +90,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', 'name', + 'parameters', 'toolchain_id', ] @@ -113,13 +113,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'), parameters=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), toolchain_id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_sonarqube', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_sonarqube', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py b/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py index 3fa0960ec..6ec8d9b9e 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_sonarqube' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_sonarqube', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 be368c0a2..8abf6e9b4 100644 --- a/plugins/modules/ibm_cdn.py +++ b/plugins/modules/ibm_cdn.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cdn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - bucket_name: - description: - - Bucket name - required: False - type: str - header: + certificate_type: description: - - Header info + - Certificate type required: False type: str cache_key_query_rule: @@ -38,17 +33,6 @@ required: False type: str default: include-all - https_port: - description: - - HTTPS port number - required: False - type: int - default: 443 - file_extension: - description: - - File extension info - required: False - type: str performance_configuration: description: - performance configuration info @@ -61,45 +45,39 @@ required: False type: str default: /* - vendor_name: + bucket_name: description: - - Vendor name + - Bucket name required: False type: str - default: akamai - origin_type: + header: description: - - Origin type info + - Header info required: False type: str - default: HOST_SERVER http_port: description: - HTTP port number required: False type: int default: 80 - host_name: - description: - - (Required for new resource) Host name - required: True - type: str - protocol: - description: - - Protocol name - required: False - type: str - default: HTTP - certificate_type: + vendor_name: description: - - Certificate type + - Vendor name required: False type: str + default: akamai origin_address: description: - (Required for new resource) origin address info required: True type: str + https_port: + description: + - HTTPS port number + required: False + type: int + default: 443 cname: description: - cname info @@ -111,6 +89,28 @@ required: False type: bool default: True + file_extension: + description: + - File extension info + required: False + type: str + host_name: + description: + - (Required for new resource) Host name + required: True + type: str + protocol: + description: + - Protocol name + required: False + type: str + default: HTTP + origin_type: + description: + - Origin type info + required: False + type: str + default: HOST_SERVER id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -157,28 +157,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('host_name', 'str'), ('origin_address', 'str'), + ('host_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bucket_name', - 'header', + 'certificate_type', 'cache_key_query_rule', - 'https_port', - 'file_extension', 'performance_configuration', 'path', - 'vendor_name', - 'origin_type', + 'bucket_name', + 'header', 'http_port', - 'host_name', - 'protocol', - 'certificate_type', + 'vendor_name', 'origin_address', + 'https_port', 'cname', 'respect_headers', + 'file_extension', + 'host_name', + 'protocol', + 'origin_type', ] # Params for Data source @@ -195,54 +195,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( - bucket_name=dict( - required=False, - type='str'), - header=dict( + certificate_type=dict( required=False, type='str'), cache_key_query_rule=dict( required=False, type='str'), - https_port=dict( - required=False, - type='int'), - file_extension=dict( - required=False, - type='str'), performance_configuration=dict( required=False, type='str'), path=dict( required=False, type='str'), - vendor_name=dict( + bucket_name=dict( required=False, type='str'), - origin_type=dict( + header=dict( required=False, type='str'), http_port=dict( required=False, type='int'), - host_name=dict( - required=False, - type='str'), - protocol=dict( - required=False, - type='str'), - certificate_type=dict( + vendor_name=dict( required=False, type='str'), origin_address=dict( required=False, type='str'), + https_port=dict( + required=False, + type='int'), cname=dict( required=False, type='str'), respect_headers=dict( required=False, type='bool'), + file_extension=dict( + required=False, + type='str'), + host_name=dict( + required=False, + type='str'), + protocol=dict( + required=False, + type='str'), + origin_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -308,7 +308,7 @@ def run_module(): resource_type='ibm_cdn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7ab92c63d..8f7fec7c0 100644 --- a/plugins/modules/ibm_certificate_manager_certificate_info.py +++ b/plugins/modules/ibm_certificate_manager_certificate_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_certificate_manager_certificate' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - certificate_manager_instance_id: + name: description: - None required: True type: str - name: + certificate_manager_instance_id: description: - None required: True @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('certificate_manager_instance_id', 'str'), ('name', 'str'), + ('certificate_manager_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'certificate_manager_instance_id', 'name', + 'certificate_manager_instance_id', ] @@ -82,10 +82,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( - certificate_manager_instance_id=dict( + name=dict( required=True, type='str'), - name=dict( + certificate_manager_instance_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_certificate_manager_certificate', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9af09e1d2..276b53369 100644 --- a/plugins/modules/ibm_certificate_manager_certificates_info.py +++ b/plugins/modules/ibm_certificate_manager_certificates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_certificate_manager_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_certificate_manager_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7f33d2b90..eea01b019 100644 --- a/plugins/modules/ibm_certificate_manager_import.py +++ b/plugins/modules/ibm_certificate_manager_import.py @@ -18,15 +18,10 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - certificate_manager_instance_id: - description: - - (Required for new resource) Instance ID of the certificate manager resource - required: True - type: str name: description: - (Required for new resource) Name of the instance @@ -42,6 +37,11 @@ - Description of the certificate instance required: False type: str + certificate_manager_instance_id: + description: + - (Required for new resource) Instance ID of the certificate manager resource + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('certificate_manager_instance_id', 'str'), ('name', 'str'), ('data', 'dict'), + ('certificate_manager_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'certificate_manager_instance_id', 'name', 'data', 'description', + 'certificate_manager_instance_id', ] # Params for Data source @@ -115,9 +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( - certificate_manager_instance_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -127,6 +124,9 @@ description=dict( required=False, type='str'), + certificate_manager_instance_id=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.47.1', + ibm_provider_version='1.48.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 114dce475..5460a8ed6 100644 --- a/plugins/modules/ibm_certificate_manager_order.py +++ b/plugins/modules/ibm_certificate_manager_order.py @@ -18,54 +18,37 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - certificate_manager_instance_id: - description: - - (Required for new resource) Certificate manager instance ID - required: True - type: str - rotate_keys: - description: - - Keys are sorated if set to true - required: False - type: bool - default: False auto_renew_enabled: description: - None required: False type: bool default: False - name: + certificate_manager_instance_id: description: - - (Required for new resource) Certificate name + - (Required for new resource) Certificate manager instance ID required: True type: str + domains: + description: + - (Required for new resource) List of domain names + required: True + type: list + elements: str description: description: - Certicate description required: False type: str - domain_validation_method: - description: - - Domain validation methods - required: False - type: str - default: dns-01 dns_provider_instance_crn: description: - DNS provider instance CRN required: False type: str - domains: - description: - - (Required for new resource) List of domain names - required: True - type: list - elements: str renew_certificate: description: - Invokes renew functionality @@ -78,6 +61,23 @@ required: False type: str default: rsaEncryption 2048 bit + name: + description: + - (Required for new resource) Certificate name + required: True + type: str + rotate_keys: + description: + - Keys are sorated if set to true + required: False + type: bool + default: False + domain_validation_method: + description: + - Domain validation methods + required: False + type: str + default: dns-01 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,22 +125,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('certificate_manager_instance_id', 'str'), - ('name', 'str'), ('domains', 'list'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'certificate_manager_instance_id', - 'rotate_keys', 'auto_renew_enabled', - 'name', + 'certificate_manager_instance_id', + 'domains', 'description', - 'domain_validation_method', 'dns_provider_instance_crn', - 'domains', 'renew_certificate', 'key_algorithm', + 'name', + 'rotate_keys', + 'domain_validation_method', ] # 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( - certificate_manager_instance_id=dict( - required=False, - type='str'), - rotate_keys=dict( - required=False, - type='bool'), auto_renew_enabled=dict( required=False, type='bool'), - name=dict( + certificate_manager_instance_id=dict( required=False, type='str'), - description=dict( + domains=dict( required=False, - type='str'), - domain_validation_method=dict( + elements='', + type='list'), + description=dict( required=False, type='str'), dns_provider_instance_crn=dict( required=False, type='str'), - domains=dict( - required=False, - elements='', - type='list'), renew_certificate=dict( required=False, type='bool'), key_algorithm=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + rotate_keys=dict( + required=False, + type='bool'), + domain_validation_method=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_certificate_manager_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f31c3db63..06345e714 100644 --- a/plugins/modules/ibm_cis.py +++ b/plugins/modules/ibm_cis.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_cis' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) A name for the resource instance - required: True - type: str - plan: + location: description: - - (Required for new resource) The plan type of the service + - (Required for new resource) The location where the instance available required: True type: str - resource_group_id: + parameters: description: - - The resource group id + - Arbitrary parameters to pass. Must be a JSON object required: False - type: str + type: dict tags: description: - None required: False type: list elements: str - parameters: + plan: description: - - Arbitrary parameters to pass. Must be a JSON object - required: False - type: dict - location: + - (Required for new resource) The plan type of the service + required: True + type: str + name: description: - - (Required for new resource) The location where the instance available + - (Required for new resource) A name for the resource instance required: True type: str + resource_group_id: + description: + - The resource group id + required: False + 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 = [ - ('name', 'str'), - ('plan', 'str'), ('location', 'str'), + ('plan', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'location', + 'parameters', + 'tags', 'plan', + 'name', 'resource_group_id', - 'tags', - 'parameters', - 'location', ] # Params for Data source @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group_id', + 'name', ] TL_CONFLICTS_MAP = { @@ -131,23 +131,23 @@ 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'), - plan=dict( + location=dict( required=False, type='str'), - resource_group_id=dict( + parameters=dict( required=False, - type='str'), + type='dict'), tags=dict( required=False, elements='', type='list'), - parameters=dict( + plan=dict( required=False, - type='dict'), - location=dict( + type='str'), + name=dict( + required=False, + type='str'), + resource_group_id=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cis', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_alert.py b/plugins/modules/ibm_cis_alert.py index 23f3fa3c0..38897726d 100644 --- a/plugins/modules/ibm_cis_alert.py +++ b/plugins/modules/ibm_cis_alert.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_alert' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,22 +27,11 @@ - (Required for new resource) CIS instance crn required: True type: str - mechanisms: - description: - - (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. - required: True - type: list - elements: dict name: description: - (Required for new resource) Policy name required: True type: str - description: - description: - - Policy Description - required: False - type: str enabled: description: - (Required for new resource) Is the alert policy active @@ -53,14 +42,25 @@ - (Required for new resource) Condition for the alert required: True type: str - filters: + conditions: description: - - Filters based on filter type + - Conditions based on filter type required: False type: str - conditions: + description: description: - - Conditions based on filter type + - Policy Description + required: False + type: str + mechanisms: + description: + - (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. + required: True + type: list + elements: dict + filters: + description: + - Filters based on filter type required: False type: str id: @@ -110,22 +110,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cis_id', 'str'), - ('mechanisms', 'list'), ('name', 'str'), ('enabled', 'bool'), ('alert_type', 'str'), + ('mechanisms', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cis_id', - 'mechanisms', 'name', - 'description', 'enabled', 'alert_type', - 'filters', 'conditions', + 'description', + 'mechanisms', + 'filters', ] # Params for Data source @@ -145,26 +145,26 @@ cis_id=dict( required=False, type='str'), - mechanisms=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), enabled=dict( required=False, type='bool'), alert_type=dict( required=False, type='str'), - filters=dict( + conditions=dict( required=False, type='str'), - conditions=dict( + description=dict( + required=False, + type='str'), + mechanisms=dict( + required=False, + elements='', + type='list'), + filters=dict( required=False, type='str'), id=dict( @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_cis_alert', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_alerts_info.py b/plugins/modules/ibm_cis_alerts_info.py index 2975ef2dd..f60d20a6f 100644 --- a/plugins/modules/ibm_cis_alerts_info.py +++ b/plugins/modules/ibm_cis_alerts_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_alerts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_alerts', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_cache_settings.py b/plugins/modules/ibm_cis_cache_settings.py index fc53826d3..c3549ddf6 100644 --- a/plugins/modules/ibm_cis_cache_settings.py +++ b/plugins/modules/ibm_cis_cache_settings.py @@ -18,20 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_cache_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - development_mode: + serve_stale_content: description: - - Development mode setting + - Serve Stale Content required: False type: str - purge_all: + default: on + browser_expiration: description: - - Purge all setting + - Browser Expiration setting required: False - type: bool + type: int purge_by_urls: description: - Purge by URLs @@ -48,11 +49,16 @@ - Cache level setting required: False type: str - browser_expiration: + query_string_sort: description: - - Browser Expiration setting + - Query String sort setting required: False - type: int + type: str + purge_all: + description: + - Purge all setting + required: False + type: bool purge_by_tags: description: - Purge by tags @@ -70,15 +76,9 @@ - (Required for new resource) Associated CIS domain required: True type: str - serve_stale_content: - description: - - Serve Stale Content - required: False - type: str - default: on - query_string_sort: + development_mode: description: - - Query String sort setting + - Development mode setting required: False type: str id: @@ -133,17 +133,17 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'development_mode', - 'purge_all', + 'serve_stale_content', + 'browser_expiration', 'purge_by_urls', 'cis_id', 'caching_level', - 'browser_expiration', + 'query_string_sort', + 'purge_all', 'purge_by_tags', 'purge_by_hosts', 'domain_id', - 'serve_stale_content', - 'query_string_sort', + 'development_mode', ] # Params for Data source @@ -158,8 +158,8 @@ ] TL_CONFLICTS_MAP = { - 'purge_all': ['purge_by_urls', 'purge_by_tags', 'purge_by_hosts'], 'purge_by_urls': ['purge_all', 'purge_by_tags', 'purge_by_hosts'], + 'purge_all': ['purge_by_urls', 'purge_by_tags', 'purge_by_hosts'], 'purge_by_tags': ['purge_all', 'purge_by_urls', 'purge_by_hosts'], 'purge_by_hosts': ['purge_all', 'purge_by_urls', 'purge_by_tags'], } @@ -168,12 +168,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( - development_mode=dict( + serve_stale_content=dict( required=False, type='str'), - purge_all=dict( + browser_expiration=dict( required=False, - type='bool'), + type='int'), purge_by_urls=dict( required=False, elements='', @@ -184,9 +184,12 @@ caching_level=dict( required=False, type='str'), - browser_expiration=dict( + query_string_sort=dict( required=False, - type='int'), + type='str'), + purge_all=dict( + required=False, + type='bool'), purge_by_tags=dict( required=False, elements='', @@ -198,10 +201,7 @@ domain_id=dict( required=False, type='str'), - serve_stale_content=dict( - required=False, - type='str'), - query_string_sort=dict( + development_mode=dict( required=False, type='str'), id=dict( @@ -269,7 +269,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -278,7 +278,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_info.py b/plugins/modules/ibm_cis_cache_settings_info.py index c5bb7daa5..3e99434f5 100644 --- a/plugins/modules/ibm_cis_cache_settings_info.py +++ b/plugins/modules/ibm_cis_cache_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_cache_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a93ec84a0..0b8d966a8 100644 --- a/plugins/modules/ibm_cis_certificate_order.py +++ b/plugins/modules/ibm_cis_certificate_order.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str type: description: - certificate type @@ -39,11 +44,6 @@ - (Required for new resource) CIS object id or CRN 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. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('domain_id', 'str'), ('hosts', 'list'), ('cis_id', 'str'), - ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'domain_id', 'type', 'hosts', 'cis_id', - 'domain_id', ] # Params for Data source @@ -117,6 +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( + domain_id=dict( + required=False, + type='str'), type=dict( required=False, type='str'), @@ -127,9 +130,6 @@ cis_id=dict( required=False, type='str'), - domain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cis_certificate_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 70c933b1b..d64fea874 100644 --- a/plugins/modules/ibm_cis_certificate_upload.py +++ b/plugins/modules/ibm_cis_certificate_upload.py @@ -18,13 +18,18 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - private_key: + domain_id: description: - - (Required for new resource) Certificate private key + - (Required for new resource) Associated CIS domain + required: True + type: str + certificate: + description: + - (Required for new resource) Certificate key required: True type: str priority: @@ -32,11 +37,6 @@ - Certificate priority required: False type: int - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str cis_id: description: - (Required for new resource) CIS instance crn @@ -48,9 +48,9 @@ required: False type: str default: ubiquitous - certificate: + private_key: description: - - (Required for new resource) Certificate key + - (Required for new resource) Certificate private key required: True type: str id: @@ -99,20 +99,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('private_key', 'str'), ('domain_id', 'str'), - ('cis_id', 'str'), ('certificate', 'str'), + ('cis_id', 'str'), + ('private_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'private_key', - 'priority', 'domain_id', + 'certificate', + 'priority', 'cis_id', 'bundle_method', - 'certificate', + 'private_key', ] # Params for Data source @@ -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( - private_key=dict( + domain_id=dict( + required=False, + type='str'), + certificate=dict( required=False, type='str'), priority=dict( required=False, type='int'), - domain_id=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), bundle_method=dict( required=False, type='str'), - certificate=dict( + private_key=dict( required=False, type='str'), id=dict( @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_cis_certificate_upload', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9f997c5cb..f87d28038 100644 --- a/plugins/modules/ibm_cis_certificates_info.py +++ b/plugins/modules/ibm_cis_certificates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 1da4ded8f..76b984633 100644 --- a/plugins/modules/ibm_cis_custom_certificates_info.py +++ b/plugins/modules/ibm_cis_custom_certificates_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_custom_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cis_id: + domain_id: description: - - CIS instance crn + - None required: True type: str - domain_id: + cis_id: description: - - None + - CIS instance crn required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # 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 = [ - 'cis_id', 'domain_id', + 'cis_id', ] @@ -82,10 +82,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( - cis_id=dict( + domain_id=dict( required=True, type='str'), - domain_id=dict( + cis_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_custom_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6d0f67ad8..1128fb438 100644 --- a/plugins/modules/ibm_cis_custom_page.py +++ b/plugins/modules/ibm_cis_custom_page.py @@ -18,28 +18,28 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - page_id: + domain_id: description: - - (Required for new resource) Custom page identifier + - (Required for new resource) Associated CIS domain required: True type: str - cis_id: + page_id: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) Custom page identifier required: True type: str - domain_id: + url: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) Custom page url required: True type: str - url: + cis_id: description: - - (Required for new resource) Custom page url + - (Required for new resource) CIS instance crn required: True type: str id: @@ -88,18 +88,18 @@ # 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'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'page_id', - 'cis_id', 'domain_id', + 'page_id', 'url', + 'cis_id', ] # Params for Data source @@ -116,16 +116,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( - page_id=dict( + domain_id=dict( required=False, type='str'), - cis_id=dict( + page_id=dict( required=False, type='str'), - domain_id=dict( + url=dict( required=False, type='str'), - url=dict( + cis_id=dict( required=False, type='str'), id=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cis_custom_page', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a2f0ae1a9..f809528f2 100644 --- a/plugins/modules/ibm_cis_custom_pages_info.py +++ b/plugins/modules/ibm_cis_custom_pages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_custom_pages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_custom_pages', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 cda3ba361..72ab0d6f0 100644 --- a/plugins/modules/ibm_cis_dns_record.py +++ b/plugins/modules/ibm_cis_dns_record.py @@ -18,57 +18,57 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - content: + name: description: - - DNS record content + - DNS record name required: False type: str + type: + description: + - (Required for new resource) Record type + required: True + type: str data: description: - None required: False type: dict - priority: + proxied: description: - - Priority Value + - Boolean value true if proxied else flase required: False - type: int - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str + type: bool + default: False cis_id: description: - (Required for new resource) CIS object id or CRN required: True type: str - name: + content: description: - - DNS record name + - DNS record content required: False type: str - type: - description: - - (Required for new resource) Record type - 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 + priority: + description: + - Priority Value + required: False + type: int + 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. @@ -115,22 +115,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), - ('cis_id', 'str'), ('type', 'str'), + ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'content', - 'data', - 'priority', - 'domain_id', - 'cis_id', 'name', 'type', + 'data', 'proxied', + 'cis_id', + 'content', 'ttl', + 'priority', + 'domain_id', ] # Params for Data source @@ -141,41 +141,41 @@ ] TL_CONFLICTS_MAP = { - 'content': ['data'], 'data': ['content'], + 'content': ['data'], } # 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( - content=dict( + name=dict( + required=False, + type='str'), + type=dict( required=False, type='str'), data=dict( required=False, type='dict'), - priority=dict( - required=False, - type='int'), - domain_id=dict( + proxied=dict( required=False, - type='str'), + type='bool'), cis_id=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), - type=dict( + content=dict( required=False, type='str'), - proxied=dict( - required=False, - type='bool'), ttl=dict( required=False, type='int'), + priority=dict( + required=False, + type='int'), + domain_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.47.1', + ibm_provider_version='1.48.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 d9350a347..4d96025d6 100644 --- a/plugins/modules/ibm_cis_dns_records_import.py +++ b/plugins/modules/ibm_cis_dns_records_import.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cis_dns_records_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 60dc394cc..60e43b50e 100644 --- a/plugins/modules/ibm_cis_dns_records_info.py +++ b/plugins/modules/ibm_cis_dns_records_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_dns_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_cis_dns_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bf911b226..7a56fdd20 100644 --- a/plugins/modules/ibm_cis_domain.py +++ b/plugins/modules/ibm_cis_domain.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str domain: description: - (Required for new resource) CISzone - Domain @@ -33,11 +38,6 @@ required: False type: str default: full - 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. @@ -84,28 +84,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain', 'str'), ('cis_id', 'str'), + ('domain', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', 'domain', 'type', - 'cis_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('cis_id', 'str'), ('domain', 'str'), + ('cis_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'domain', 'cis_id', 'verification_key', 'cname_suffix', - 'domain', ] TL_CONFLICTS_MAP = { @@ -115,13 +115,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( - domain=dict( + cis_id=dict( required=False, type='str'), - type=dict( + domain=dict( required=False, type='str'), - cis_id=dict( + type=dict( required=False, type='str'), id=dict( @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 eea53c178..cddc0f97e 100644 --- a/plugins/modules/ibm_cis_domain_info.py +++ b/plugins/modules/ibm_cis_domain_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_cis_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + domain: + description: + - CISzone - Domain + required: True + type: str cis_id: description: - CIS instance crn @@ -36,11 +41,6 @@ - None required: False type: str - domain: - description: - - CISzone - Domain - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,16 +74,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'domain', 'cis_id', 'verification_key', 'cname_suffix', - 'domain', ] @@ -94,6 +94,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( + domain=dict( + required=True, + type='str'), cis_id=dict( required=True, type='str'), @@ -103,9 +106,6 @@ cname_suffix=dict( required=False, type='str'), - domain=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6b1b69059..f4eb20383 100644 --- a/plugins/modules/ibm_cis_domain_settings.py +++ b/plugins/modules/ibm_cis_domain_settings.py @@ -18,44 +18,49 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - websockets: + automatic_https_rewrites: description: - - websockets setting + - automatic_https_rewrites setting required: False type: str - opportunistic_encryption: + always_use_https: description: - - opportunistic_encryption setting + - always_use_https setting required: False type: str - browser_check: + true_client_ip_header: description: - - browser_check setting + - true_client_ip_header setting required: False type: str - minify: + ip_geolocation: description: - - Minify setting + - ip_geolocation setting required: False - type: list - elements: dict - cis_id: + type: str + pseudo_ipv4: description: - - (Required for new resource) CIS instance crn - required: True + - pseudo_ipv4 setting + required: False type: str - ssl: + challenge_ttl: description: - - SSL/TLS setting + - Challenge TTL setting + required: False + type: int + min_tls_version: + description: + - Minimum version of TLS required required: False type: str - automatic_https_rewrites: + default: 1.1 + image_load_optimization: description: - - automatic_https_rewrites setting + - image_load_optimization setting required: False type: str origin_error_page_pass_thru: @@ -63,25 +68,14 @@ - origin_error_page_pass_thru setting required: False type: str - mobile_redirect: - description: - - None - required: False - type: list - elements: dict domain_id: description: - (Required for new resource) Associated CIS domain required: True type: str - hotlink_protection: - description: - - hotlink_protection setting - required: False - type: str - http2: + ssl: description: - - http2 setting + - SSL/TLS setting required: False type: str brotli: @@ -89,60 +83,77 @@ - brotli setting required: False type: str - pseudo_ipv4: + cname_flattening: description: - - pseudo_ipv4 setting + - cname_flattening setting required: False type: str - prefetch_preload: + tls_client_auth: description: - - prefetch_preload setting + - tls_client_auth setting required: False type: str - min_tls_version: + minify: description: - - Minimum version of TLS required + - Minify setting required: False - type: str - default: 1.1 - waf: + type: list + elements: dict + mobile_redirect: description: - - WAF setting + - None required: False - type: str + type: list + elements: dict ipv6: description: - ipv6 setting required: False type: str - image_load_optimization: + http2: description: - - image_load_optimization setting + - http2 setting required: False type: str - response_buffering: + image_size_optimization: description: - - response_buffering setting + - image_size_optimization setting required: False type: str - tls_client_auth: + prefetch_preload: description: - - tls_client_auth setting + - prefetch_preload setting required: False type: str - true_client_ip_header: + security_header: description: - - true_client_ip_header setting + - Security Header Setting required: False + type: list + elements: dict + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True type: str - dnssec: + browser_check: description: - - DNS Sec setting + - browser_check setting required: False type: str - ip_geolocation: + script_load_optimization: description: - - ip_geolocation setting + - script_load_optimization setting + required: False + type: str + server_side_exclude: + description: + - server_side_exclude setting + required: False + type: str + websockets: + description: + - websockets setting required: False type: str max_upload: @@ -150,48 +161,37 @@ - Maximum upload required: False type: int - security_header: - description: - - Security Header Setting - required: False - type: list - elements: dict - image_size_optimization: + dnssec: description: - - image_size_optimization setting + - DNS Sec setting required: False type: str - always_use_https: + waf: description: - - always_use_https setting + - WAF setting required: False type: str - script_load_optimization: + opportunistic_encryption: description: - - script_load_optimization setting + - opportunistic_encryption setting required: False type: str - server_side_exclude: + hotlink_protection: description: - - server_side_exclude setting + - hotlink_protection setting required: False type: str - challenge_ttl: + response_buffering: description: - - Challenge TTL setting + - response_buffering setting required: False - type: int + type: str cipher: description: - Cipher settings required: False type: list elements: str - cname_flattening: - description: - - cname_flattening setting - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -238,45 +238,45 @@ # 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 = [ - 'websockets', - 'opportunistic_encryption', - 'browser_check', - 'minify', - 'cis_id', - 'ssl', 'automatic_https_rewrites', - 'origin_error_page_pass_thru', - 'mobile_redirect', - 'domain_id', - 'hotlink_protection', - 'http2', - 'brotli', + 'always_use_https', + 'true_client_ip_header', + 'ip_geolocation', 'pseudo_ipv4', - 'prefetch_preload', + 'challenge_ttl', 'min_tls_version', - 'waf', - 'ipv6', 'image_load_optimization', - 'response_buffering', + 'origin_error_page_pass_thru', + 'domain_id', + 'ssl', + 'brotli', + 'cname_flattening', 'tls_client_auth', - 'true_client_ip_header', - 'dnssec', - 'ip_geolocation', - 'max_upload', - 'security_header', + 'minify', + 'mobile_redirect', + 'ipv6', + 'http2', 'image_size_optimization', - 'always_use_https', + 'prefetch_preload', + 'security_header', + 'cis_id', + 'browser_check', 'script_load_optimization', 'server_side_exclude', - 'challenge_ttl', + 'websockets', + 'max_upload', + 'dnssec', + 'waf', + 'opportunistic_encryption', + 'hotlink_protection', + 'response_buffering', 'cipher', - 'cname_flattening', ] # Params for Data source @@ -293,109 +293,109 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - websockets=dict( + automatic_https_rewrites=dict( required=False, type='str'), - opportunistic_encryption=dict( + always_use_https=dict( required=False, type='str'), - browser_check=dict( + true_client_ip_header=dict( required=False, type='str'), - minify=dict( + ip_geolocation=dict( required=False, - elements='', - type='list'), - cis_id=dict( + type='str'), + pseudo_ipv4=dict( required=False, type='str'), - ssl=dict( + challenge_ttl=dict( + required=False, + type='int'), + min_tls_version=dict( required=False, type='str'), - automatic_https_rewrites=dict( + image_load_optimization=dict( required=False, type='str'), origin_error_page_pass_thru=dict( required=False, type='str'), - mobile_redirect=dict( - required=False, - elements='', - type='list'), domain_id=dict( required=False, type='str'), - hotlink_protection=dict( - required=False, - type='str'), - http2=dict( + ssl=dict( required=False, type='str'), brotli=dict( required=False, type='str'), - pseudo_ipv4=dict( + cname_flattening=dict( required=False, type='str'), - prefetch_preload=dict( + tls_client_auth=dict( required=False, type='str'), - min_tls_version=dict( + minify=dict( + required=False, + elements='', + type='list'), + mobile_redirect=dict( + required=False, + elements='', + type='list'), + ipv6=dict( required=False, type='str'), - waf=dict( + http2=dict( required=False, type='str'), - ipv6=dict( + image_size_optimization=dict( required=False, type='str'), - image_load_optimization=dict( + prefetch_preload=dict( required=False, type='str'), - response_buffering=dict( + security_header=dict( + required=False, + elements='', + type='list'), + cis_id=dict( required=False, type='str'), - tls_client_auth=dict( + browser_check=dict( required=False, type='str'), - true_client_ip_header=dict( + script_load_optimization=dict( required=False, type='str'), - dnssec=dict( + server_side_exclude=dict( required=False, type='str'), - ip_geolocation=dict( + websockets=dict( required=False, type='str'), max_upload=dict( required=False, type='int'), - security_header=dict( - required=False, - elements='', - type='list'), - image_size_optimization=dict( + dnssec=dict( required=False, type='str'), - always_use_https=dict( + waf=dict( required=False, type='str'), - script_load_optimization=dict( + opportunistic_encryption=dict( required=False, type='str'), - server_side_exclude=dict( + hotlink_protection=dict( required=False, type='str'), - challenge_ttl=dict( + response_buffering=dict( required=False, - type='int'), + type='str'), cipher=dict( required=False, elements='', type='list'), - cname_flattening=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -461,7 +461,7 @@ def run_module(): resource_type='ibm_cis_domain_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8fcb6625f..dfbdf49f5 100644 --- a/plugins/modules/ibm_cis_edge_functions_action.py +++ b/plugins/modules/ibm_cis_edge_functions_action.py @@ -18,10 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + script: + description: + - (Required for new resource) Edge function action script + required: True + type: str cis_id: description: - (Required for new resource) CIS Intance CRN @@ -37,11 +42,6 @@ - (Required for new resource) Edge function action script name required: True type: str - script: - description: - - (Required for new resource) Edge function action script - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,18 +88,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('script', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), ('action_name', 'str'), - ('script', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'script', 'cis_id', 'domain_id', 'action_name', - 'script', ] # Params for Data source @@ -116,6 +116,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( + script=dict( + required=False, + type='str'), cis_id=dict( required=False, type='str'), @@ -125,9 +128,6 @@ action_name=dict( required=False, type='str'), - script=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 51c85c9bd..3c216f5d2 100644 --- a/plugins/modules/ibm_cis_edge_functions_actions_info.py +++ b/plugins/modules/ibm_cis_edge_functions_actions_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - domain_id: + cis_id: description: - - CIS Domain ID + - CIS Intance CRN required: True type: str - cis_id: + domain_id: description: - - CIS Intance CRN + - CIS Domain ID required: True type: str iaas_classic_username: @@ -64,14 +64,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', ] @@ -82,10 +82,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( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6b335d53a..a26b1b0df 100644 --- a/plugins/modules/ibm_cis_edge_functions_trigger.py +++ b/plugins/modules/ibm_cis_edge_functions_trigger.py @@ -18,20 +18,10 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pattern_url: - description: - - (Required for new resource) Edge function trigger pattern - required: True - type: str - action_name: - description: - - Edge function trigger action name - required: False - type: str cis_id: description: - (Required for new resource) CIS Intance CRN @@ -42,6 +32,16 @@ - (Required for new resource) CIS Domain ID required: True type: str + pattern_url: + description: + - (Required for new resource) Edge function trigger pattern + required: True + type: str + action_name: + description: + - Edge function trigger action name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pattern_url', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), + ('pattern_url', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pattern_url', - 'action_name', 'cis_id', 'domain_id', + 'pattern_url', + 'action_name', ] # Params for Data source @@ -115,16 +115,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( - pattern_url=dict( + cis_id=dict( required=False, type='str'), - action_name=dict( + domain_id=dict( required=False, type='str'), - cis_id=dict( + pattern_url=dict( required=False, type='str'), - domain_id=dict( + action_name=dict( required=False, type='str'), id=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e22f46ec6..08c541a51 100644 --- a/plugins/modules/ibm_cis_edge_functions_triggers_info.py +++ b/plugins/modules/ibm_cis_edge_functions_triggers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_triggers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_triggers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_filter.py b/plugins/modules/ibm_cis_filter.py index e1d7605a8..8eb43fff4 100644 --- a/plugins/modules/ibm_cis_filter.py +++ b/plugins/modules/ibm_cis_filter.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_filter' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str paused: description: - Filter Paused @@ -47,6 +37,16 @@ - Filter Description required: False type: str + cis_id: + description: + - (Required for new resource) CIS instance crn + 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. @@ -93,18 +93,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('expression', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('expression', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'domain_id', 'paused', 'expression', 'description', + 'cis_id', + 'domain_id', ] # 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( - cis_id=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), paused=dict( required=False, type='bool'), @@ -136,6 +130,12 @@ description=dict( required=False, type='str'), + cis_id=dict( + required=False, + type='str'), + domain_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_filter', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_filters_info.py b/plugins/modules/ibm_cis_filters_info.py index ee77b855c..795559dd9 100644 --- a/plugins/modules/ibm_cis_filters_info.py +++ b/plugins/modules/ibm_cis_filters_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_filters' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_filters', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 015633975..2a97a45e0 100644 --- a/plugins/modules/ibm_cis_firewall.py +++ b/plugins/modules/ibm_cis_firewall.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_firewall' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -118,15 +118,15 @@ # 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 = { @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -231,7 +231,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d631fe772..7467be7a6 100644 --- a/plugins/modules/ibm_cis_firewall_info.py +++ b/plugins/modules/ibm_cis_firewall_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_cis_firewall' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 instance crn @@ -31,11 +36,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 @@ -69,16 +69,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', ] @@ -89,13 +89,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( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_firewall_rule.py b/plugins/modules/ibm_cis_firewall_rule.py index 82c4f1a6a..94d152347 100644 --- a/plugins/modules/ibm_cis_firewall_rule.py +++ b/plugins/modules/ibm_cis_firewall_rule.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_firewall_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + description: + description: + - Firewallrules Description + required: False + type: str + paused: + description: + - Firewallrules Paused + required: False + type: bool cis_id: description: - (Required for new resource) CIS instance crn @@ -47,16 +57,6 @@ - Firewallrules Action required: False type: int - description: - description: - - Firewallrules Description - required: False - type: str - paused: - description: - - Firewallrules Paused - required: False - type: bool 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 = [ + 'description', + 'paused', 'cis_id', 'domain_id', 'filter_id', 'action', 'priority', - 'description', - 'paused', ] # Params for Data source @@ -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( + description=dict( + required=False, + type='str'), + paused=dict( + required=False, + type='bool'), cis_id=dict( required=False, type='str'), @@ -149,12 +155,6 @@ priority=dict( required=False, type='int'), - description=dict( - required=False, - type='str'), - paused=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_cis_firewall_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_firewall_rules_info.py b/plugins/modules/ibm_cis_firewall_rules_info.py index 5a641c434..2e9b6c8cd 100644 --- a/plugins/modules/ibm_cis_firewall_rules_info.py +++ b/plugins/modules/ibm_cis_firewall_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_firewall_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_firewall_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 77758c4da..7e18d42a6 100644 --- a/plugins/modules/ibm_cis_global_load_balancer.py +++ b/plugins/modules/ibm_cis_global_load_balancer.py @@ -18,38 +18,38 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cis_id: + ttl: description: - - (Required for new resource) CIS instance crn - required: True - type: str - name: + - TTL value + required: False + type: int + default: 60 + session_affinity: description: - - (Required for new resource) name - required: True + - Session affinity info + required: False type: str - region_pools: + default: none + pop_pools: description: - None required: False type: list elements: dict - default_pool_ids: + name: description: - - (Required for new resource) List of default Pool IDs + - (Required for new resource) name required: True - type: list - elements: str - pop_pools: + type: str + fallback_pool_id: description: - - None - required: False - type: list - elements: dict + - (Required for new resource) fallback pool ID + required: True + type: str description: description: - Description for the load balancer instance @@ -66,34 +66,34 @@ required: False type: bool default: False - enabled: - description: - - set to true of LB needs to enabled - required: False - type: bool - default: True - domain_id: + cis_id: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) CIS instance crn required: True type: str - session_affinity: + default_pool_ids: description: - - Session affinity info + - (Required for new resource) List of default Pool IDs + required: True + type: list + elements: str + region_pools: + description: + - None required: False - type: str - default: none - fallback_pool_id: + type: list + elements: dict + domain_id: description: - - (Required for new resource) fallback pool ID + - (Required for new resource) Associated CIS domain required: True type: str - ttl: + enabled: description: - - TTL value + - set to true of LB needs to enabled required: False - type: int - default: 60 + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -140,28 +140,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('name', 'str'), + ('fallback_pool_id', 'str'), + ('cis_id', 'str'), ('default_pool_ids', 'list'), ('domain_id', 'str'), - ('fallback_pool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'name', - 'region_pools', - 'default_pool_ids', + 'ttl', + 'session_affinity', 'pop_pools', + 'name', + 'fallback_pool_id', 'description', 'steering_policy', 'proxied', - 'enabled', + 'cis_id', + 'default_pool_ids', + 'region_pools', 'domain_id', - 'session_affinity', - 'fallback_pool_id', - 'ttl', + 'enabled', ] # Params for Data source @@ -172,32 +172,30 @@ ] TL_CONFLICTS_MAP = { - 'proxied': ['ttl'], 'ttl': ['proxied'], + 'proxied': ['ttl'], } # 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( - cis_id=dict( + ttl=dict( required=False, - type='str'), - name=dict( + type='int'), + session_affinity=dict( required=False, type='str'), - region_pools=dict( + pop_pools=dict( required=False, elements='', type='list'), - default_pool_ids=dict( + name=dict( required=False, - elements='', - type='list'), - pop_pools=dict( + type='str'), + fallback_pool_id=dict( required=False, - elements='', - type='list'), + type='str'), description=dict( required=False, type='str'), @@ -207,21 +205,23 @@ proxied=dict( required=False, type='bool'), - enabled=dict( - required=False, - type='bool'), - domain_id=dict( + cis_id=dict( required=False, type='str'), - session_affinity=dict( + default_pool_ids=dict( required=False, - type='str'), - fallback_pool_id=dict( + elements='', + type='list'), + region_pools=dict( + required=False, + elements='', + type='list'), + domain_id=dict( required=False, type='str'), - ttl=dict( + enabled=dict( required=False, - type='int'), + type='bool'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancer', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6b67e2e5b..867eabe39 100644 --- a/plugins/modules/ibm_cis_global_load_balancers_info.py +++ b/plugins/modules/ibm_cis_global_load_balancers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_global_load_balancers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 3164c748b..6a52a9ea3 100644 --- a/plugins/modules/ibm_cis_healthcheck.py +++ b/plugins/modules/ibm_cis_healthcheck.py @@ -18,90 +18,90 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_healthcheck' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - expected_codes: + type: description: - - expected_codes + - type required: False type: str - description: + default: http + retries: description: - - description + - retries required: False - type: str - default: - type: + type: int + default: 2 + interval: description: - - type + - interval + required: False + type: int + default: 60 + path: + description: + - path required: False type: str - default: http + default: / method: description: - method required: False type: str default: GET - timeout: + allow_insecure: description: - - timeout + - allow_insecure required: False - type: int - default: 5 - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - interval: + type: bool + default: False + expected_body: description: - - interval + - expected_body required: False - type: int - default: 60 + type: str follow_redirects: description: - follow_redirects required: False type: bool default: False - allow_insecure: - description: - - allow_insecure - required: False - type: bool - default: False port: description: - port number required: False type: int - path: + headers: description: - - path + - None required: False + type: list + elements: dict + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True type: str - default: / - expected_body: + expected_codes: description: - - expected_body + - expected_codes required: False type: str - retries: + description: description: - - retries + - description required: False - type: int - default: 2 - headers: + type: str + default: + timeout: description: - - None + - timeout required: False - type: list - elements: dict + type: int + default: 5 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -153,20 +153,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'expected_codes', - 'description', 'type', - 'method', - 'timeout', - 'cis_id', + 'retries', 'interval', - 'follow_redirects', - 'allow_insecure', - 'port', 'path', + 'method', + 'allow_insecure', 'expected_body', - 'retries', + 'follow_redirects', + 'port', 'headers', + 'cis_id', + 'expected_codes', + 'description', + 'timeout', ] # Params for Data source @@ -183,49 +183,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( - expected_codes=dict( + type=dict( required=False, type='str'), - description=dict( + retries=dict( required=False, - type='str'), - type=dict( + type='int'), + interval=dict( + required=False, + type='int'), + path=dict( required=False, type='str'), method=dict( required=False, type='str'), - timeout=dict( + allow_insecure=dict( required=False, - type='int'), - cis_id=dict( + type='bool'), + expected_body=dict( required=False, type='str'), - interval=dict( - required=False, - type='int'), follow_redirects=dict( required=False, type='bool'), - allow_insecure=dict( - required=False, - type='bool'), port=dict( required=False, type='int'), - path=dict( + headers=dict( + required=False, + elements='', + type='list'), + cis_id=dict( required=False, type='str'), - expected_body=dict( + expected_codes=dict( required=False, type='str'), - retries=dict( + description=dict( required=False, - type='int'), - headers=dict( + type='str'), + timeout=dict( required=False, - elements='', - type='list'), + type='int'), id=dict( required=False, type='str'), @@ -291,7 +291,7 @@ def run_module(): resource_type='ibm_cis_healthcheck', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2519ecc82..b46da0791 100644 --- a/plugins/modules/ibm_cis_healthchecks_info.py +++ b/plugins/modules/ibm_cis_healthchecks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_healthchecks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_healthchecks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2cdcf11a5..6dd610174 100644 --- a/plugins/modules/ibm_cis_info.py +++ b/plugins/modules/ibm_cis_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_cis' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Resource instance name for example, my cis instance - required: True - type: str resource_group_id: description: - The id of the resource group in which the cis instance is present required: False type: str + name: + description: + - Resource instance name for example, my cis instance + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group_id', + 'name', ] @@ -81,12 +81,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_id=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b3fe925fa..f23cb16d9 100644 --- a/plugins/modules/ibm_cis_ip_addresses_info.py +++ b/plugins/modules/ibm_cis_ip_addresses_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_ip_addresses' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_cis_ip_addresses', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_logpush_job.py b/plugins/modules/ibm_cis_logpush_job.py index db8686237..b6c751572 100644 --- a/plugins/modules/ibm_cis_logpush_job.py +++ b/plugins/modules/ibm_cis_logpush_job.py @@ -18,25 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_logpush_job' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str - logdna: - description: - - (Required for new resource) Information to identify the LogDNA instance the data will be pushed. - required: True - type: str - name: - description: - - Logpush Job Name - required: False - type: str enabled: description: - Whether the logpush job enabled or not @@ -62,6 +47,21 @@ - (Required for new resource) CIS instance crn required: True type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str + logdna: + description: + - (Required for new resource) Information to identify the LogDNA instance the data will be pushed. + required: True + type: str + name: + description: + - Logpush Job Name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,22 +108,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), - ('logdna', 'str'), ('dataset', 'str'), ('cis_id', 'str'), + ('domain_id', 'str'), + ('logdna', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', - 'logdna', - 'name', 'enabled', 'logpull_options', 'dataset', 'frequency', 'cis_id', + 'domain_id', + 'logdna', + 'name', ] # Params for Data source @@ -140,15 +140,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( - domain_id=dict( - required=False, - type='str'), - logdna=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), enabled=dict( required=False, type='bool'), @@ -164,6 +155,15 @@ cis_id=dict( required=False, type='str'), + domain_id=dict( + required=False, + type='str'), + logdna=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_cis_logpush_job', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_logpush_jobs_info.py b/plugins/modules/ibm_cis_logpush_jobs_info.py index cb3ca838a..11c7ccfdb 100644 --- a/plugins/modules/ibm_cis_logpush_jobs_info.py +++ b/plugins/modules/ibm_cis_logpush_jobs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_logpush_jobs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_logpush_jobs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtls.py b/plugins/modules/ibm_cis_mtls.py index 7bddb2c25..d12d582ea 100644 --- a/plugins/modules/ibm_cis_mtls.py +++ b/plugins/modules/ibm_cis_mtls.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_mtls' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - certificate: - description: - - (Required for new resource) Certificate contents - required: True - type: str name: description: - (Required for new resource) Certificate name @@ -48,6 +43,11 @@ - (Required for new resource) Associated CIS domain required: True type: str + certificate: + description: + - (Required for new resource) Certificate contents + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,20 +94,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('certificate', 'str'), ('name', 'str'), ('associated_hostnames', 'list'), ('cis_id', 'str'), ('domain_id', 'str'), + ('certificate', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'certificate', 'name', 'associated_hostnames', 'cis_id', 'domain_id', + 'certificate', ] # Params for Data source @@ -124,9 +124,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( - certificate=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -140,6 +137,9 @@ domain_id=dict( required=False, type='str'), + certificate=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_cis_mtls', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtls_app.py b/plugins/modules/ibm_cis_mtls_app.py index 659e87028..7fd52f56d 100644 --- a/plugins/modules/ibm_cis_mtls_app.py +++ b/plugins/modules/ibm_cis_mtls_app.py @@ -18,10 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_mtls_app' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + policy_name: + description: + - Policy Name + required: False + type: str + default: mtls-policy + domain: + description: + - (Required for new resource) Associated host domain value + required: True + type: str + cert_rule_val: + description: + - Policy certificate rule value + required: False + type: str + default: CA root certificate cis_id: description: - (Required for new resource) CIS instance crn @@ -38,39 +55,22 @@ required: False type: str default: 24h + common_rule_val: + description: + - Policy common rule value + required: False + type: str domain_id: description: - (Required for new resource) Associated CIS domain required: True type: str - policy_name: - description: - - Policy Name - required: False - type: str - default: mtls-policy policy_decision: description: - Policy Action required: False type: str default: non_identity - common_rule_val: - description: - - Policy common rule value - required: False - type: str - cert_rule_val: - description: - - Policy certificate rule value - required: False - type: str - default: CA root certificate - domain: - description: - - (Required for new resource) Associated host domain value - required: True - 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 = [ + ('domain', 'str'), ('cis_id', 'str'), ('name', 'str'), ('domain_id', 'str'), - ('domain', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'policy_name', + 'domain', + 'cert_rule_val', 'cis_id', 'name', 'session_duration', + 'common_rule_val', 'domain_id', - 'policy_name', 'policy_decision', - 'common_rule_val', - 'cert_rule_val', - 'domain', ] # Params for Data source @@ -150,31 +150,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( - cis_id=dict( + policy_name=dict( required=False, type='str'), - name=dict( + domain=dict( required=False, type='str'), - session_duration=dict( + cert_rule_val=dict( required=False, type='str'), - domain_id=dict( + cis_id=dict( required=False, type='str'), - policy_name=dict( + name=dict( required=False, type='str'), - policy_decision=dict( + session_duration=dict( required=False, type='str'), common_rule_val=dict( required=False, type='str'), - cert_rule_val=dict( + domain_id=dict( required=False, type='str'), - domain=dict( + policy_decision=dict( required=False, type='str'), id=dict( @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_cis_mtls_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtls_apps_info.py b/plugins/modules/ibm_cis_mtls_apps_info.py index a5150586b..ae2b4898c 100644 --- a/plugins/modules/ibm_cis_mtls_apps_info.py +++ b/plugins/modules/ibm_cis_mtls_apps_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_mtls_apps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_mtls_apps', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtlss_info.py b/plugins/modules/ibm_cis_mtlss_info.py index 2a37d33bf..c4b4cc9f6 100644 --- a/plugins/modules/ibm_cis_mtlss_info.py +++ b/plugins/modules/ibm_cis_mtlss_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_mtlss' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - domain_id: + cis_id: description: - - Associated CIS domain + - CIS instance crn required: True type: str - cis_id: + domain_id: description: - - CIS instance crn + - Associated CIS domain required: True type: str iaas_classic_username: @@ -64,14 +64,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', ] @@ -82,10 +82,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( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_mtlss', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_auth.py b/plugins/modules/ibm_cis_origin_auth.py index caec1c9e9..e3b471525 100644 --- a/plugins/modules/ibm_cis_origin_auth.py +++ b/plugins/modules/ibm_cis_origin_auth.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_origin_auth' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str level: description: - (Required for new resource) Origin auth level zone or hostname @@ -48,16 +58,6 @@ - (Required for new resource) Private key content which needs to be uploaded required: True type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: 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. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('cis_id', 'str'), + ('domain_id', 'str'), ('level', 'str'), ('certificate', 'str'), ('private_key', 'str'), - ('domain_id', 'str'), - ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', + 'domain_id', 'level', 'hostname', 'enabled', 'certificate', 'private_key', - 'domain_id', - 'cis_id', ] # Params for Data source @@ -136,6 +136,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'), level=dict( required=False, type='str'), @@ -151,12 +157,6 @@ private_key=dict( required=False, type='str'), - domain_id=dict( - required=False, - type='str'), - cis_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_cis_origin_auth', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_auths_info.py b/plugins/modules/ibm_cis_origin_auths_info.py index 3d68aa751..e0f38aa17 100644 --- a/plugins/modules/ibm_cis_origin_auths_info.py +++ b/plugins/modules/ibm_cis_origin_auths_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_cis_origin_auths' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - request_type: - description: - - Associated CIS Request Type - required: False - type: str - default: zone_level cis_id: description: - CIS instance crn @@ -43,6 +37,12 @@ required: False type: str default: no_host + request_type: + description: + - Associated CIS Request Type + required: False + type: str + default: zone_level iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -82,10 +82,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'request_type', 'cis_id', 'domain_id', 'hostname', + 'request_type', ] @@ -96,9 +96,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( - request_type=dict( - required=False, - type='str'), cis_id=dict( required=True, type='str'), @@ -108,6 +105,9 @@ hostname=dict( required=False, type='str'), + request_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_cis_origin_auths', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f808d4030..5ee4cafb4 100644 --- a/plugins/modules/ibm_cis_origin_pool.py +++ b/plugins/modules/ibm_cis_origin_pool.py @@ -18,35 +18,26 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - notification_email: + monitor: description: - - Email address configured to recieve the notifications + - Monitor value required: False type: str - name: + origins: description: - - (Required for new resource) name + - (Required for new resource) Origins info required: True - type: str + type: list + elements: dict description: description: - Description of the CIS Origin Pool required: False type: str - monitor: - description: - - Monitor value - required: False - type: str check_regions: description: - (Required for new resource) List of regions @@ -64,12 +55,21 @@ required: False type: int default: 1 - origins: + cis_id: description: - - (Required for new resource) Origins info + - (Required for new resource) CIS instance crn required: True - type: list - elements: dict + type: str + name: + description: + - (Required for new resource) name + required: True + type: str + notification_email: + description: + - Email address configured to recieve the notifications + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,24 +116,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('name', 'str'), + ('origins', 'list'), ('check_regions', 'list'), ('enabled', 'bool'), - ('origins', 'list'), + ('cis_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'notification_email', - 'name', - 'description', 'monitor', + 'origins', + 'description', 'check_regions', 'enabled', 'minimum_origins', - 'origins', + 'cis_id', + 'name', + 'notification_email', ] # Params for Data source @@ -150,21 +150,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( - required=False, - type='str'), - notification_email=dict( + monitor=dict( required=False, type='str'), - name=dict( + origins=dict( required=False, - type='str'), + elements='', + type='list'), description=dict( required=False, type='str'), - monitor=dict( - required=False, - type='str'), check_regions=dict( required=False, elements='', @@ -175,10 +170,15 @@ minimum_origins=dict( required=False, type='int'), - origins=dict( + cis_id=dict( required=False, - elements='', - type='list'), + type='str'), + name=dict( + required=False, + type='str'), + notification_email=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_cis_origin_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 31cc47961..8161d408f 100644 --- a/plugins/modules/ibm_cis_origin_pools_info.py +++ b/plugins/modules/ibm_cis_origin_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_origin_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_origin_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 705a041ff..0a9758b21 100644 --- a/plugins/modules/ibm_cis_page_rule.py +++ b/plugins/modules/ibm_cis_page_rule.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_cis_page_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c59a9de9b..6f15ffae2 100644 --- a/plugins/modules/ibm_cis_page_rules_info.py +++ b/plugins/modules/ibm_cis_page_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_page_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_page_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 01369e19a..ab84c46a3 100644 --- a/plugins/modules/ibm_cis_range_app.py +++ b/plugins/modules/ibm_cis_range_app.py @@ -18,34 +18,28 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - dns_type: + domain_id: description: - - (Required for new resource) Type of the DNS record for this application + - (Required for new resource) CIS Domain ID required: True type: str - proxy_protocol: - description: - - Allows for the true client IP to be passed to the service. - required: False - type: str - edge_ips_type: + origin_port: description: - - The type of edge IP configuration. + - Port at the origin that listens to traffic required: False - type: str - default: dynamic - domain_id: + type: int + protocol: description: - - (Required for new resource) CIS Domain ID + - (Required for new resource) Defines the protocol and port for this application required: True type: str - protocol: + cis_id: description: - - (Required for new resource) Defines the protocol and port for this application + - (Required for new resource) CIS Intance CRN required: True type: str dns: @@ -59,44 +53,50 @@ required: False type: list elements: str - ip_firewall: + origin_dns: description: - - Enables the IP Firewall for this application. Only available for TCP applications. + - DNS record pointing to the origin for this Range application. required: False - type: bool - edge_ips_connectivity: + type: str + edge_ips_type: description: - - Specifies the IP version. + - The type of edge IP configuration. required: False type: str - default: all + default: dynamic traffic_type: description: - Configure how traffic is handled at the edge. required: False type: str default: direct - cis_id: + dns_type: description: - - (Required for new resource) CIS Intance CRN + - (Required for new resource) Type of the DNS record for this application required: True type: str - tls: + ip_firewall: description: - - Configure if and how TLS connections are terminated at the edge. + - 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 - default: off - origin_port: + edge_ips_connectivity: description: - - Port at the origin that listens to traffic + - Specifies the IP version. required: False - type: int - origin_dns: + type: str + default: all + tls: description: - - DNS record pointing to the origin for this Range application. + - Configure if and how TLS connections are terminated at the edge. required: False type: str + default: off id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -143,29 +143,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('dns_type', 'str'), ('domain_id', 'str'), ('protocol', 'str'), - ('dns', 'str'), ('cis_id', 'str'), + ('dns', 'str'), + ('dns_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'dns_type', - 'proxy_protocol', - 'edge_ips_type', 'domain_id', + 'origin_port', 'protocol', + 'cis_id', 'dns', 'origin_direct', + 'origin_dns', + 'edge_ips_type', + 'traffic_type', + 'dns_type', 'ip_firewall', + 'proxy_protocol', 'edge_ips_connectivity', - 'traffic_type', - 'cis_id', 'tls', - 'origin_port', - 'origin_dns', ] # Params for Data source @@ -183,19 +183,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( - dns_type=dict( - required=False, - type='str'), - proxy_protocol=dict( + domain_id=dict( required=False, type='str'), - edge_ips_type=dict( + origin_port=dict( required=False, - type='str'), - domain_id=dict( + type='int'), + protocol=dict( required=False, type='str'), - protocol=dict( + cis_id=dict( required=False, type='str'), dns=dict( @@ -205,25 +202,28 @@ required=False, elements='', type='list'), - ip_firewall=dict( + origin_dns=dict( required=False, - type='bool'), - edge_ips_connectivity=dict( + type='str'), + edge_ips_type=dict( required=False, type='str'), traffic_type=dict( required=False, type='str'), - cis_id=dict( + dns_type=dict( required=False, type='str'), - tls=dict( + ip_firewall=dict( + required=False, + type='bool'), + proxy_protocol=dict( required=False, type='str'), - origin_port=dict( + edge_ips_connectivity=dict( required=False, - type='int'), - origin_dns=dict( + type='str'), + tls=dict( required=False, type='str'), id=dict( @@ -291,7 +291,7 @@ def run_module(): resource_type='ibm_cis_range_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 38143ad8c..4749686f6 100644 --- a/plugins/modules/ibm_cis_range_apps_info.py +++ b/plugins/modules/ibm_cis_range_apps_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_range_apps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_range_apps', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 def93cc96..1b10ab870 100644 --- a/plugins/modules/ibm_cis_rate_limit.py +++ b/plugins/modules/ibm_cis_rate_limit.py @@ -18,10 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_rate_limit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + disabled: + description: + - Whether this rate limiting rule is currently disabled. + required: False + type: bool + default: False + bypass: + description: + - Bypass URL + required: False + type: list + elements: dict + 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 @@ -44,39 +66,17 @@ - (Required for new resource) CIS Domain ID required: True type: str - threshold: - description: - - (Required for new resource) Rate Limiting Threshold - required: True - type: int - correlate: - description: - - Ratelimiting Correlate - required: False - type: list - elements: dict - disabled: - description: - - Whether this rate limiting rule is currently disabled. - required: False - type: bool - default: False description: description: - A note that you can use to describe the reason for a rate limiting rule. required: False type: str - bypass: + correlate: description: - - Bypass URL + - Ratelimiting Correlate required: False type: list elements: dict - period: - description: - - (Required for new resource) Rate Limiting Period - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -123,25 +123,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('threshold', 'int'), + ('period', 'int'), ('action', 'list'), ('cis_id', 'str'), ('domain_id', 'str'), - ('threshold', 'int'), - ('period', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'disabled', + 'bypass', + 'threshold', + 'period', 'action', 'match', 'cis_id', 'domain_id', - 'threshold', - 'correlate', - 'disabled', 'description', - 'bypass', - 'period', + 'correlate', ] # Params for Data source @@ -162,6 +162,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( + disabled=dict( + required=False, + type='bool'), + bypass=dict( + required=False, + elements='', + type='list'), + threshold=dict( + required=False, + type='int'), + period=dict( + required=False, + type='int'), action=dict( required=False, elements='', @@ -176,26 +189,13 @@ domain_id=dict( required=False, type='str'), - threshold=dict( - required=False, - type='int'), - correlate=dict( - required=False, - elements='', - type='list'), - disabled=dict( - required=False, - type='bool'), description=dict( required=False, type='str'), - bypass=dict( + correlate=dict( required=False, elements='', type='list'), - period=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_cis_rate_limit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 03440d7bb..7a6499235 100644 --- a/plugins/modules/ibm_cis_rate_limit_info.py +++ b/plugins/modules/ibm_cis_rate_limit_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_rate_limit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f337197e0..93590da0c 100644 --- a/plugins/modules/ibm_cis_routing.py +++ b/plugins/modules/ibm_cis_routing.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_cis_routing', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 436b79b6b..0461ee985 100644 --- a/plugins/modules/ibm_cis_tls_settings.py +++ b/plugins/modules/ibm_cis_tls_settings.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_tls_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 daa4959ca..15357be08 100644 --- a/plugins/modules/ibm_cis_waf_group.py +++ b/plugins/modules/ibm_cis_waf_group.py @@ -18,41 +18,41 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - domain_id: + group_id: description: - - (Required for new resource) CIS Domain ID + - (Required for new resource) WAF Rule group id required: True type: str - group_id: + mode: description: - - (Required for new resource) WAF Rule group id + - (Required for new resource) WAF Rule group mode on/off required: True type: str + check_mode: + description: + - Check Mode before making a create/update request + required: False + type: bool + default: False cis_id: description: - (Required for new resource) CIS Intance CRN required: True type: str - package_id: + domain_id: description: - - (Required for new resource) WAF Rule package id + - (Required for new resource) CIS Domain ID required: True type: str - mode: + package_id: description: - - (Required for new resource) WAF Rule group mode on/off + - (Required for new resource) WAF Rule package id required: True type: str - check_mode: - description: - - Check Mode before making a create/update request - required: False - type: bool - default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,21 +99,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('group_id', 'str'), + ('mode', 'str'), ('cis_id', 'str'), + ('domain_id', 'str'), ('package_id', 'str'), - ('mode', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', 'group_id', - 'cis_id', - 'package_id', 'mode', 'check_mode', + 'cis_id', + 'domain_id', + 'package_id', ] # Params for Data source @@ -130,24 +130,24 @@ 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( + group_id=dict( required=False, type='str'), - group_id=dict( + mode=dict( required=False, type='str'), + check_mode=dict( + required=False, + type='bool'), cis_id=dict( required=False, type='str'), - package_id=dict( + domain_id=dict( required=False, type='str'), - mode=dict( + package_id=dict( required=False, type='str'), - check_mode=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_cis_waf_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 11b94ff06..e346c01b1 100644 --- a/plugins/modules/ibm_cis_waf_groups_info.py +++ b/plugins/modules/ibm_cis_waf_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_waf_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 64c854d29..cbc536025 100644 --- a/plugins/modules/ibm_cis_waf_package.py +++ b/plugins/modules/ibm_cis_waf_package.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + package_id: + description: + - (Required for new resource) WAF pakcage ID + required: True + type: str sensitivity: description: - (Required for new resource) WAF pakcage sensitivity @@ -42,11 +47,6 @@ - (Required for new resource) CIS Domain ID required: True type: str - package_id: - description: - - (Required for new resource) WAF pakcage ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,20 +93,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('package_id', 'str'), ('sensitivity', 'str'), ('action_mode', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('package_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'package_id', 'sensitivity', 'action_mode', 'cis_id', 'domain_id', - 'package_id', ] # Params for Data source @@ -123,6 +123,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( + package_id=dict( + required=False, + type='str'), sensitivity=dict( required=False, type='str'), @@ -135,9 +138,6 @@ domain_id=dict( required=False, type='str'), - package_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_cis_waf_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 393feb3d0..5fe4649c7 100644 --- a/plugins/modules/ibm_cis_waf_packages_info.py +++ b/plugins/modules/ibm_cis_waf_packages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_packages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_waf_packages', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5fbe53a68..6275630d5 100644 --- a/plugins/modules/ibm_cis_waf_rule.py +++ b/plugins/modules/ibm_cis_waf_rule.py @@ -18,18 +18,18 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - mode: + domain_id: description: - - (Required for new resource) CIS WAF Rule mode + - (Required for new resource) CIS Domain ID required: True type: str - package_id: + mode: description: - - (Required for new resource) CIS WAF Rule package id + - (Required for new resource) CIS WAF Rule mode required: True type: str cis_id: @@ -37,14 +37,14 @@ - (Required for new resource) CIS Intance CRN required: True type: str - domain_id: + rule_id: description: - - (Required for new resource) CIS Domain ID + - (Required for new resource) CIS WAF Rule id required: True type: str - rule_id: + package_id: description: - - (Required for new resource) CIS WAF Rule id + - (Required for new resource) CIS WAF Rule package id required: True type: str id: @@ -93,20 +93,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('domain_id', 'str'), ('mode', 'str'), - ('package_id', 'str'), ('cis_id', 'str'), - ('domain_id', 'str'), ('rule_id', 'str'), + ('package_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'domain_id', 'mode', - 'package_id', 'cis_id', - 'domain_id', 'rule_id', + 'package_id', ] # Params for Data source @@ -123,19 +123,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( - mode=dict( + domain_id=dict( required=False, type='str'), - package_id=dict( + mode=dict( required=False, type='str'), cis_id=dict( required=False, type='str'), - domain_id=dict( + rule_id=dict( required=False, type='str'), - rule_id=dict( + package_id=dict( required=False, type='str'), id=dict( @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_cis_waf_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b289aa3c6..5670b8411 100644 --- a/plugins/modules/ibm_cis_waf_rules_info.py +++ b/plugins/modules/ibm_cis_waf_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_waf_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_webhook.py b/plugins/modules/ibm_cis_webhook.py index e8ca0fc35..7fa7a2ce7 100644 --- a/plugins/modules/ibm_cis_webhook.py +++ b/plugins/modules/ibm_cis_webhook.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_webhook' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Webhook Name - required: True - type: str - url: - description: - - Webhook URL - required: False - type: str secret: description: - API key needed to use the webhook @@ -42,6 +32,16 @@ - (Required for new resource) CIS instance crn required: True type: str + name: + description: + - (Required for new resource) Webhook Name + required: True + type: str + url: + description: + - Webhook URL + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,16 +88,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('cis_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'url', 'secret', 'cis_id', + 'name', + 'url', ] # 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( - name=dict( + secret=dict( required=False, type='str'), - url=dict( + cis_id=dict( required=False, type='str'), - secret=dict( + name=dict( required=False, type='str'), - cis_id=dict( + url=dict( required=False, type='str'), id=dict( @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_cis_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_webhooks_info.py b/plugins/modules/ibm_cis_webhooks_info.py index 450e415ee..32706dd3a 100644 --- a/plugins/modules/ibm_cis_webhooks_info.py +++ b/plugins/modules/ibm_cis_webhooks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_webhooks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_webhooks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cloud_shell_account_settings.py b/plugins/modules/ibm_cloud_shell_account_settings.py index 41b77b640..d543cb619 100644 --- a/plugins/modules/ibm_cloud_shell_account_settings.py +++ b/plugins/modules/ibm_cloud_shell_account_settings.py @@ -18,31 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_cloud_shell_account_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - features: - description: - - List of Cloud Shell features. - required: False - type: list - elements: dict - default_enable_new_regions: + rev: description: - - Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. + - Unique revision number for the settings object. required: False - type: bool + type: str enabled: description: - When enabled, Cloud Shell is available to all users in the account. required: False type: bool - default_enable_new_features: + features: description: - - You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. + - List of Cloud Shell features. required: False - type: bool + type: list + elements: dict regions: description: - List of Cloud Shell region settings. @@ -54,11 +49,16 @@ - (Required for new resource) The account ID in which the account settings belong to. required: True type: str - rev: + default_enable_new_features: description: - - Unique revision number for the settings object. + - You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. required: False - type: str + type: bool + default_enable_new_regions: + description: + - Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,13 +110,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'features', - 'default_enable_new_regions', + 'rev', 'enabled', - 'default_enable_new_features', + 'features', 'regions', 'account_id', - 'rev', + 'default_enable_new_features', + 'default_enable_new_regions', ] # Params for Data source @@ -135,19 +135,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( - features=dict( - required=False, - elements='', - type='list'), - default_enable_new_regions=dict( + rev=dict( required=False, - type='bool'), + type='str'), enabled=dict( required=False, type='bool'), - default_enable_new_features=dict( + features=dict( required=False, - type='bool'), + elements='', + type='list'), regions=dict( required=False, elements='', @@ -155,9 +152,12 @@ account_id=dict( required=False, type='str'), - rev=dict( + default_enable_new_features=dict( required=False, - type='str'), + type='bool'), + default_enable_new_regions=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cloud_shell_account_settings_info.py b/plugins/modules/ibm_cloud_shell_account_settings_info.py index a5e026d1e..394b098ac 100644 --- a/plugins/modules/ibm_cloud_shell_account_settings_info.py +++ b/plugins/modules/ibm_cloud_shell_account_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cloud_shell_account_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cloudant.py b/plugins/modules/ibm_cloudant.py index 276a5c0ac..3de2320cf 100644 --- a/plugins/modules/ibm_cloudant.py +++ b/plugins/modules/ibm_cloudant.py @@ -18,68 +18,79 @@ - Create, update or destroy an IBM Cloud 'ibm_cloudant' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - include_data_events: + cors_config: description: - - Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. + - Configuration for CORS. + required: False + type: list + elements: dict + parameters: + description: + - Arbitrary parameters to pass. Must be a JSON object + required: False + type: dict + service_endpoints: + description: + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + required: False + type: str + legacy_credentials: + description: + - Use both legacy credentials and IAM for authentication required: False type: bool default: False + environment_crn: + description: + - CRN of the IBM Cloudant Dedicated Hardware plan instance + required: False + type: str name: description: - (Required for new resource) A name for the resource instance required: True type: str + location: + description: + - (Required for new resource) The location where the instance available + required: True + type: str + tags: + description: + - None + required: False + type: list + elements: str enable_cors: description: - Boolean value to turn CORS on and off. required: False type: bool default: True + include_data_events: + description: + - Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. + required: False + type: bool + default: False capacity: description: - A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global queries/sec of provisioned throughput capacity. required: False type: int default: 1 - resource_group_id: - description: - - The resource group id - required: False - type: str - 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 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 - legacy_credentials: - description: - - Use both legacy credentials and IAM for authentication - required: False - type: bool - default: False - environment_crn: + resource_group_id: description: - - CRN of the IBM Cloudant Dedicated Hardware plan instance + - The resource group id required: False type: str parameters_json: @@ -87,17 +98,6 @@ - Arbitrary parameters to pass in Json string format required: False type: str - cors_config: - description: - - Configuration for CORS. - required: False - type: list - elements: dict - parameters: - description: - - Arbitrary parameters to pass. Must be a JSON object - required: False - type: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -145,26 +145,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('plan', 'str'), ('location', 'str'), + ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'include_data_events', + 'cors_config', + 'parameters', + 'service_endpoints', + 'legacy_credentials', + 'environment_crn', 'name', + 'location', + 'tags', 'enable_cors', + 'include_data_events', 'capacity', - 'resource_group_id', - 'tags', - 'service_endpoints', 'plan', - 'location', - 'legacy_credentials', - 'environment_crn', + 'resource_group_id', 'parameters_json', - 'cors_config', - 'parameters', ] # Params for Data source @@ -173,64 +173,64 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group_id', 'location', + 'name', ] TL_CONFLICTS_MAP = { - 'parameters_json': ['parameters'], 'parameters': ['parameters_json'], + 'parameters_json': ['parameters'], } # 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( - include_data_events=dict( + cors_config=dict( required=False, - type='bool'), - name=dict( + elements='', + type='list'), + parameters=dict( + required=False, + type='dict'), + service_endpoints=dict( required=False, type='str'), - enable_cors=dict( + legacy_credentials=dict( required=False, type='bool'), - capacity=dict( + environment_crn=dict( required=False, - type='int'), - resource_group_id=dict( + type='str'), + name=dict( + required=False, + type='str'), + location=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - service_endpoints=dict( + enable_cors=dict( required=False, - type='str'), - plan=dict( + type='bool'), + include_data_events=dict( required=False, - type='str'), - location=dict( + type='bool'), + capacity=dict( required=False, - type='str'), - legacy_credentials=dict( + type='int'), + plan=dict( required=False, - type='bool'), - environment_crn=dict( + type='str'), + resource_group_id=dict( required=False, type='str'), parameters_json=dict( required=False, type='str'), - cors_config=dict( - required=False, - elements='', - type='list'), - parameters=dict( - required=False, - type='dict'), id=dict( required=False, type='str'), @@ -296,7 +296,7 @@ def run_module(): resource_type='ibm_cloudant', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -305,7 +305,7 @@ def run_module(): resource_type='ibm_cloudant', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cloudant_database.py b/plugins/modules/ibm_cloudant_database.py index cd6d4949f..3a5021420 100644 --- a/plugins/modules/ibm_cloudant_database.py +++ b/plugins/modules/ibm_cloudant_database.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cloudant_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cloudant_database_info.py b/plugins/modules/ibm_cloudant_database_info.py index f9c280b1f..6b876b50e 100644 --- a/plugins/modules/ibm_cloudant_database_info.py +++ b/plugins/modules/ibm_cloudant_database_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cloudant_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cloudant_info.py b/plugins/modules/ibm_cloudant_info.py index 5000248ad..a35d0b441 100644 --- a/plugins/modules/ibm_cloudant_info.py +++ b/plugins/modules/ibm_cloudant_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_cloudant' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Resource instance name for example, myobjectstorage - required: True - type: str resource_group_id: description: - The id of the resource group in which the instance is present @@ -36,6 +31,11 @@ - The location or the environment in which instance exists required: False type: str + name: + description: + - Resource instance name for example, myobjectstorage + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group_id', 'location', + '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'), resource_group_id=dict( required=False, type='str'), location=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_cloudant', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_catalog.py b/plugins/modules/ibm_cm_catalog.py index d8a0a579a..40d55c1f4 100644 --- a/plugins/modules/ibm_cm_catalog.py +++ b/plugins/modules/ibm_cm_catalog.py @@ -18,42 +18,65 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_catalog' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - short_description: + short_description_i18n: description: - - Description in the requested language. + - A map of translated strings, by language code. required: False - type: str + type: dict + elements: str tags: description: - List of tags associated with this catalog. required: False type: list elements: str + disabled: + description: + - Denotes whether a catalog is disabled. + required: False + type: bool + label: + description: + - Display Name in the requested language. + required: False + type: str + features: + description: + - List of features associated with this catalog. + required: False + type: list + elements: dict kind: description: - - Kind of catalog, offering or vpe. + - Kind of catalog. Supported kinds are offering and vpe. required: False type: str - default: offering - label: + label_i18n: description: - - (Required for new resource) Display Name in the requested language. - required: True + - A map of translated strings, by language code. + required: False + type: dict + elements: str + short_description: + description: + - Description in the requested language. + required: False type: str catalog_icon_url: description: - URL for an icon associated with this catalog. required: False type: str - resource_group_id: + metadata: description: - - Resource Group ID + - Catalog specific metadata. required: False - type: str + type: dict + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,17 +123,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'short_description', + 'short_description_i18n', 'tags', - 'kind', + 'disabled', 'label', + 'features', + 'kind', + 'label_i18n', + 'short_description', 'catalog_icon_url', - 'resource_group_id', + 'metadata', ] # Params for Data source @@ -129,25 +155,41 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - short_description=dict( + short_description_i18n=dict( required=False, - type='str'), + elements='', + type='dict'), tags=dict( required=False, elements='', type='list'), + disabled=dict( + required=False, + type='bool'), + label=dict( + required=False, + type='str'), + features=dict( + required=False, + elements='', + type='list'), kind=dict( required=False, type='str'), - label=dict( + label_i18n=dict( + required=False, + elements='', + type='dict'), + short_description=dict( required=False, type='str'), catalog_icon_url=dict( required=False, type='str'), - resource_group_id=dict( + metadata=dict( required=False, - type='str'), + elements='', + type='dict'), id=dict( required=False, type='str'), @@ -213,7 +255,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -222,7 +264,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_catalog_info.py b/plugins/modules/ibm_cm_catalog_info.py index d2c7fae89..90460aaa0 100644 --- a/plugins/modules/ibm_cm_catalog_info.py +++ b/plugins/modules/ibm_cm_catalog_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_cm_catalog' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: catalog_identifier: description: - - ID for catalog + - Catalog identifier. required: True type: str iaas_classic_username: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_offering.py b/plugins/modules/ibm_cm_offering.py index 33d73a705..61f8b718a 100644 --- a/plugins/modules/ibm_cm_offering.py +++ b/plugins/modules/ibm_cm_offering.py @@ -18,26 +18,203 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_offering' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: catalog_id: description: - - (Required for new resource) The id of the catalog containing this offering. + - (Required for new resource) Catalog identifier. required: True type: str + label: + description: + - Display Name in the requested language. + required: False + type: str + short_description_i18n: + description: + - A map of translated strings, by language code. + required: False + type: dict + elements: str + offering_id: + description: + - Offering identifier. Provide this when an offering already exists and you wish to use it as a terraform resource. + required: False + type: str + publish_to_access_list: + description: + - A list of account IDs to add to this offering's access list. + required: False + type: list + elements: str + metadata: + description: + - Map of metadata values for this offering. + required: False + type: dict + elements: str + disclaimer: + description: + - A disclaimer for this offering. + required: False + type: str + long_description: + description: + - Long description in the requested language. + required: False + type: str + share_enabled: + description: + - Denotes sharing including access list availability of an Offering is enabled. + required: False + type: bool + publish_to_public: + description: + - Whether you would like to publish this offering to the public catalog or not. + required: False + type: bool + portal_approval_record: + description: + - The portal's approval record ID. + required: False + type: str + publish_public_crn: + description: + - The crn of the public catalog entry of this offering. + required: False + type: str + provider_info: + description: + - Information on the provider for this offering, or omitted if no provider information is given. + required: False + type: list + elements: dict + image_pull_keys: + description: + - Image pull keys for this offering. + required: False + type: list + elements: dict + label_i18n: + description: + - A map of translated strings, by language code. + required: False + type: dict + elements: str + short_description: + description: + - Short description in the requested language. + required: False + type: str + publish_approved: + description: + - Offering has been approved to publish to permitted to IBM or Public Catalog. + required: False + type: bool + deprecate_pending: + description: + - Deprecation information for an Offering. + required: False + type: list + elements: dict + badges: + description: + - A list of badges for this offering. + required: False + type: list + elements: dict + offering_docs_url: + description: + - URL for an additional docs with this offering. + required: False + type: str + share_with_all: + description: + - Denotes public availability of an Offering - if share_enabled is true. + required: False + type: bool + portal_ui_url: + description: + - The portal UI URL. + required: False + type: str + offering_support_url: + description: + - [deprecated] - Use offering.support instead. URL to be displayed in the Consumption UI for getting support on this offering. + required: False + type: str + publish_to_ibm: + description: + - Whether you would like to publish this offering to IBM or not. + required: False + type: bool + product_kind: + description: + - The product kind. Valid values are module, solution, or empty string. + required: False + type: str + long_description_i18n: + description: + - A map of translated strings, by language code. + required: False + type: dict + elements: str + features: + description: + - list of features associated with this offering. + required: False + type: list + elements: dict + share_with_ibm: + description: + - Denotes IBM employee availability of an Offering - if share_enabled is true. + required: False + type: bool + public_original_crn: + description: + - The original offering CRN that this publish entry came from. + required: False + type: str + name: + description: + - The programmatic name of this offering. + required: False + type: str + offering_icon_url: + description: + - URL for an icon associated with this offering. + required: False + type: str + keywords: + description: + - List of keywords associated with offering, typically used to search for it. + required: False + type: list + elements: str + media: + description: + - A list of media items related to this offering. + required: False + type: list + elements: dict tags: description: - List of tags associated with this catalog. required: False type: list elements: str - label: + pc_managed: description: - - (Required for new resource) Display Name in the requested language. - required: True - type: str + - Offering is managed by Partner Center. + required: False + type: bool + hidden: + description: + - Determine if this offering should be displayed in the Consumption UI. + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -85,25 +262,57 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('catalog_id', 'str'), - ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'catalog_id', - 'tags', 'label', + 'short_description_i18n', + 'offering_id', + 'publish_to_access_list', + 'metadata', + 'disclaimer', + 'long_description', + 'share_enabled', + 'publish_to_public', + 'portal_approval_record', + 'publish_public_crn', + 'provider_info', + 'image_pull_keys', + 'label_i18n', + 'short_description', + 'publish_approved', + 'deprecate_pending', + 'badges', + 'offering_docs_url', + 'share_with_all', + 'portal_ui_url', + 'offering_support_url', + 'publish_to_ibm', + 'product_kind', + 'long_description_i18n', + 'features', + 'share_with_ibm', + 'public_original_crn', + 'name', + 'offering_icon_url', + 'keywords', + 'media', + 'tags', + 'pc_managed', + 'hidden', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('offering_id', 'str'), - ('catalog_identifier', 'str'), + ('catalog_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'offering_id', - 'catalog_identifier', + 'catalog_id', ] TL_CONFLICTS_MAP = { @@ -116,13 +325,124 @@ catalog_id=dict( required=False, type='str'), - tags=dict( + label=dict( + required=False, + type='str'), + short_description_i18n=dict( + required=False, + elements='', + type='dict'), + offering_id=dict( + required=False, + type='str'), + publish_to_access_list=dict( required=False, elements='', type='list'), - label=dict( + metadata=dict( + required=False, + elements='', + type='dict'), + disclaimer=dict( + required=False, + type='str'), + long_description=dict( + required=False, + type='str'), + share_enabled=dict( + required=False, + type='bool'), + publish_to_public=dict( + required=False, + type='bool'), + portal_approval_record=dict( + required=False, + type='str'), + publish_public_crn=dict( required=False, type='str'), + provider_info=dict( + required=False, + elements='', + type='list'), + image_pull_keys=dict( + required=False, + elements='', + type='list'), + label_i18n=dict( + required=False, + elements='', + type='dict'), + short_description=dict( + required=False, + type='str'), + publish_approved=dict( + required=False, + type='bool'), + deprecate_pending=dict( + required=False, + elements='', + type='list'), + badges=dict( + required=False, + elements='', + type='list'), + offering_docs_url=dict( + required=False, + type='str'), + share_with_all=dict( + required=False, + type='bool'), + portal_ui_url=dict( + required=False, + type='str'), + offering_support_url=dict( + required=False, + type='str'), + publish_to_ibm=dict( + required=False, + type='bool'), + product_kind=dict( + required=False, + type='str'), + long_description_i18n=dict( + required=False, + elements='', + type='dict'), + features=dict( + required=False, + elements='', + type='list'), + share_with_ibm=dict( + required=False, + type='bool'), + public_original_crn=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + offering_icon_url=dict( + required=False, + type='str'), + keywords=dict( + required=False, + elements='', + type='list'), + media=dict( + required=False, + elements='', + type='list'), + tags=dict( + required=False, + elements='', + type='list'), + pc_managed=dict( + required=False, + type='bool'), + hidden=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -188,7 +508,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +517,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_offering_info.py b/plugins/modules/ibm_cm_offering_info.py index 537c14592..b782488f8 100644 --- a/plugins/modules/ibm_cm_offering_info.py +++ b/plugins/modules/ibm_cm_offering_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_cm_offering' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: offering_id: description: - - The id of the catalog containing this offering. + - Offering identifier. required: True type: str - catalog_identifier: + catalog_id: description: - Catalog identifier. required: True @@ -65,13 +65,13 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('offering_id', 'str'), - ('catalog_identifier', 'str'), + ('catalog_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'offering_id', - 'catalog_identifier', + 'catalog_id', ] @@ -85,7 +85,7 @@ offering_id=dict( required=True, type='str'), - catalog_identifier=dict( + catalog_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_offering_instance.py b/plugins/modules/ibm_cm_offering_instance.py index 148a01cb2..42a7aa9be 100644 --- a/plugins/modules/ibm_cm_offering_instance.py +++ b/plugins/modules/ibm_cm_offering_instance.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_offering_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - offering_id: + resource_group_id: description: - - (Required for new resource) Offering ID this instance was created from. - required: True + - id of the resource group + required: False type: str - kind_format: + label: description: - - (Required for new resource) the format this instance has (helm, operator, ova...). + - (Required for new resource) the label for this instance. required: True type: str version: @@ -37,58 +37,58 @@ - (Required for new resource) The version this instance was installed from (not version id). required: True type: str + cluster_id: + description: + - (Required for new resource) Cluster ID. + required: True + type: str + cluster_namespaces: + description: + - (Required for new resource) List of target namespaces to install into. + required: True + type: list + elements: str cluster_all_namespaces: description: - (Required for new resource) designate to install into all namespaces. required: True type: bool - label: + catalog_id: description: - - (Required for new resource) the label for this instance. + - (Required for new resource) Catalog ID this instance was created from. required: True type: str - cluster_region: + wait_until_successful: description: - - (Required for new resource) Cluster region (e.g., us-south). - required: True - type: str + - Whether to wait until the offering instance successfully provisions, or to return when accepted + required: False + type: bool + default: True channel: description: - channel to target for the operator subscription. Required for operator bundles required: False type: str - catalog_id: + offering_id: description: - - (Required for new resource) Catalog ID this instance was created from. + - (Required for new resource) Offering ID this instance was created from. required: True type: str - cluster_id: + kind_format: description: - - (Required for new resource) Cluster ID. + - (Required for new resource) the format this instance has (helm, operator, ova...). required: True type: str - cluster_namespaces: + cluster_region: description: - - (Required for new resource) List of target namespaces to install into. + - (Required for new resource) Cluster region (e.g., us-south). required: True - type: list - elements: str - resource_group_id: - description: - - id of the resource group - required: False type: str install_plan: description: - install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles required: False type: str - wait_until_successful: - description: - - Whether to wait until the offering instance successfully provisions, or to return when accepted - required: False - type: bool - default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,32 +135,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('offering_id', 'str'), - ('kind_format', 'str'), - ('version', 'str'), - ('cluster_all_namespaces', 'bool'), ('label', 'str'), - ('cluster_region', 'str'), - ('catalog_id', 'str'), + ('version', 'str'), ('cluster_id', 'str'), ('cluster_namespaces', 'list'), + ('cluster_all_namespaces', 'bool'), + ('catalog_id', 'str'), + ('offering_id', 'str'), + ('kind_format', 'str'), + ('cluster_region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'offering_id', - 'kind_format', - 'version', - 'cluster_all_namespaces', + 'resource_group_id', 'label', - 'cluster_region', - 'channel', - 'catalog_id', + 'version', 'cluster_id', 'cluster_namespaces', - 'resource_group_id', - 'install_plan', + 'cluster_all_namespaces', + 'catalog_id', 'wait_until_successful', + 'channel', + 'offering_id', + 'kind_format', + 'cluster_region', + 'install_plan', ] # Params for Data source @@ -179,46 +179,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( - offering_id=dict( + resource_group_id=dict( required=False, type='str'), - kind_format=dict( + label=dict( required=False, type='str'), version=dict( required=False, type='str'), + cluster_id=dict( + required=False, + type='str'), + cluster_namespaces=dict( + required=False, + elements='', + type='list'), cluster_all_namespaces=dict( required=False, type='bool'), - label=dict( + catalog_id=dict( required=False, type='str'), - cluster_region=dict( + wait_until_successful=dict( required=False, - type='str'), + type='bool'), channel=dict( required=False, type='str'), - catalog_id=dict( + offering_id=dict( required=False, type='str'), - cluster_id=dict( + kind_format=dict( required=False, type='str'), - cluster_namespaces=dict( - required=False, - elements='', - type='list'), - resource_group_id=dict( + cluster_region=dict( required=False, type='str'), install_plan=dict( required=False, type='str'), - wait_until_successful=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -284,7 +284,7 @@ def run_module(): resource_type='ibm_cm_offering_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -293,7 +293,7 @@ def run_module(): resource_type='ibm_cm_offering_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_offering_instance_info.py b/plugins/modules/ibm_cm_offering_instance_info.py index 1cba03331..4e36baff9 100644 --- a/plugins/modules/ibm_cm_offering_instance_info.py +++ b/plugins/modules/ibm_cm_offering_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_offering_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cm_offering_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_validation.py b/plugins/modules/ibm_cm_validation.py new file mode 100644 index 000000000..0345cf1da --- /dev/null +++ b/plugins/modules/ibm_cm_validation.py @@ -0,0 +1,252 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_cm_validation +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cm_validation + +short_description: Configure IBM Cloud 'ibm_cm_validation' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_cm_validation' resource + - This module does not support idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + schematics: + description: + - Other values to pass to the schematics workspace. + required: False + type: list + elements: dict + revalidate_if_validated: + description: + - If the version should be revalidated if it is already validated. + required: False + type: bool + mark_version_consumable: + description: + - If the version should be marked as consumable or "ready to share". + required: False + type: bool + version_locator: + description: + - (Required for new resource) Version locator - the version that will be validated. + required: True + type: str + x_auth_refresh_token: + description: + - (Required for new resource) Authentication token used to submit validation job. + required: True + type: str + region: + description: + - Validation region. + required: False + type: str + override_values: + description: + - Override values during validation. + required: False + type: dict + elements: str + environment_variables: + description: + - Environment variables to include in the schematics workspace. + required: False + type: list + elements: dict + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('version_locator', 'str'), + ('x_auth_refresh_token', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'schematics', + 'revalidate_if_validated', + 'mark_version_consumable', + 'version_locator', + 'x_auth_refresh_token', + 'region', + 'override_values', + 'environment_variables', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ +] + +TL_ALL_PARAMETERS_DS = [ +] + +TL_CONFLICTS_MAP = { +} + +# 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( + schematics=dict( + required=False, + elements='', + type='list'), + revalidate_if_validated=dict( + required=False, + type='bool'), + mark_version_consumable=dict( + required=False, + type='bool'), + version_locator=dict( + required=False, + type='str'), + x_auth_refresh_token=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + override_values=dict( + required=False, + elements='', + type='dict'), + environment_variables=dict( + required=False, + elements='', + type='list'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result = ibmcloud_terraform( + resource_type='ibm_cm_validation', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_cm_version.py b/plugins/modules/ibm_cm_version.py index a8a412809..781a973ee 100644 --- a/plugins/modules/ibm_cm_version.py +++ b/plugins/modules/ibm_cm_version.py @@ -18,19 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_version' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: + import_sha: description: - - Tags array. - required: False - type: list - elements: str - content: - description: - - byte array representing the content to be imported. Only supported for OVA images at this time. + - SHA256 fingerprint of the image file. Required for virtual server image for VPC. required: False type: str offering_id: @@ -38,27 +32,135 @@ - (Required for new resource) Offering identification. required: True type: str + include_config: + description: + - Add all possible configuration values to this version when importing. + required: False + type: bool + content: + description: + - Byte array representing the content to be imported. Only supported for OVA images at this time. + required: False + type: str + iam_permissions: + description: + - List of IAM permissions that are required to consume this version. + required: False + type: list + elements: dict + pre_install: + description: + - Optional pre-install instructions. + required: False + type: list + elements: dict + product_kind: + description: + - Optional product kind for the software being onboarded. Valid values are software, module, or solution. Default value is software. + required: False + type: str + zipurl: + description: + - URL path to zip location. If not specified, must provide content in the body of this call. + required: False + type: str + licenses: + description: + - List of licenses the product was built with. + required: False + type: list + elements: dict target_version: description: - The semver value for this new version, if not found in the zip url package content. required: False type: str + format_kind: + description: + - Format of content being onboarded. Example: vsi-image. Required for virtual server image for VPC. + required: False + type: str + name: + description: + - Name of version. Required for virtual server image for VPC. + required: False + type: str + x_auth_token: + description: + - Authentication token used to access the specified zip file. + required: False + type: str + working_directory: + description: + - Optional - The sub-folder within the specified tgz file that contains the software being onboarded. + required: False + type: str + repotype: + description: + - The type of repository containing this version. Valid values are 'public_git' or 'enterprise_git'. + required: False + type: str + install: + description: + - Script information. + required: False + type: list + elements: dict + install_kind: + description: + - Install type. Example: instance. Required for virtual server image for VPC. + required: False + type: str target_kinds: description: - - Target kinds. Current valid values are 'iks', 'roks', 'vcenter', and 'terraform'. + - Deployment target of the content being onboarded. Current valid values are iks, roks, vcenter, power-iaas, terraform, and vpc-x86. Required for virtual server image for VPC. required: False type: list elements: str - zipurl: + is_vsi: description: - - URL path to zip location. If not specified, must provide content in the body of this call. + - Indicates that the current terraform template is used to install a virtual server image. required: False - type: str - catalog_identifier: + type: bool + flavor: + description: + - Version Flavor Information. Only supported for Product kind Solution. + required: False + type: list + elements: dict + solution_info: + description: + - Version Solution Information. Only supported for Product kind Solution. + required: False + type: list + elements: dict + catalog_id: description: - (Required for new resource) Catalog identifier. required: True type: str + label: + description: + - Display name of version. Required for virtual server image for VPC. + required: False + type: str + tags: + description: + - Tags array. + required: False + type: list + elements: str + import_metadata: + description: + - Generic data to be included with content being onboarded. Required for virtual server image for VPC. + required: False + type: list + elements: dict + is_consumable: + description: + - Is the version able to be shared. + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,18 +208,37 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('offering_id', 'str'), - ('catalog_identifier', 'str'), + ('catalog_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'content', + 'import_sha', 'offering_id', + 'include_config', + 'content', + 'iam_permissions', + 'pre_install', + 'product_kind', + 'zipurl', + 'licenses', 'target_version', + 'format_kind', + 'name', + 'x_auth_token', + 'working_directory', + 'repotype', + 'install', + 'install_kind', 'target_kinds', - 'zipurl', - 'catalog_identifier', + 'is_vsi', + 'flavor', + 'solution_info', + 'catalog_id', + 'label', + 'tags', + 'import_metadata', + 'is_consumable', ] # Params for Data source @@ -127,6 +248,7 @@ TL_ALL_PARAMETERS_DS = [ 'version_loc_id', + 'metadata', ] TL_CONFLICTS_MAP = { @@ -136,29 +258,93 @@ 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( + import_sha=dict( + required=False, + type='str'), + offering_id=dict( + required=False, + type='str'), + include_config=dict( + required=False, + type='bool'), + content=dict( + required=False, + type='str'), + iam_permissions=dict( required=False, elements='', type='list'), - content=dict( + pre_install=dict( + required=False, + elements='', + type='list'), + product_kind=dict( required=False, type='str'), - offering_id=dict( + zipurl=dict( required=False, type='str'), + licenses=dict( + required=False, + elements='', + type='list'), target_version=dict( required=False, type='str'), + format_kind=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + x_auth_token=dict( + required=False, + type='str'), + working_directory=dict( + required=False, + type='str'), + repotype=dict( + required=False, + type='str'), + install=dict( + required=False, + elements='', + type='list'), + install_kind=dict( + required=False, + type='str'), target_kinds=dict( required=False, elements='', type='list'), - zipurl=dict( + is_vsi=dict( + required=False, + type='bool'), + flavor=dict( + required=False, + elements='', + type='list'), + solution_info=dict( + required=False, + elements='', + type='list'), + catalog_id=dict( required=False, type='str'), - catalog_identifier=dict( + label=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + import_metadata=dict( + required=False, + elements='', + type='list'), + is_consumable=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -224,7 +410,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -233,7 +419,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_version_info.py b/plugins/modules/ibm_cm_version_info.py index c3b8de4fc..d4233c415 100644 --- a/plugins/modules/ibm_cm_version_info.py +++ b/plugins/modules/ibm_cm_version_info.py @@ -17,15 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_cm_version' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: version_loc_id: description: - - Catalog identifier. + - A dotted value of `catalogID`.`versionID`. required: True type: str + metadata: + description: + - Generic data to be included with content being onboarded. Required for virtual server image for VPC. + required: False + type: list + elements: dict iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -65,6 +71,7 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'version_loc_id', + 'metadata', ] @@ -78,6 +85,10 @@ version_loc_id=dict( required=True, type='str'), + metadata=dict( + required=False, + elements='', + type='list'), iaas_classic_username=dict( type='str', no_log=True, @@ -112,7 +123,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a7c434648..f1142fc83 100644 --- a/plugins/modules/ibm_compute_autoscale_group.py +++ b/plugins/modules/ibm_compute_autoscale_group.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -32,11 +32,6 @@ - virtual server ID required: False type: int - port: - description: - - Port number - required: False - type: int health_check: description: - None @@ -48,43 +43,48 @@ required: True type: list elements: dict - network_vlan_ids: + tags: description: - - List of network VLAN ids + - List of tags required: False type: list - elements: int + elements: str name: description: - (Required for new resource) Name required: True type: str - regional_group: + minimum_member_count: description: - - (Required for new resource) regional group + - (Required for new resource) Minimum member count required: True - type: str - tags: + type: int + maximum_member_count: description: - - List of tags - required: False - type: list - elements: str + - (Required for new resource) Maximum member count + required: True + type: int termination_policy: description: - (Required for new resource) Termination policy required: True type: str - minimum_member_count: + port: description: - - (Required for new resource) Minimum member count - required: True + - Port number + required: False type: int - maximum_member_count: + network_vlan_ids: description: - - (Required for new resource) Maximum member count + - List of network VLAN ids + required: False + type: list + elements: int + regional_group: + description: + - (Required for new resource) regional group required: True - type: int + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -134,26 +134,26 @@ ('cooldown', 'int'), ('virtual_guest_member_template', 'list'), ('name', 'str'), - ('regional_group', 'str'), - ('termination_policy', 'str'), ('minimum_member_count', 'int'), ('maximum_member_count', 'int'), + ('termination_policy', 'str'), + ('regional_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cooldown', 'virtual_server_id', - 'port', 'health_check', 'virtual_guest_member_template', - 'network_vlan_ids', - 'name', - 'regional_group', 'tags', - 'termination_policy', + 'name', 'minimum_member_count', 'maximum_member_count', + 'termination_policy', + 'port', + 'network_vlan_ids', + 'regional_group', ] # Params for Data source @@ -176,9 +176,6 @@ virtual_server_id=dict( required=False, type='int'), - port=dict( - required=False, - type='int'), health_check=dict( required=False, type='dict'), @@ -186,29 +183,32 @@ required=False, elements='', type='list'), - network_vlan_ids=dict( + tags=dict( required=False, elements='', type='list'), name=dict( required=False, type='str'), - regional_group=dict( + minimum_member_count=dict( required=False, - type='str'), - tags=dict( + type='int'), + maximum_member_count=dict( required=False, - elements='', - type='list'), + type='int'), termination_policy=dict( required=False, type='str'), - minimum_member_count=dict( + port=dict( required=False, type='int'), - maximum_member_count=dict( + network_vlan_ids=dict( required=False, - type='int'), + elements='', + type='list'), + regional_group=dict( + required=False, + type='str'), 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.47.1', + ibm_provider_version='1.48.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 8a1fb7d76..6fc378458 100644 --- a/plugins/modules/ibm_compute_autoscale_policy.py +++ b/plugins/modules/ibm_compute_autoscale_policy.py @@ -18,10 +18,20 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + cooldown: + description: + - cooldown value + required: False + type: int + scale_group_id: + description: + - (Required for new resource) scale group ID + required: True + type: int triggers: description: - None @@ -49,16 +59,6 @@ - (Required for new resource) Scale amount required: True type: int - cooldown: - description: - - cooldown value - required: False - type: int - scale_group_id: - description: - - (Required for new resource) scale group ID - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,21 +105,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('scale_group_id', 'int'), ('name', 'str'), ('scale_type', 'str'), ('scale_amount', 'int'), - ('scale_group_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cooldown', + 'scale_group_id', 'triggers', 'tags', 'name', 'scale_type', 'scale_amount', - 'cooldown', - 'scale_group_id', ] # Params for Data source @@ -136,6 +136,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( + cooldown=dict( + required=False, + type='int'), + scale_group_id=dict( + required=False, + type='int'), triggers=dict( required=False, elements='', @@ -153,12 +159,6 @@ scale_amount=dict( required=False, type='int'), - cooldown=dict( - required=False, - type='int'), - scale_group_id=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_compute_autoscale_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e9fc2c6c7..a77c4ccbc 100644 --- a/plugins/modules/ibm_compute_bare_metal.py +++ b/plugins/modules/ibm_compute_bare_metal.py @@ -18,37 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_bare_metal' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - hostname: - description: - - Host name - required: False - type: str - public_bandwidth: - description: - - None - required: False - type: int - private_subnet: - description: - - None - required: False - type: str - storage_groups: + block_storage_ids: description: - None required: False type: list - elements: dict - block_storage_ids: + elements: int + os_key_name: description: - None required: False - type: list - elements: int + type: str fixed_config_preset: description: - Fixed config preset value @@ -59,32 +43,25 @@ - OS refernece code value required: False type: str - hourly_billing: - description: - - Enables hourly billing - required: False - type: bool - default: True - private_network_only: - description: - - only private network configured if is true - required: False - type: bool - default: False software_guard_extensions: description: - None required: False type: bool default: False - process_key_name: + quote_id: + description: + - Quote ID for Quote based provisioning + required: False + type: int + package_key_name: description: - None required: False type: str - ipv6_enabled: + unbonded_network: description: - - Boolean value true if IPV6 ia enabled or false + - None required: False type: bool default: False @@ -93,6 +70,38 @@ - (Required for new resource) Domain name required: True type: str + ssh_key_ids: + description: + - SSH KEY IDS list + required: False + type: list + elements: int + user_metadata: + description: + - User metadata info + required: False + type: str + notes: + description: + - Optional notes info + required: False + type: str + hourly_billing: + description: + - Enables hourly billing + required: False + type: bool + default: True + secondary_ip_count: + description: + - Secondary IP addresses count + required: False + type: int + image_template_id: + description: + - OS image template ID + required: False + type: int network_speed: description: - Network speed in MBPS @@ -105,33 +114,45 @@ required: False type: bool default: False - gpu_secondary_key_name: + public_subnet: description: - None required: False type: str - ssh_key_ids: - description: - - SSH KEY IDS list - required: False - type: list - elements: int - package_key_name: + datacenter: description: - None required: False type: str - public_subnet: + private_network_only: + description: + - only private network configured if is true + required: False + type: bool + default: False + storage_groups: description: - None required: False - type: str - private_vlan_id: + type: list + elements: dict + memory: description: - None required: False type: int - datacenter: + ipv6_enabled: + description: + - Boolean value true if IPV6 ia enabled or false + required: False + type: bool + default: False + process_key_name: + description: + - None + required: False + type: str + gpu_secondary_key_name: description: - None required: False @@ -142,100 +163,79 @@ required: False type: list elements: str - unbonded_network: + redundant_network: description: - None required: False type: bool default: False - memory: + public_bandwidth: description: - None required: False type: int - secondary_ip_count: + gpu_key_name: description: - - Secondary IP addresses count + - None required: False - type: int - ipv6_static_enabled: + type: str + restricted_network: description: - - boolean value true if ipv6 static is enabled else false + - None required: False type: bool default: False - user_metadata: - description: - - User metadata info - required: False - type: str - redundant_power_supply: + extended_hardware_testing: description: - None required: False type: bool - quote_id: - description: - - Quote ID for Quote based provisioning - required: False - type: int - public_vlan_id: + default: False + private_vlan_id: description: - None required: False type: int - file_storage_ids: + private_subnet: description: - None required: False - type: list - elements: int - tags: + type: str + public_vlan_id: description: - None required: False - type: list - elements: str - gpu_key_name: + type: int + hostname: description: - - None + - Host name required: False type: str - extended_hardware_testing: + file_storage_ids: description: - None required: False - type: bool - default: False - notes: - description: - - Optional notes info - required: False - type: str + type: list + elements: int post_install_script_uri: description: - None required: False type: str - image_template_id: - description: - - OS image template ID - required: False - type: int - os_key_name: + tags: description: - None required: False - type: str - redundant_network: + type: list + elements: str + redundant_power_supply: description: - None required: False type: bool - default: False - restricted_network: + ipv6_static_enabled: description: - - None + - boolean value true if ipv6 static is enabled else false required: False type: bool default: False @@ -290,46 +290,46 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'hostname', - 'public_bandwidth', - 'private_subnet', - 'storage_groups', 'block_storage_ids', + 'os_key_name', 'fixed_config_preset', 'os_reference_code', - 'hourly_billing', - 'private_network_only', 'software_guard_extensions', - 'process_key_name', - 'ipv6_enabled', + 'quote_id', + 'package_key_name', + 'unbonded_network', 'domain', + 'ssh_key_ids', + 'user_metadata', + 'notes', + 'hourly_billing', + 'secondary_ip_count', + 'image_template_id', 'network_speed', 'tcp_monitoring', - 'gpu_secondary_key_name', - 'ssh_key_ids', - 'package_key_name', 'public_subnet', - 'private_vlan_id', 'datacenter', - 'disk_key_names', - 'unbonded_network', + 'private_network_only', + 'storage_groups', 'memory', - 'secondary_ip_count', - 'ipv6_static_enabled', - 'user_metadata', - 'redundant_power_supply', - 'quote_id', - 'public_vlan_id', - 'file_storage_ids', - 'tags', + 'ipv6_enabled', + 'process_key_name', + 'gpu_secondary_key_name', + 'disk_key_names', + 'redundant_network', + 'public_bandwidth', 'gpu_key_name', + 'restricted_network', 'extended_hardware_testing', - 'notes', + 'private_vlan_id', + 'private_subnet', + 'public_vlan_id', + 'hostname', + 'file_storage_ids', 'post_install_script_uri', - 'image_template_id', - 'os_key_name', - 'redundant_network', - 'restricted_network', + 'tags', + 'redundant_power_supply', + 'ipv6_static_enabled', ] # Params for Data source @@ -337,10 +337,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'most_recent', 'global_identifier', - 'domain', 'hostname', + 'domain', + 'most_recent', ] TL_CONFLICTS_MAP = { @@ -352,130 +352,130 @@ 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( - required=False, - type='str'), - public_bandwidth=dict( - required=False, - type='int'), - private_subnet=dict( - required=False, - type='str'), - storage_groups=dict( - required=False, - elements='', - type='list'), block_storage_ids=dict( required=False, elements='', type='list'), + os_key_name=dict( + required=False, + type='str'), fixed_config_preset=dict( required=False, type='str'), os_reference_code=dict( required=False, type='str'), - hourly_billing=dict( - required=False, - type='bool'), - private_network_only=dict( - required=False, - type='bool'), software_guard_extensions=dict( required=False, type='bool'), - process_key_name=dict( + quote_id=dict( + required=False, + type='int'), + package_key_name=dict( required=False, type='str'), - ipv6_enabled=dict( + unbonded_network=dict( required=False, type='bool'), domain=dict( required=False, type='str'), + ssh_key_ids=dict( + required=False, + elements='', + type='list'), + user_metadata=dict( + required=False, + type='str'), + notes=dict( + required=False, + type='str'), + hourly_billing=dict( + required=False, + type='bool'), + secondary_ip_count=dict( + required=False, + type='int'), + image_template_id=dict( + required=False, + type='int'), network_speed=dict( required=False, type='int'), tcp_monitoring=dict( required=False, type='bool'), - gpu_secondary_key_name=dict( + public_subnet=dict( required=False, type='str'), - ssh_key_ids=dict( + datacenter=dict( + required=False, + type='str'), + private_network_only=dict( + required=False, + type='bool'), + storage_groups=dict( required=False, elements='', type='list'), - package_key_name=dict( + memory=dict( required=False, - type='str'), - public_subnet=dict( + type='int'), + ipv6_enabled=dict( required=False, - type='str'), - private_vlan_id=dict( + type='bool'), + process_key_name=dict( required=False, - type='int'), - datacenter=dict( + type='str'), + gpu_secondary_key_name=dict( required=False, type='str'), disk_key_names=dict( required=False, elements='', type='list'), - unbonded_network=dict( + redundant_network=dict( required=False, type='bool'), - memory=dict( + public_bandwidth=dict( required=False, type='int'), - secondary_ip_count=dict( + gpu_key_name=dict( required=False, - type='int'), - ipv6_static_enabled=dict( + type='str'), + restricted_network=dict( required=False, type='bool'), - user_metadata=dict( - required=False, - type='str'), - redundant_power_supply=dict( + extended_hardware_testing=dict( required=False, type='bool'), - quote_id=dict( + private_vlan_id=dict( required=False, type='int'), + private_subnet=dict( + required=False, + type='str'), public_vlan_id=dict( required=False, type='int'), - file_storage_ids=dict( + hostname=dict( required=False, - elements='', - type='list'), - tags=dict( + type='str'), + file_storage_ids=dict( required=False, elements='', type='list'), - gpu_key_name=dict( - required=False, - type='str'), - extended_hardware_testing=dict( - required=False, - type='bool'), - notes=dict( - required=False, - type='str'), post_install_script_uri=dict( required=False, type='str'), - image_template_id=dict( - required=False, - type='int'), - os_key_name=dict( + tags=dict( required=False, - type='str'), - redundant_network=dict( + elements='', + type='list'), + redundant_power_supply=dict( required=False, type='bool'), - restricted_network=dict( + ipv6_static_enabled=dict( required=False, type='bool'), id=dict( @@ -543,7 +543,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -552,7 +552,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7ed44d6c3..d97ab0378 100644 --- a/plugins/modules/ibm_compute_bare_metal_info.py +++ b/plugins/modules/ibm_compute_bare_metal_info.py @@ -17,31 +17,31 @@ description: - Retrieve an IBM Cloud 'ibm_compute_bare_metal' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 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 domain: description: - The domain of the bare metal server required: False type: str - hostname: + most_recent: description: - - The hostname 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 @@ -79,36 +79,36 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'most_recent', 'global_identifier', - 'domain', 'hostname', + 'domain', + 'most_recent', ] TL_CONFLICTS_MAP = { - 'most_recent': ['global_identifier'], 'global_identifier': ['hostname', 'domain', 'most_recent'], - 'domain': ['global_identifier'], 'hostname': ['global_identifier'], + 'domain': ['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'), global_identifier=dict( required=False, type='str'), - domain=dict( + hostname=dict( required=False, type='str'), - hostname=dict( + domain=dict( required=False, type='str'), + most_recent=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -143,7 +143,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d8ff9cf14..0393b07f2 100644 --- a/plugins/modules/ibm_compute_dedicated_host.py +++ b/plugins/modules/ibm_compute_dedicated_host.py @@ -18,22 +18,10 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - flavor: - description: - - The flavor of the dedicatated host. - required: False - type: str - default: 56_CORES_X_242_RAM_X_1_4_TB - tags: - description: - - None - required: False - type: list - elements: str wait_time_minutes: description: - None @@ -45,16 +33,12 @@ - (Required for new resource) The host name of dedicatated host. required: True type: str - domain: - description: - - (Required for new resource) The domain of dedicatated host. - required: True - type: str - datacenter: + flavor: description: - - (Required for new resource) The data center in which the dedicatated host is to be provisioned. - required: True + - 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. @@ -66,6 +50,22 @@ - (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: list + elements: str + domain: + description: + - (Required for new resource) The domain of dedicatated host. + required: True + type: str + datacenter: + description: + - (Required for new resource) The data center in which the dedicatated host is to be provisioned. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,21 +113,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('hostname', 'str'), + ('router_hostname', 'str'), ('domain', 'str'), ('datacenter', 'str'), - ('router_hostname', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'flavor', - 'tags', 'wait_time_minutes', 'hostname', - 'domain', - 'datacenter', + 'flavor', 'hourly_billing', 'router_hostname', + 'tags', + 'domain', + 'datacenter', ] # Params for Data source @@ -144,23 +144,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( - flavor=dict( - required=False, - type='str'), - tags=dict( - required=False, - elements='', - type='list'), wait_time_minutes=dict( required=False, type='int'), hostname=dict( required=False, type='str'), - domain=dict( - required=False, - type='str'), - datacenter=dict( + flavor=dict( required=False, type='str'), hourly_billing=dict( @@ -169,6 +159,16 @@ router_hostname=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + domain=dict( + required=False, + type='str'), + datacenter=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_compute_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 60d437eb1..6722cd963 100644 --- a/plugins/modules/ibm_compute_image_template_info.py +++ b/plugins/modules/ibm_compute_image_template_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_image_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_compute_image_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a77205b46..55367c4de 100644 --- a/plugins/modules/ibm_compute_monitor.py +++ b/plugins/modules/ibm_compute_monitor.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + notified_users: + description: + - List of users notified + required: False + type: list + elements: int tags: description: - List of tags @@ -53,12 +59,6 @@ - wait cycles count required: False type: int - notified_users: - description: - - List of users notified - required: False - type: list - elements: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -112,13 +112,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'notified_users', 'tags', 'guest_id', 'ip_address', 'query_type_id', 'response_action_id', 'wait_cycles', - 'notified_users', ] # Params for Data source @@ -135,6 +135,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( + notified_users=dict( + required=False, + elements='', + type='list'), tags=dict( required=False, elements='', @@ -154,10 +158,6 @@ wait_cycles=dict( required=False, type='int'), - notified_users=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_compute_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 adc459024..6d8c2f9c4 100644 --- a/plugins/modules/ibm_compute_placement_group.py +++ b/plugins/modules/ibm_compute_placement_group.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: - description: - - List of tags - required: False - type: list - elements: str datacenter: description: - (Required for new resource) Dataceneter name @@ -49,6 +43,12 @@ required: False type: str default: SPREAD + tags: + description: + - List of tags + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,11 +102,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'datacenter', 'pod', 'name', 'rule', + 'tags', ] # Params for Data source @@ -125,10 +125,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'), datacenter=dict( required=False, type='str'), @@ -141,6 +137,10 @@ rule=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5c04863bc..7280b15ca 100644 --- a/plugins/modules/ibm_compute_placement_group_info.py +++ b/plugins/modules/ibm_compute_placement_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a6fc651bf..61caa91f6 100644 --- a/plugins/modules/ibm_compute_provisioning_hook.py +++ b/plugins/modules/ibm_compute_provisioning_hook.py @@ -18,10 +18,16 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + tags: + description: + - Tags associated with resource + required: False + type: list + elements: str name: description: - (Required for new resource) Provision hook name @@ -32,12 +38,6 @@ - (Required for new resource) URI of the hook required: True type: str - tags: - description: - - Tags associated with resource - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,9 +90,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'name', 'uri', - 'tags', ] # Params for Data source @@ -109,16 +109,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'), uri=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_compute_provisioning_hook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_reserved_capacity.py b/plugins/modules/ibm_compute_reserved_capacity.py index 18020c4a1..d183f9076 100644 --- a/plugins/modules/ibm_compute_reserved_capacity.py +++ b/plugins/modules/ibm_compute_reserved_capacity.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_reserved_capacity' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pod: - description: - - (Required for new resource) Pod name - required: True - type: str name: description: - (Required for new resource) Name @@ -58,6 +53,11 @@ - (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. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pod', 'str'), ('name', 'str'), ('instances', 'int'), ('flavor', 'str'), ('datacenter', 'str'), + ('pod', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pod', 'name', 'instances', 'flavor', 'tags', 'force_create', 'datacenter', + 'pod', ] # Params for Data source @@ -139,9 +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( - pod=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -161,6 +158,9 @@ datacenter=dict( required=False, type='str'), + pod=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_compute_reserved_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_compute_reserved_capacity', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_reserved_capacity_info.py b/plugins/modules/ibm_compute_reserved_capacity_info.py index 7e4549e7c..0c0ef490a 100644 --- a/plugins/modules/ibm_compute_reserved_capacity_info.py +++ b/plugins/modules/ibm_compute_reserved_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_reserved_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_compute_reserved_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f0c7bb3a8..60f895d7f 100644 --- a/plugins/modules/ibm_compute_ssh_key.py +++ b/plugins/modules/ibm_compute_ssh_key.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - public_key: - description: - - (Required for new resource) Plublic Key info - required: True - type: str notes: description: - Additional notes @@ -43,6 +38,11 @@ - (Required for new resource) SSH Key label required: True type: str + public_key: + description: + - (Required for new resource) Plublic Key info + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('public_key', 'str'), ('label', 'str'), + ('public_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'public_key', 'notes', 'tags', 'label', + 'public_key', ] # Params for Data source @@ -118,9 +118,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( - public_key=dict( - required=False, - type='str'), notes=dict( required=False, type='str'), @@ -131,6 +128,9 @@ label=dict( required=False, type='str'), + public_key=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_compute_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a751ed1cc..6cbec3eae 100644 --- a/plugins/modules/ibm_compute_ssh_key_info.py +++ b/plugins/modules/ibm_compute_ssh_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_ssh_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a68efb867..67cb89579 100644 --- a/plugins/modules/ibm_compute_ssl_certificate.py +++ b/plugins/modules/ibm_compute_ssl_certificate.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,11 +27,6 @@ - (Required for new resource) SSL Private Key required: True type: str - intermediate_certificate: - description: - - Intermediate certificate value - required: False - type: str tags: description: - Tags set for resource @@ -43,6 +38,11 @@ - (Required for new resource) SSL Certifcate required: True type: str + intermediate_certificate: + description: + - Intermediate certificate value + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,9 +96,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'private_key', - 'intermediate_certificate', 'tags', 'certificate', + 'intermediate_certificate', ] # Params for Data source @@ -118,9 +118,6 @@ private_key=dict( required=False, type='str'), - intermediate_certificate=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -128,6 +125,9 @@ certificate=dict( required=False, type='str'), + intermediate_certificate=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_compute_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c28072a0a..4c909475c 100644 --- a/plugins/modules/ibm_compute_user.py +++ b/plugins/modules/ibm_compute_user.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_user' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - address1: - description: - - (Required for new resource) Address info of the user - required: True - type: str - state_: + timezone: description: - - (Required for new resource) Satate name + - (Required for new resource) time zone info required: True type: str password: @@ -43,36 +38,15 @@ required: False type: list elements: str - company_name: - description: - - (Required for new resource) comapany name - required: True - type: str - email: - description: - - (Required for new resource) email address of the user - required: True - type: str - country: - description: - - (Required for new resource) Country name - required: True - type: str - timezone: + address1: description: - - (Required for new resource) time zone info + - (Required for new resource) Address info of the user required: True type: str - has_api_key: + address2: description: - - API Key info of the user + - Address info of the user required: False - type: bool - default: False - last_name: - description: - - (Required for new resource) Last name of the user - required: True type: str permissions: description: @@ -80,9 +54,9 @@ required: False type: list elements: str - address2: + api_key: description: - - Address info of the user + - API key for the user required: False type: str first_name: @@ -90,9 +64,9 @@ - (Required for new resource) First name of the user required: True type: str - city: + company_name: description: - - (Required for new resource) City name + - (Required for new resource) comapany name required: True type: str user_status: @@ -101,16 +75,42 @@ required: False type: str default: ACTIVE - api_key: + city: description: - - API key for the user - required: False + - (Required for new resource) City name + required: True + type: str + state_: + description: + - (Required for new resource) Satate name + required: True type: str + country: + description: + - (Required for new resource) Country name + required: True + type: str + has_api_key: + description: + - API Key info of the user + required: False + type: bool + default: False username: description: - user name required: False type: str + last_name: + description: + - (Required for new resource) Last name of the user + required: True + type: str + email: + description: + - (Required for new resource) email address of the user + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -157,36 +157,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('timezone', 'str'), ('address1', 'str'), - ('state_', 'str'), + ('first_name', 'str'), ('company_name', 'str'), - ('email', 'str'), + ('city', 'str'), + ('state_', 'str'), ('country', 'str'), - ('timezone', 'str'), ('last_name', 'str'), - ('first_name', 'str'), - ('city', 'str'), + ('email', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'address1', - 'state_', + 'timezone', 'password', 'tags', - 'company_name', - 'email', - 'country', - 'timezone', - 'has_api_key', - 'last_name', - 'permissions', + 'address1', 'address2', + 'permissions', + 'api_key', 'first_name', - 'city', + 'company_name', 'user_status', - 'api_key', + 'city', + 'state_', + 'country', + 'has_api_key', 'username', + 'last_name', + 'email', ] # Params for Data source @@ -203,10 +203,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( - address1=dict( - required=False, - type='str'), - state_=dict( + timezone=dict( required=False, type='str'), password=dict( @@ -216,46 +213,49 @@ required=False, elements='', type='list'), - company_name=dict( - required=False, - type='str'), - email=dict( - required=False, - type='str'), - country=dict( - required=False, - type='str'), - timezone=dict( + address1=dict( required=False, type='str'), - has_api_key=dict( - required=False, - type='bool'), - last_name=dict( + address2=dict( required=False, type='str'), permissions=dict( required=False, elements='', type='list'), - address2=dict( + api_key=dict( required=False, type='str'), first_name=dict( required=False, type='str'), - city=dict( + company_name=dict( required=False, type='str'), user_status=dict( required=False, type='str'), - api_key=dict( + city=dict( + required=False, + type='str'), + state_=dict( + required=False, + type='str'), + country=dict( required=False, type='str'), + has_api_key=dict( + required=False, + type='bool'), username=dict( required=False, type='str'), + last_name=dict( + required=False, + type='str'), + email=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -321,7 +321,7 @@ def run_module(): resource_type='ibm_compute_user', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 73b5058d6..961e761bf 100644 --- a/plugins/modules/ibm_compute_vm_instance.py +++ b/plugins/modules/ibm_compute_vm_instance.py @@ -18,163 +18,157 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_vm_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - dedicated_acct_host_only: + ipv6_static_enabled: description: - None required: False type: bool - disks: + default: False + datacenter: description: - None required: False - type: list - elements: int - tags: + type: str + quote_id: description: - - None + - Quote ID for Quote based provisioning required: False - type: list - elements: str - bulk_vms: + type: int + os_reference_code: description: - None required: False - type: list - elements: dict - reserved_capacity_name: + type: str + reserved_capacity_id: description: - The reserved group id required: False - type: str - block_storage_ids: + type: int + public_security_group_ids: description: - None required: False type: list elements: int - quote_id: + network_speed: description: - - Quote ID for Quote based provisioning + - None required: False type: int - reserved_instance_primary_disk: + default: 100 + hostname: description: - - The primary disk of reserved instance + - None required: False - type: int + type: str cores: description: - None required: False type: int - private_network_only: - description: - - None - required: False - type: bool - default: False dedicated_host_name: description: - None required: False type: str - ssh_key_ids: + datacenter_choice: + description: + - The user provided datacenter options + required: False + type: list + elements: dict + tags: description: - None required: False type: list - elements: int - public_subnet: + elements: str + dedicated_acct_host_only: description: - None required: False - type: str - secondary_ip_count: + type: bool + private_security_group_ids: description: - None required: False - type: int - network_speed: + type: list + elements: int + image_id: description: - None required: False type: int - default: 100 - user_metadata: + public_bandwidth_unlimited: description: - None required: False - type: str + type: bool + default: False ipv6_enabled: description: - None required: False type: bool default: False - private_security_group_ids: + ssh_key_ids: description: - None required: False type: list elements: int - reserved_capacity_id: - description: - - The reserved group id - required: False - type: int - public_bandwidth_limited: + evault: description: - None required: False type: int - memory: + file_storage_ids: description: - None required: False - type: int - ipv6_static_enabled: + type: list + elements: int + notes: description: - None required: False - type: bool - default: False - notes: + type: str + user_metadata: description: - None required: False type: str - placement_group_name: + public_bandwidth_limited: description: - - The placement group name + - None required: False - type: str + type: int flavor_key_name: description: - Flavor key name used to provision vm. required: False type: str - public_vlan_id: + post_install_script_uri: description: - None required: False - type: int - file_storage_ids: + type: str + hourly_billing: description: - None required: False - type: list - elements: int - public_bandwidth_unlimited: + type: bool + default: True + memory: description: - None required: False - type: bool - default: False - hostname: + type: int + public_subnet: description: - None required: False @@ -184,80 +178,86 @@ - None required: False type: str - placement_group_id: - description: - - The placement group id - required: False - type: int - private_vlan_id: + domain: description: - None required: False - type: int - os_reference_code: + type: str + private_network_only: description: - None required: False - type: str - datacenter_choice: + type: bool + default: False + placement_group_name: description: - - The user provided datacenter options + - The placement group name required: False - type: list - elements: dict - transient: + type: str + reserved_instance_primary_disk: description: - - None + - The primary disk of reserved instance required: False - type: bool - public_security_group_ids: + type: int + reserved_capacity_name: description: - - None + - The reserved group id required: False - type: list - elements: int + type: str local_disk: description: - None required: False type: bool default: True - hourly_billing: + private_vlan_id: description: - None required: False - type: bool - default: True - datacenter: + type: int + secondary_ip_count: description: - None required: False - type: str - post_install_script_uri: + type: int + placement_group_id: description: - - None + - The placement group id required: False - type: str - evault: + type: int + public_vlan_id: description: - None required: False type: int - domain: + block_storage_ids: description: - None required: False - type: str + type: list + elements: int + bulk_vms: + description: + - None + required: False + type: list + elements: dict dedicated_host_id: description: - None required: False type: int - image_id: + transient: description: - None required: False - type: int + type: bool + disks: + description: + - None + required: False + type: list + elements: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -308,234 +308,234 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'dedicated_acct_host_only', - 'disks', - 'tags', - 'bulk_vms', - 'reserved_capacity_name', - 'block_storage_ids', + 'ipv6_static_enabled', + 'datacenter', 'quote_id', - 'reserved_instance_primary_disk', + 'os_reference_code', + 'reserved_capacity_id', + 'public_security_group_ids', + 'network_speed', + 'hostname', 'cores', - 'private_network_only', 'dedicated_host_name', + 'datacenter_choice', + 'tags', + 'dedicated_acct_host_only', + 'private_security_group_ids', + 'image_id', + 'public_bandwidth_unlimited', + 'ipv6_enabled', 'ssh_key_ids', - 'public_subnet', - 'secondary_ip_count', - 'network_speed', + 'evault', + 'file_storage_ids', + 'notes', 'user_metadata', - 'ipv6_enabled', - 'private_security_group_ids', - 'reserved_capacity_id', 'public_bandwidth_limited', - 'memory', - 'ipv6_static_enabled', - 'notes', - 'placement_group_name', 'flavor_key_name', - 'public_vlan_id', - 'file_storage_ids', - 'public_bandwidth_unlimited', - 'hostname', - 'private_subnet', - 'placement_group_id', - 'private_vlan_id', - 'os_reference_code', - 'datacenter_choice', - 'transient', - 'public_security_group_ids', - 'local_disk', - 'hourly_billing', - 'datacenter', 'post_install_script_uri', - 'evault', + 'hourly_billing', + 'memory', + 'public_subnet', + 'private_subnet', 'domain', + 'private_network_only', + 'placement_group_name', + 'reserved_instance_primary_disk', + 'reserved_capacity_name', + 'local_disk', + 'private_vlan_id', + 'secondary_ip_count', + 'placement_group_id', + 'public_vlan_id', + 'block_storage_ids', + 'bulk_vms', 'dedicated_host_id', - 'image_id', + 'transient', + 'disks', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('hostname', 'str'), ('domain', 'str'), + ('hostname', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'hostname', 'most_recent', 'domain', + 'hostname', ] TL_CONFLICTS_MAP = { - 'dedicated_acct_host_only': ['dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'placement_group_name'], - 'bulk_vms': ['hostname', 'domain'], - 'reserved_capacity_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'flavor_key_name', 'cores', 'memory'], + 'datacenter': ['datacenter_choice'], + 'os_reference_code': ['image_id'], + 'reserved_capacity_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_name', 'flavor_key_name', 'cores', 'memory'], + 'hostname': ['bulk_vms'], 'cores': ['flavor_key_name'], 'dedicated_host_name': ['dedicated_acct_host_only', 'dedicated_host_id', 'placement_group_name', 'placement_group_id'], - 'reserved_capacity_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_name', 'flavor_key_name', 'cores', 'memory'], + 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], + 'dedicated_acct_host_only': ['dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'placement_group_name'], + 'image_id': ['os_reference_code'], + 'public_bandwidth_unlimited': ['private_network_only', 'public_bandwidth_limited'], 'public_bandwidth_limited': ['private_network_only', 'public_bandwidth_unlimited'], + 'flavor_key_name': ['cores', 'memory'], 'memory': ['flavor_key_name'], + 'domain': ['bulk_vms'], 'placement_group_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], - 'flavor_key_name': ['cores', 'memory'], - 'public_vlan_id': ['datacenter_choice'], - 'public_bandwidth_unlimited': ['private_network_only', 'public_bandwidth_limited'], - 'hostname': ['bulk_vms'], - 'placement_group_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'reserved_capacity_id', 'reserved_capacity_name'], + 'reserved_capacity_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'flavor_key_name', 'cores', 'memory'], 'private_vlan_id': ['datacenter_choice'], - 'os_reference_code': ['image_id'], - 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], - 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], - 'datacenter': ['datacenter_choice'], - 'domain': ['bulk_vms'], + 'placement_group_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'reserved_capacity_id', 'reserved_capacity_name'], + 'public_vlan_id': ['datacenter_choice'], + 'bulk_vms': ['hostname', 'domain'], 'dedicated_host_id': ['dedicated_acct_host_only', 'dedicated_host_name', 'placement_group_name', 'placement_group_id'], - 'image_id': ['os_reference_code'], + 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', '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( - dedicated_acct_host_only=dict( + ipv6_static_enabled=dict( required=False, type='bool'), - disks=dict( - required=False, - elements='', - type='list'), - tags=dict( + datacenter=dict( required=False, - elements='', - type='list'), - bulk_vms=dict( + type='str'), + quote_id=dict( required=False, - elements='', - type='list'), - reserved_capacity_name=dict( + type='int'), + os_reference_code=dict( required=False, type='str'), - block_storage_ids=dict( + reserved_capacity_id=dict( + required=False, + type='int'), + public_security_group_ids=dict( required=False, elements='', type='list'), - quote_id=dict( + network_speed=dict( required=False, type='int'), - reserved_instance_primary_disk=dict( + hostname=dict( required=False, - type='int'), + type='str'), cores=dict( required=False, type='int'), - private_network_only=dict( - required=False, - type='bool'), dedicated_host_name=dict( required=False, type='str'), - ssh_key_ids=dict( + datacenter_choice=dict( required=False, elements='', type='list'), - public_subnet=dict( + tags=dict( required=False, - type='str'), - secondary_ip_count=dict( + elements='', + type='list'), + dedicated_acct_host_only=dict( required=False, - type='int'), - network_speed=dict( + type='bool'), + private_security_group_ids=dict( + required=False, + elements='', + type='list'), + image_id=dict( required=False, type='int'), - user_metadata=dict( + public_bandwidth_unlimited=dict( required=False, - type='str'), + type='bool'), ipv6_enabled=dict( required=False, type='bool'), - private_security_group_ids=dict( + ssh_key_ids=dict( required=False, elements='', type='list'), - reserved_capacity_id=dict( - required=False, - type='int'), - public_bandwidth_limited=dict( - required=False, - type='int'), - memory=dict( + evault=dict( required=False, type='int'), - ipv6_static_enabled=dict( + file_storage_ids=dict( required=False, - type='bool'), + elements='', + type='list'), notes=dict( required=False, type='str'), - placement_group_name=dict( + user_metadata=dict( required=False, type='str'), + public_bandwidth_limited=dict( + required=False, + type='int'), flavor_key_name=dict( required=False, type='str'), - public_vlan_id=dict( - required=False, - type='int'), - file_storage_ids=dict( + post_install_script_uri=dict( required=False, - elements='', - type='list'), - public_bandwidth_unlimited=dict( + type='str'), + hourly_billing=dict( required=False, type='bool'), - hostname=dict( + memory=dict( + required=False, + type='int'), + public_subnet=dict( required=False, type='str'), private_subnet=dict( required=False, type='str'), - placement_group_id=dict( + domain=dict( required=False, - type='int'), - private_vlan_id=dict( + type='str'), + private_network_only=dict( required=False, - type='int'), - os_reference_code=dict( + type='bool'), + placement_group_name=dict( required=False, type='str'), - datacenter_choice=dict( - required=False, - elements='', - type='list'), - transient=dict( + reserved_instance_primary_disk=dict( required=False, - type='bool'), - public_security_group_ids=dict( + type='int'), + reserved_capacity_name=dict( required=False, - elements='', - type='list'), + type='str'), local_disk=dict( required=False, type='bool'), - hourly_billing=dict( + private_vlan_id=dict( required=False, - type='bool'), - datacenter=dict( + type='int'), + secondary_ip_count=dict( required=False, - type='str'), - post_install_script_uri=dict( + type='int'), + placement_group_id=dict( required=False, - type='str'), - evault=dict( + type='int'), + public_vlan_id=dict( required=False, type='int'), - domain=dict( + block_storage_ids=dict( required=False, - type='str'), + elements='', + type='list'), + bulk_vms=dict( + required=False, + elements='', + type='list'), dedicated_host_id=dict( required=False, type='int'), - image_id=dict( + transient=dict( required=False, - type='int'), + type='bool'), + disks=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -601,7 +601,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -610,7 +610,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 1fc001ccf..3868e8848 100644 --- a/plugins/modules/ibm_compute_vm_instance_info.py +++ b/plugins/modules/ibm_compute_vm_instance_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_compute_vm_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - hostname: - description: - - The hostname of the virtual guest - required: True - type: str most_recent: description: - If true and multiple entries are found, the most recently created virtual guest is used. If false, an error is returned @@ -37,6 +32,11 @@ - The domain of the virtual guest required: True type: str + hostname: + description: + - The hostname of the virtual guest + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -70,15 +70,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', + 'hostname', ] @@ -89,15 +89,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( - hostname=dict( - required=True, - type='str'), most_recent=dict( required=False, type='bool'), domain=dict( required=True, type='str'), + hostname=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d3ec24b33..dc21ce128 100644 --- a/plugins/modules/ibm_container_addons.py +++ b/plugins/modules/ibm_container_addons.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_addons' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -152,7 +152,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 98b3531f2..b41e592cf 100644 --- a/plugins/modules/ibm_container_addons_info.py +++ b/plugins/modules/ibm_container_addons_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_addons' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 680c32821..13bb078e6 100644 --- a/plugins/modules/ibm_container_alb.py +++ b/plugins/modules/ibm_container_alb.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - user_ip: - description: - - IP assigned by the user - required: False - type: str enable: description: - set to true if ALB needs to be enabled @@ -42,6 +37,11 @@ - (Required for new resource) ALB ID required: True type: str + user_ip: + description: + - IP assigned by the user + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -73,10 +73,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'user_ip', 'enable', 'disable_deployment', 'alb_id', + 'user_ip', ] # Params for Data source @@ -97,9 +97,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( - user_ip=dict( - required=False, - type='str'), enable=dict( required=False, type='bool'), @@ -109,6 +106,9 @@ alb_id=dict( required=False, type='str'), + user_ip=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -169,7 +169,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d6f1fdce2..79aeda820 100644 --- a/plugins/modules/ibm_container_alb_cert.py +++ b/plugins/modules/ibm_container_alb_cert.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb_cert' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cert_crn: - description: - - (Required for new resource) Certificate CRN id - required: True - type: str secret_name: description: - (Required for new resource) Secret name @@ -37,6 +32,11 @@ - Persistence of secret required: False type: bool + cert_crn: + description: + - (Required for new resource) Certificate CRN id + required: True + type: str cluster_id: description: - (Required for new resource) Cluster ID @@ -74,16 +74,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cert_crn', 'str'), ('secret_name', 'str'), + ('cert_crn', 'str'), ('cluster_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cert_crn', 'secret_name', 'persistence', + 'cert_crn', 'cluster_id', 'namespace', ] @@ -96,8 +96,8 @@ TL_ALL_PARAMETERS_DS = [ 'cluster_id', - 'namespace', 'secret_name', + 'namespace', ] TL_CONFLICTS_MAP = { @@ -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( - cert_crn=dict( - required=False, - type='str'), secret_name=dict( required=False, type='str'), persistence=dict( required=False, type='bool'), + cert_crn=dict( + required=False, + type='str'), cluster_id=dict( required=False, type='str'), @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 1ce9705e8..c68529eef 100644 --- a/plugins/modules/ibm_container_alb_cert_info.py +++ b/plugins/modules/ibm_container_alb_cert_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_alb_cert' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,17 +26,17 @@ - Cluster ID required: True type: str + secret_name: + description: + - Secret name + required: True + type: str namespace: description: - Namespace of the secret required: False type: str default: ibm-cert-store - secret_name: - description: - - Secret name - required: True - type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -57,8 +57,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cluster_id', - 'namespace', 'secret_name', + 'namespace', ] @@ -72,12 +72,12 @@ cluster_id=dict( required=True, type='str'), - namespace=dict( - required=False, - type='str'), secret_name=dict( required=True, type='str'), + namespace=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_alb_create.py b/plugins/modules/ibm_container_alb_create.py index de78cb1fa..6e707315f 100644 --- a/plugins/modules/ibm_container_alb_create.py +++ b/plugins/modules/ibm_container_alb_create.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb_create' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,11 +27,26 @@ - The version of the network load balancer that you want to use for the ALB. required: False type: str + cluster: + description: + - (Required for new resource) The ID of the cluster that the ALB belongs to. + required: True + type: str + ip: + description: + - The IP address that you want to assign to the ALB. + required: False + type: str alb_type: description: - (Required for new resource) The type of ALB that you want to create. required: True type: str + vlan_id: + description: + - (Required for new resource) The VLAN ID that you want to use for your ALBs. + required: True + type: str zone: description: - (Required for new resource) The zone where you want to deploy the ALB. @@ -43,26 +58,11 @@ required: False type: bool default: True - ip: - description: - - The IP address that you want to assign to the ALB. - required: False - type: str ingress_image: description: - The type of Ingress image that you want to use for your ALB deployment. required: False type: str - cluster: - description: - - (Required for new resource) The ID of the cluster that the ALB belongs to. - required: True - type: str - vlan_id: - description: - - (Required for new resource) The VLAN ID that you want to use for your ALBs. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,22 +89,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('alb_type', 'str'), - ('zone', 'str'), ('cluster', 'str'), + ('alb_type', 'str'), ('vlan_id', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'nlb_version', + 'cluster', + 'ip', 'alb_type', + 'vlan_id', 'zone', 'enable', - 'ip', 'ingress_image', - 'cluster', - 'vlan_id', ] # Params for Data source @@ -124,25 +124,25 @@ nlb_version=dict( required=False, type='str'), - alb_type=dict( + cluster=dict( required=False, type='str'), - zone=dict( + ip=dict( required=False, type='str'), - enable=dict( - required=False, - type='bool'), - ip=dict( + alb_type=dict( required=False, type='str'), - ingress_image=dict( + vlan_id=dict( required=False, type='str'), - cluster=dict( + zone=dict( required=False, type='str'), - vlan_id=dict( + enable=dict( + required=False, + type='bool'), + ingress_image=dict( required=False, type='str'), id=dict( @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_container_alb_create', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d13020f3f..16c052abd 100644 --- a/plugins/modules/ibm_container_alb_info.py +++ b/plugins/modules/ibm_container_alb_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7845e9d9d..5f6bb530c 100644 --- a/plugins/modules/ibm_container_api_key_reset.py +++ b/plugins/modules/ibm_container_api_key_reset.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_container_api_key_reset', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 caaf06af3..76a2b6bb5 100644 --- a/plugins/modules/ibm_container_bind_service.py +++ b/plugins/modules/ibm_container_bind_service.py @@ -18,28 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_container_bind_service' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - service_instance_id: + key: description: - - Service instance ID + - Key info required: False type: str - namespace_id: + tags: description: - - (Required for new resource) namespace ID - required: True + - List of tags for the resource + required: False + type: list + elements: str + service_instance_name: + description: + - serivice instance name + required: False type: str - key: + service_instance_id: description: - - Key info + - Service instance ID required: False type: str - role: + resource_group_id: description: - - Role info + - ID of the resource group. required: False type: str cluster_name_id: @@ -47,20 +53,14 @@ - (Required for new resource) Cluster name or ID required: True type: str - service_instance_name: + namespace_id: description: - - serivice instance name - required: False + - (Required for new resource) namespace ID + required: True type: str - tags: - description: - - List of tags for the resource - required: False - type: list - elements: str - resource_group_id: + role: description: - - ID of the resource group. + - Role info required: False type: str id: @@ -89,20 +89,20 @@ # 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_id', - 'namespace_id', 'key', - 'role', - 'cluster_name_id', - 'service_instance_name', 'tags', + 'service_instance_name', + 'service_instance_id', 'resource_group_id', + 'cluster_name_id', + 'namespace_id', + 'role', ] # Params for Data source @@ -119,37 +119,37 @@ ] TL_CONFLICTS_MAP = { - 'service_instance_id': ['service_instance_name'], 'service_instance_name': ['service_instance_id'], + 'service_instance_id': ['service_instance_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( - service_instance_id=dict( + key=dict( required=False, type='str'), - namespace_id=dict( + tags=dict( + required=False, + elements='', + type='list'), + service_instance_name=dict( required=False, type='str'), - key=dict( + service_instance_id=dict( required=False, type='str'), - role=dict( + resource_group_id=dict( required=False, type='str'), cluster_name_id=dict( required=False, type='str'), - service_instance_name=dict( + namespace_id=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - resource_group_id=dict( + role=dict( required=False, type='str'), id=dict( @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_container_bind_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 581899669..c28084f56 100644 --- a/plugins/modules/ibm_container_bind_service_info.py +++ b/plugins/modules/ibm_container_bind_service_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_bind_service' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -108,7 +108,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a7f993959..f3ed8b9bb 100644 --- a/plugins/modules/ibm_container_cluster.py +++ b/plugins/modules/ibm_container_cluster.py @@ -18,45 +18,37 @@ - Create, update or destroy an IBM Cloud 'ibm_container_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - webhook: - description: - - None - required: False - type: list - elements: dict - resource_group_id: + patch_version: description: - - ID of the resource group. + - Kubernetes patch version required: False type: str - kms_config: - description: - - Enables KMS on a given cluster - required: False - type: list - elements: dict - workers_info: + subnet_id: description: - - The IDs of the worker node + - List of subnet IDs required: False type: list - elements: dict - wait_for_worker_update: + elements: str + force_delete_storage: description: - - Wait for worker node to update during kube version update. + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered required: False type: bool - default: True - taints: + default: False + datacenter: description: - - WorkerPool Taints - required: False - type: list - elements: dict + - (Required for new resource) The datacenter where this cluster will be deployed + required: True + type: str + hardware: + description: + - (Required for new resource) Hardware type + required: True + type: str kube_version: description: - Kubernetes version info @@ -68,41 +60,48 @@ required: False type: bool default: False - machine_type: + kms_config: description: - - Machine type + - Enables KMS on a given cluster required: False - type: str - private_vlan_id: + type: list + elements: dict + labels: description: - - Private VLAN ID + - list of labels to the default worker pool required: False - type: str - wait_till: + type: dict + elements: str + entitlement: description: - - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - default: IngressReady service_subnet: description: - Custom subnet CIDR to provide private IP addresses for services required: False type: str - gateway_enabled: + webhook: description: - - Set true for gateway enabled clusters + - None + required: False + type: list + elements: dict + public_service_endpoint: + description: + - None required: False type: bool - default: False - name: + workers_info: description: - - (Required for new resource) The cluster name - required: True - type: str - patch_version: + - The IDs of the worker node + required: False + type: list + elements: dict + resource_group_id: description: - - Kubernetes patch version + - ID of the resource group. required: False type: str image_security_enforcement: @@ -111,88 +110,94 @@ required: False type: bool default: False - hardware: - description: - - (Required for new resource) Hardware type - required: True - type: str - public_service_endpoint: - description: - - None - required: False - type: bool default_pool_size: description: - The size of the default worker pool required: False type: int default: 1 - labels: + operating_system: description: - - list of labels to the default worker pool + - The operating system of the workers in the default worker pool. required: False - type: dict - elements: str - pod_subnet: + type: str + wait_for_worker_update: description: - - Custom subnet CIDR to provide private IP addresses for pods + - Wait for worker node to update during kube version update. required: False - type: str - datacenter: + type: bool + default: True + taints: description: - - (Required for new resource) The datacenter where this cluster will be deployed - required: True - type: str + - WorkerPool Taints + required: False + type: list + elements: dict disk_encryption: description: - disc encryption done, if set to true. required: False type: bool default: True - no_subnet: + wait_till: description: - - Boolean value set to true when subnet creation is not required. + - wait_till can be configured for Master Ready, One worker Ready, Ingress Ready or Normal + required: False + type: str + default: IngressReady + machine_type: + description: + - Machine type + required: False + type: str + private_vlan_id: + description: + - Private VLAN ID + required: False + type: str + gateway_enabled: + description: + - Set true for gateway enabled clusters required: False type: bool default: False - tags: + pod_subnet: description: - - Tags for the resource + - Custom subnet CIDR to provide private IP addresses for pods required: False - type: list - elements: str + type: str private_service_endpoint: description: - None required: False type: bool - retry_patch_version: + name: description: - - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + - (Required for new resource) The cluster name + required: True + type: str + public_vlan_id: + description: + - Public VLAN ID required: False - type: int - subnet_id: + type: str + tags: description: - - List of subnet IDs + - 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 - default: False - public_vlan_id: + retry_patch_version: description: - - Public VLAN ID + - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails required: False - type: str - entitlement: + type: int + no_subnet: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - Boolean value set to true when subnet creation is not required. required: False - type: str + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -219,44 +224,45 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('hardware', 'str'), ('datacenter', 'str'), + ('hardware', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'webhook', - 'resource_group_id', + 'patch_version', + 'subnet_id', + 'force_delete_storage', + 'datacenter', + 'hardware', + 'kube_version', + 'update_all_workers', 'kms_config', + 'labels', + 'entitlement', + 'service_subnet', + 'webhook', + 'public_service_endpoint', 'workers_info', + 'resource_group_id', + 'image_security_enforcement', + 'default_pool_size', + 'operating_system', 'wait_for_worker_update', 'taints', - 'kube_version', - 'update_all_workers', + 'disk_encryption', + 'wait_till', 'machine_type', 'private_vlan_id', - 'wait_till', - 'service_subnet', 'gateway_enabled', - 'name', - 'patch_version', - 'image_security_enforcement', - 'hardware', - 'public_service_endpoint', - 'default_pool_size', - 'labels', 'pod_subnet', - 'datacenter', - 'disk_encryption', - 'no_subnet', - 'tags', 'private_service_endpoint', - 'retry_patch_version', - 'subnet_id', - 'force_delete_storage', + 'name', 'public_vlan_id', - 'entitlement', + 'tags', + 'retry_patch_version', + 'no_subnet', ] # Params for Data source @@ -264,15 +270,15 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', - 'name', - 'org_guid', + 'region', 'alb_type', - 'list_bounded_services', 'space_guid', + 'resource_group_id', 'cluster_name_id', - 'region', + 'name', + 'org_guid', 'account_guid', + 'list_bounded_services', ] TL_CONFLICTS_MAP = { @@ -282,106 +288,109 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - webhook=dict( - required=False, - elements='', - type='list'), - resource_group_id=dict( + patch_version=dict( required=False, type='str'), - kms_config=dict( - required=False, - elements='', - type='list'), - workers_info=dict( + subnet_id=dict( required=False, elements='', type='list'), - wait_for_worker_update=dict( + force_delete_storage=dict( required=False, type='bool'), - taints=dict( + datacenter=dict( required=False, - elements='', - type='list'), + type='str'), + hardware=dict( + required=False, + type='str'), kube_version=dict( required=False, type='str'), update_all_workers=dict( required=False, type='bool'), - machine_type=dict( + kms_config=dict( required=False, - type='str'), - private_vlan_id=dict( + elements='', + type='list'), + labels=dict( required=False, - type='str'), - wait_till=dict( + elements='', + type='dict'), + entitlement=dict( required=False, type='str'), service_subnet=dict( required=False, type='str'), - gateway_enabled=dict( + webhook=dict( + required=False, + elements='', + type='list'), + public_service_endpoint=dict( required=False, type='bool'), - name=dict( + workers_info=dict( required=False, - type='str'), - patch_version=dict( + elements='', + type='list'), + resource_group_id=dict( required=False, type='str'), image_security_enforcement=dict( required=False, type='bool'), - hardware=dict( + default_pool_size=dict( + required=False, + type='int'), + operating_system=dict( required=False, type='str'), - public_service_endpoint=dict( + wait_for_worker_update=dict( required=False, type='bool'), - default_pool_size=dict( - required=False, - type='int'), - labels=dict( + taints=dict( required=False, elements='', - type='dict'), - pod_subnet=dict( + type='list'), + disk_encryption=dict( + required=False, + type='bool'), + wait_till=dict( required=False, type='str'), - datacenter=dict( + machine_type=dict( required=False, type='str'), - disk_encryption=dict( + private_vlan_id=dict( required=False, - type='bool'), - no_subnet=dict( + type='str'), + gateway_enabled=dict( required=False, type='bool'), - tags=dict( + pod_subnet=dict( required=False, - elements='', - type='list'), + type='str'), private_service_endpoint=dict( required=False, type='bool'), - retry_patch_version=dict( + name=dict( required=False, - type='int'), - subnet_id=dict( + type='str'), + public_vlan_id=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), - force_delete_storage=dict( - required=False, - type='bool'), - public_vlan_id=dict( + retry_patch_version=dict( required=False, - type='str'), - entitlement=dict( + type='int'), + no_subnet=dict( required=False, - type='str'), + type='bool'), id=dict( required=False, type='str'), @@ -433,7 +442,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -442,7 +451,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 44a92e253..24d468a65 100644 --- a/plugins/modules/ibm_container_cluster_config_info.py +++ b/plugins/modules/ibm_container_cluster_config_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_config' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,31 +26,31 @@ - ID of the resource group. required: False type: str - cluster_name_id: + download: description: - - The name/id of the cluster - required: True - type: str - network: + - 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 + admin: description: - - If set to true will download the Calico network config with the Admin config + - If set to true will download the config for admin required: False type: bool default: False + cluster_name_id: + description: + - The name/id of the cluster + required: True + 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 - admin: + network: description: - - If set to true will download the config for admin + - If set to true will download the Calico network config with the Admin config required: False type: bool default: False @@ -73,11 +73,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'cluster_name_id', - 'network', - 'config_dir', 'download', 'admin', + 'cluster_name_id', + 'config_dir', + 'network', ] @@ -91,19 +91,19 @@ resource_group_id=dict( required=False, type='str'), + download=dict( + required=False, + type='bool'), + admin=dict( + required=False, + type='bool'), cluster_name_id=dict( required=True, type='str'), - network=dict( - required=False, - type='bool'), config_dir=dict( required=False, type='str'), - download=dict( - required=False, - type='bool'), - admin=dict( + network=dict( required=False, type='bool'), ibmcloud_api_key=dict( @@ -126,7 +126,7 @@ def run_module(): resource_type='ibm_container_cluster_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c5a5078f7..72471481b 100644 --- a/plugins/modules/ibm_container_cluster_feature.py +++ b/plugins/modules/ibm_container_cluster_feature.py @@ -18,25 +18,10 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - 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 - public_service_endpoint: - description: - - None - required: False - type: bool private_service_endpoint: description: - None @@ -54,6 +39,21 @@ 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 + public_service_endpoint: + description: + - None + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -85,12 +85,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', - 'cluster', - 'public_service_endpoint', 'private_service_endpoint', 'refresh_api_servers', 'reload_workers', + 'resource_group_id', + 'cluster', + 'public_service_endpoint', ] # Params for Data source @@ -107,15 +107,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( - resource_group_id=dict( - required=False, - type='str'), - cluster=dict( - required=False, - type='str'), - public_service_endpoint=dict( - required=False, - type='bool'), private_service_endpoint=dict( required=False, type='bool'), @@ -125,6 +116,15 @@ reload_workers=dict( required=False, type='bool'), + resource_group_id=dict( + required=False, + type='str'), + cluster=dict( + required=False, + type='str'), + public_service_endpoint=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_container_cluster_feature', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 cdd7e34d8..5a4d5c5da 100644 --- a/plugins/modules/ibm_container_cluster_info.py +++ b/plugins/modules/ibm_container_cluster_info.py @@ -17,10 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + alb_type: + description: + - None + required: False + type: str + default: all resource_group_id: description: - ID of the resource group. @@ -31,12 +37,6 @@ - Name or id of the cluster required: False type: str - alb_type: - description: - - None - required: False - type: str - default: all list_bounded_services: description: - If set to false bounded services won't be listed. @@ -60,9 +60,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'alb_type', 'resource_group_id', 'name', - 'alb_type', 'list_bounded_services', ] @@ -74,13 +74,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( - resource_group_id=dict( + alb_type=dict( required=False, type='str'), - name=dict( + resource_group_id=dict( required=False, type='str'), - alb_type=dict( + name=dict( required=False, type='str'), list_bounded_services=dict( @@ -106,7 +106,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 96dff8211..16deedca8 100644 --- a/plugins/modules/ibm_container_cluster_versions_info.py +++ b/plugins/modules/ibm_container_cluster_versions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_versions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -77,7 +77,7 @@ def run_module(): resource_type='ibm_container_cluster_versions', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e4aac14cf..afa3d6f1c 100644 --- a/plugins/modules/ibm_container_cluster_worker_info.py +++ b/plugins/modules/ibm_container_cluster_worker_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_worker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - worker_id: - description: - - ID of the worker - 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 ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -49,8 +49,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'worker_id', 'resource_group_id', + 'worker_id', ] @@ -61,12 +61,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( - worker_id=dict( - required=True, - type='str'), resource_group_id=dict( required=False, type='str'), + worker_id=dict( + required=True, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_cluster_worker', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host.py b/plugins/modules/ibm_container_dedicated_host.py index fa119ac42..41cf805b4 100644 --- a/plugins/modules/ibm_container_dedicated_host.py +++ b/plugins/modules/ibm_container_dedicated_host.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_dedicated_host' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -83,13 +83,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('host_id', 'str'), ('host_pool_id', 'str'), + ('host_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'host_id', 'host_pool_id', + 'host_id', ] TL_CONFLICTS_MAP = { @@ -162,7 +162,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_dedicated_host_flavor_info.py b/plugins/modules/ibm_container_dedicated_host_flavor_info.py index 66a433232..beb773bc2 100644 --- a/plugins/modules/ibm_container_dedicated_host_flavor_info.py +++ b/plugins/modules/ibm_container_dedicated_host_flavor_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host_flavor' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_flavor', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host_flavors_info.py b/plugins/modules/ibm_container_dedicated_host_flavors_info.py index 1686d5352..91378f095 100644 --- a/plugins/modules/ibm_container_dedicated_host_flavors_info.py +++ b/plugins/modules/ibm_container_dedicated_host_flavors_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host_flavors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_flavors', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host_info.py b/plugins/modules/ibm_container_dedicated_host_info.py index 4da5f8c4d..36d12203e 100644 --- a/plugins/modules/ibm_container_dedicated_host_info.py +++ b/plugins/modules/ibm_container_dedicated_host_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - host_id: + host_pool_id: description: - - The id of the dedicated host + - The id of the dedicated host pool the dedicated host is associated with required: True type: str - host_pool_id: + host_id: description: - - The id of the dedicated host pool the dedicated host is associated with + - The id of the dedicated host required: True type: str ibmcloud_api_key: @@ -44,14 +44,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('host_id', 'str'), ('host_pool_id', 'str'), + ('host_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'host_id', 'host_pool_id', + 'host_id', ] @@ -62,10 +62,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( - host_id=dict( + host_pool_id=dict( required=True, type='str'), - host_pool_id=dict( + host_id=dict( required=True, type='str'), ibmcloud_api_key=dict( @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host_pool.py b/plugins/modules/ibm_container_dedicated_host_pool.py index 49cba50fd..964a0dc57 100644 --- a/plugins/modules/ibm_container_dedicated_host_pool.py +++ b/plugins/modules/ibm_container_dedicated_host_pool.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_dedicated_host_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str name: description: - (Required for new resource) The name of the dedicated host pool @@ -42,6 +37,11 @@ - (Required for new resource) The flavor class of the dedicated host pool required: True type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -75,10 +75,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'name', 'metro', 'flavor_class', + 'resource_group_id', ] # Params for Data source @@ -97,9 +97,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( - resource_group_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -109,6 +106,9 @@ flavor_class=dict( required=False, type='str'), + resource_group_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -169,7 +169,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_dedicated_host_pool_info.py b/plugins/modules/ibm_container_dedicated_host_pool_info.py index 28fe107b3..124886bd2 100644 --- a/plugins/modules/ibm_container_dedicated_host_pool_info.py +++ b/plugins/modules/ibm_container_dedicated_host_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_nlb_dns.py b/plugins/modules/ibm_container_nlb_dns.py index 8c93c203f..31f1ce982 100644 --- a/plugins/modules/ibm_container_nlb_dns.py +++ b/plugins/modules/ibm_container_nlb_dns.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_container_nlb_dns' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_group_id: + description: + - The ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. + required: False + type: str cluster: description: - (Required for new resource) The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`. @@ -38,11 +43,6 @@ required: True type: list elements: str - resource_group_id: - description: - - The ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -76,10 +76,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group_id', 'cluster', 'nlb_host', 'nlb_ips', - 'resource_group_id', ] # Params for Data source @@ -98,6 +98,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( + resource_group_id=dict( + required=False, + type='str'), cluster=dict( required=False, type='str'), @@ -108,9 +111,6 @@ required=False, elements='', type='list'), - resource_group_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -162,7 +162,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_nlb_dns_info.py b/plugins/modules/ibm_container_nlb_dns_info.py index 6b613c370..f91cf2f3d 100644 --- a/plugins/modules/ibm_container_nlb_dns_info.py +++ b/plugins/modules/ibm_container_nlb_dns_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_nlb_dns' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_storage_attachment.py b/plugins/modules/ibm_container_storage_attachment.py index e8162bd2d..836cbadcc 100644 --- a/plugins/modules/ibm_container_storage_attachment.py +++ b/plugins/modules/ibm_container_storage_attachment.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_storage_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - worker: - description: - - (Required for new resource) worker node ID - required: True - type: str resource_group_id: description: - ID of the resource group. @@ -42,6 +37,11 @@ - (Required for new resource) Cluster name or ID required: True type: str + worker: + description: + - (Required for new resource) worker node ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -68,31 +68,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('worker', 'str'), ('volume', 'str'), ('cluster', 'str'), + ('worker', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'worker', 'resource_group_id', 'volume', 'cluster', + 'worker', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('worker', 'str'), ('volume_attachment_id', 'str'), ('cluster', 'str'), + ('worker', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'worker', - 'resource_group_id', 'volume_attachment_id', 'cluster', + 'worker', + 'resource_group_id', ] TL_CONFLICTS_MAP = { @@ -102,9 +102,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( - worker=dict( - required=False, - type='str'), resource_group_id=dict( required=False, type='str'), @@ -114,6 +111,9 @@ cluster=dict( required=False, type='str'), + worker=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -165,7 +165,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_storage_attachment_info.py b/plugins/modules/ibm_container_storage_attachment_info.py index 5ac60897b..9c9fa59cf 100644 --- a/plugins/modules/ibm_container_storage_attachment_info.py +++ b/plugins/modules/ibm_container_storage_attachment_info.py @@ -17,20 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_container_storage_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - worker: - description: - - Worker node ID - required: True - type: str - resource_group_id: - description: - - ID of the resource group. - required: False - type: str volume_attachment_id: description: - The volume attachment ID @@ -41,6 +31,16 @@ - Cluster name or ID required: True type: str + worker: + description: + - Worker node ID + 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,17 +54,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('worker', 'str'), ('volume_attachment_id', 'str'), ('cluster', 'str'), + ('worker', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'worker', - 'resource_group_id', 'volume_attachment_id', 'cluster', + 'worker', + 'resource_group_id', ] @@ -75,18 +75,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=dict( - required=True, - type='str'), - resource_group_id=dict( - required=False, - type='str'), volume_attachment_id=dict( required=True, type='str'), cluster=dict( required=True, type='str'), + worker=dict( + required=True, + type='str'), + resource_group_id=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -107,7 +107,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f619799f2..35f505614 100644 --- a/plugins/modules/ibm_container_vpc_alb.py +++ b/plugins/modules/ibm_container_vpc_alb.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + enable: + description: + - Enable the ALB instance in the cluster + required: False + type: bool resource_group_id: description: - ID of the resource group. @@ -32,11 +37,6 @@ - (Required for new resource) ALB ID required: True type: str - enable: - description: - - Enable the ALB instance in the cluster - required: False - type: bool disable_deployment: description: - Disable the ALB instance in the cluster @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'enable', 'resource_group_id', 'alb_id', - 'enable', 'disable_deployment', ] @@ -85,8 +85,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'alb_id', 'resource_group_id', + 'alb_id', ] TL_CONFLICTS_MAP = { @@ -98,15 +98,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( + enable=dict( + required=False, + type='bool'), resource_group_id=dict( required=False, type='str'), alb_id=dict( required=False, type='str'), - enable=dict( - required=False, - type='bool'), disable_deployment=dict( required=False, type='bool'), @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -170,7 +170,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_create.py b/plugins/modules/ibm_container_vpc_alb_create.py index 432f497ef..4cf09d316 100644 --- a/plugins/modules/ibm_container_vpc_alb_create.py +++ b/plugins/modules/ibm_container_vpc_alb_create.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_alb_create' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_container_vpc_alb_create', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_alb_info.py b/plugins/modules/ibm_container_vpc_alb_info.py index f5fff9847..a5ba08974 100644 --- a/plugins/modules/ibm_container_vpc_alb_info.py +++ b/plugins/modules/ibm_container_vpc_alb_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - alb_id: - description: - - ALB ID - required: True - type: str resource_group_id: description: - ID of the resource group. required: False type: str + alb_id: + description: + - ALB ID + required: True + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -49,8 +49,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'alb_id', 'resource_group_id', + 'alb_id', ] @@ -61,12 +61,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( - alb_id=dict( - required=True, - type='str'), resource_group_id=dict( required=False, type='str'), + alb_id=dict( + required=True, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 139e0c1dc..424b5cea5 100644 --- a/plugins/modules/ibm_container_vpc_cluster.py +++ b/plugins/modules/ibm_container_vpc_cluster.py @@ -18,40 +18,44 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - entitlement: + zones: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - (Required for new resource) Zone info + required: True + type: list + elements: dict + patch_version: + description: + - Kubernetes patch version required: False type: str - force_delete_storage: + retry_patch_version: description: - - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails required: False - type: bool - default: False - flavor: + type: int + kms_instance_id: description: - - (Required for new resource) Cluster nodes flavour - required: True + - Instance ID for boot volume encryption + required: False type: str - name: + flavor: description: - - (Required for new resource) The cluster name + - (Required for new resource) Cluster nodes flavour required: True type: str - wait_for_worker_update: + kube_version: description: - - Wait for worker node to update during kube version update. + - Kubernetes version required: False - type: bool - default: True - pod_subnet: + type: str + service_subnet: description: - - Custom subnet CIDR to provide private IP addresses for pods + - Custom subnet CIDR to provide private IP addresses for services required: False type: str worker_labels: @@ -60,110 +64,116 @@ required: False type: dict elements: str - resource_group_id: - description: - - ID of the resource group. - required: False - type: str - crk: + host_pool_id: description: - - Root Key ID for boot volume encryption + - The ID of the cluster's associated host pool required: False type: str - image_security_enforcement: + wait_for_worker_update: description: - - Set true to enable image security enforcement policies + - Wait for worker node to update during kube version update. required: False type: bool - default: False - zones: - description: - - (Required for new resource) Zone info - required: True - type: list - elements: dict - worker_count: + default: True + operating_system: description: - - Number of worker nodes in the cluster + - The operating system of the workers in the default worker pool. required: False - type: int - default: 1 + type: str taints: description: - WorkerPool Taints required: False type: list elements: dict - kms_instance_id: + entitlement: description: - - Instance ID for boot volume encryption + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - patch_version: + update_all_workers: description: - - Kubernetes patch version + - Updates all the woker nodes if sets to true required: False - type: str - retry_patch_version: + type: bool + default: False + pod_subnet: description: - - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + - Custom subnet CIDR to provide private IP addresses for pods required: False - type: int - service_subnet: + type: str + wait_till: description: - - Custom subnet CIDR to provide private IP addresses for services + - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready or Normal required: False type: str - tags: + default: IngressReady + cos_instance_crn: description: - - List of tags for the resources + - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster required: False - type: list - elements: str - host_pool_id: + type: str + name: description: - - The ID of the cluster's associated host pool - required: False + - (Required for new resource) The cluster name + required: True type: str - update_all_workers: + disable_public_service_endpoint: description: - - Updates all the woker nodes if sets to true + - Boolean value true if Public service endpoint to be disabled required: False type: bool default: False - disable_public_service_endpoint: + force_delete_storage: description: - - Boolean value true if Public service endpoint to be disabled + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered required: False type: bool default: False - wait_till: + resource_group_id: description: - - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + - ID of the resource group. required: False type: str - default: IngressReady - vpc_id: - description: - - (Required for new resource) The vpc id where the cluster is - required: True - type: str kms_config: description: - Enables KMS on a given cluster required: False type: list elements: dict - kube_version: + worker_count: description: - - Kubernetes version + - Number of worker nodes in the cluster + required: False + type: int + default: 1 + crk: + description: + - Root Key ID for boot volume encryption required: False type: str - cos_instance_crn: + kms_account_id: description: - - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster + - Account ID of kms instance holder - if not provided, defaults to the account in use required: False type: str + vpc_id: + description: + - (Required for new resource) The vpc id where the cluster is + required: True + type: str + tags: + description: + - List of tags for the resources + required: False + type: list + elements: str + image_security_enforcement: + description: + - Set true to enable image security enforcement policies + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -190,40 +200,42 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('zones', 'list'), ('flavor', 'str'), ('name', 'str'), - ('zones', 'list'), ('vpc_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'entitlement', - 'force_delete_storage', - 'flavor', - 'name', - 'wait_for_worker_update', - 'pod_subnet', - 'worker_labels', - 'resource_group_id', - 'crk', - 'image_security_enforcement', 'zones', - 'worker_count', - 'taints', - 'kms_instance_id', 'patch_version', 'retry_patch_version', + 'kms_instance_id', + 'flavor', + 'kube_version', 'service_subnet', - 'tags', + 'worker_labels', 'host_pool_id', + 'wait_for_worker_update', + 'operating_system', + 'taints', + 'entitlement', 'update_all_workers', - 'disable_public_service_endpoint', + 'pod_subnet', 'wait_till', - 'vpc_id', - 'kms_config', - 'kube_version', 'cos_instance_crn', + 'name', + 'disable_public_service_endpoint', + 'force_delete_storage', + 'resource_group_id', + 'kms_config', + 'worker_count', + 'crk', + 'kms_account_id', + 'vpc_id', + 'tags', + 'image_security_enforcement', ] # Params for Data source @@ -232,9 +244,9 @@ TL_ALL_PARAMETERS_DS = [ 'resource_group_id', - 'name', 'cluster_name_id', 'alb_type', + 'name', ] TL_CONFLICTS_MAP = { @@ -244,89 +256,95 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - entitlement=dict( + zones=dict( + required=False, + elements='', + type='list'), + patch_version=dict( required=False, type='str'), - force_delete_storage=dict( + retry_patch_version=dict( required=False, - type='bool'), - flavor=dict( + type='int'), + kms_instance_id=dict( required=False, type='str'), - name=dict( + flavor=dict( required=False, type='str'), - wait_for_worker_update=dict( + kube_version=dict( required=False, - type='bool'), - pod_subnet=dict( + type='str'), + service_subnet=dict( required=False, type='str'), worker_labels=dict( required=False, elements='', type='dict'), - resource_group_id=dict( - required=False, - type='str'), - crk=dict( + host_pool_id=dict( required=False, type='str'), - image_security_enforcement=dict( + wait_for_worker_update=dict( required=False, type='bool'), - zones=dict( + operating_system=dict( required=False, - elements='', - type='list'), - worker_count=dict( - required=False, - type='int'), + type='str'), taints=dict( required=False, elements='', type='list'), - kms_instance_id=dict( - required=False, - type='str'), - patch_version=dict( + entitlement=dict( required=False, type='str'), - retry_patch_version=dict( + update_all_workers=dict( required=False, - type='int'), - service_subnet=dict( + type='bool'), + pod_subnet=dict( required=False, type='str'), - tags=dict( + wait_till=dict( required=False, - elements='', - type='list'), - host_pool_id=dict( + type='str'), + cos_instance_crn=dict( required=False, type='str'), - update_all_workers=dict( + name=dict( required=False, - type='bool'), + type='str'), disable_public_service_endpoint=dict( required=False, type='bool'), - wait_till=dict( + force_delete_storage=dict( required=False, - type='str'), - vpc_id=dict( + type='bool'), + resource_group_id=dict( required=False, type='str'), kms_config=dict( required=False, elements='', type='list'), - kube_version=dict( + worker_count=dict( + required=False, + type='int'), + crk=dict( required=False, type='str'), - cos_instance_crn=dict( + kms_account_id=dict( + required=False, + type='str'), + vpc_id=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + image_security_enforcement=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -378,7 +396,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -387,7 +405,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6f5f6fc8d..8f00afcca 100644 --- a/plugins/modules/ibm_container_vpc_cluster_alb_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_alb_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - alb_id: - description: - - ALB ID - required: True - type: str resource_group_id: description: - ID of the resource group. required: False type: str + alb_id: + description: + - ALB ID + required: True + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -49,8 +49,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'alb_id', 'resource_group_id', + 'alb_id', ] @@ -61,12 +61,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( - alb_id=dict( - required=True, - type='str'), resource_group_id=dict( required=False, type='str'), + alb_id=dict( + required=True, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9d4b37c8a..9896c10b8 100644 --- a/plugins/modules/ibm_container_vpc_cluster_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,17 +26,17 @@ - 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 + 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 @@ -55,8 +55,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'name', 'alb_type', + 'name', ] @@ -70,10 +70,10 @@ resource_group_id=dict( required=False, type='str'), - name=dict( + alb_type=dict( required=False, type='str'), - alb_type=dict( + name=dict( required=False, type='str'), ibmcloud_api_key=dict( @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5ec6315a6..7463b8272 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -97,7 +97,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_worker', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 cf7273ae3..903b12ef3 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_worker.py b/plugins/modules/ibm_container_vpc_worker.py index 59739f6ee..f99c2e605 100644 --- a/plugins/modules/ibm_container_vpc_worker.py +++ b/plugins/modules/ibm_container_vpc_worker.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_container_vpc_worker', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7cb8a85bb..b3849039f 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool.py +++ b/plugins/modules/ibm_container_vpc_worker_pool.py @@ -18,30 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cluster: - description: - - (Required for new resource) Cluster name - required: True - type: str resource_group_id: description: - ID of the resource group. required: False type: str - worker_count: + vpc_id: description: - - (Required for new resource) The number of workers + - (Required for new resource) The vpc id where the cluster is required: True - type: int + type: str kms_instance_id: description: - Instance ID for boot volume encryption required: False type: str + crk: + description: + - Root Key ID for boot volume encryption + required: False + type: str flavor: description: - (Required for new resource) cluster node falvor @@ -53,14 +53,14 @@ required: False type: dict elements: str - host_pool_id: + worker_count: description: - - The ID of the dedicated host pool associated with the worker pool - required: False - type: str - crk: + - (Required for new resource) The number of workers + required: True + type: int + kms_account_id: description: - - Root Key ID for boot volume encryption + - Account ID of kms instance holder - if not provided, defaults to the account in use required: False type: str worker_pool_name: @@ -68,28 +68,38 @@ - (Required for new resource) worker pool name required: True type: str + taints: + description: + - WorkerPool Taints + required: False + type: list + elements: dict zones: description: - (Required for new resource) Zones info required: True type: list elements: dict - 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 - taints: + operating_system: description: - - WorkerPool Taints + - The operating system of the workers in the worker pool. required: False - type: list - elements: dict + type: str + host_pool_id: + description: + - The ID of the dedicated host pool associated with the worker pool + required: False + type: str + cluster: + description: + - (Required for new resource) Cluster name + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,40 +126,42 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), - ('worker_count', 'int'), + ('vpc_id', 'str'), ('flavor', 'str'), + ('worker_count', 'int'), ('worker_pool_name', 'str'), ('zones', 'list'), - ('vpc_id', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'resource_group_id', - 'worker_count', + 'vpc_id', 'kms_instance_id', + 'crk', 'flavor', 'labels', - 'host_pool_id', - 'crk', + 'worker_count', + 'kms_account_id', 'worker_pool_name', + 'taints', 'zones', - 'vpc_id', 'entitlement', - 'taints', + 'operating_system', + 'host_pool_id', + 'cluster', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('worker_pool_name', 'str'), ('cluster', 'str'), + ('worker_pool_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'worker_pool_name', 'cluster', + 'worker_pool_name', ] TL_CONFLICTS_MAP = { @@ -159,18 +171,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( - cluster=dict( - required=False, - type='str'), resource_group_id=dict( required=False, type='str'), - worker_count=dict( + vpc_id=dict( required=False, - type='int'), + type='str'), kms_instance_id=dict( required=False, type='str'), + crk=dict( + required=False, + type='str'), flavor=dict( required=False, type='str'), @@ -178,29 +190,35 @@ required=False, elements='', type='dict'), - host_pool_id=dict( + worker_count=dict( required=False, - type='str'), - crk=dict( + type='int'), + kms_account_id=dict( required=False, type='str'), worker_pool_name=dict( required=False, type='str'), + taints=dict( + required=False, + elements='', + type='list'), zones=dict( required=False, elements='', type='list'), - vpc_id=dict( + entitlement=dict( required=False, type='str'), - entitlement=dict( + operating_system=dict( required=False, type='str'), - taints=dict( + host_pool_id=dict( required=False, - elements='', - type='list'), + type='str'), + cluster=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -252,7 +270,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -261,7 +279,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7f651c22b..46fa30890 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_worker_pool_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - worker_pool_name: + cluster: description: - - worker pool name + - Cluster name required: True type: str - cluster: + worker_pool_name: description: - - Cluster name + - worker pool name required: True type: str ibmcloud_api_key: @@ -44,14 +44,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('worker_pool_name', 'str'), ('cluster', 'str'), + ('worker_pool_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'worker_pool_name', 'cluster', + 'worker_pool_name', ] @@ -62,10 +62,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( - worker_pool_name=dict( + cluster=dict( required=True, type='str'), - cluster=dict( + worker_pool_name=dict( required=True, type='str'), ibmcloud_api_key=dict( @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 4deaa8870..b5f63ff32 100644 --- a/plugins/modules/ibm_container_worker_pool.py +++ b/plugins/modules/ibm_container_worker_pool.py @@ -18,50 +18,44 @@ - Create, update or destroy an IBM Cloud 'ibm_container_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str - cluster: - description: - - (Required for new resource) Cluster name - required: True - type: str machine_type: description: - (Required for new resource) worker nodes machine type required: True type: str - size_per_zone: + entitlement: description: - - (Required for new resource) Number of nodes per zone - required: True - type: int + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + required: False + type: str hardware: description: - Hardware type required: False type: str default: shared + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + size_per_zone: + description: + - (Required for new resource) Number of nodes per zone + required: True + type: int worker_pool_name: description: - (Required for new resource) worker pool name required: True type: str - labels: + operating_system: description: - - list of labels to worker pool - required: False - type: dict - elements: str - entitlement: - description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - The operating system of the workers in the worker pool. required: False type: str disk_encryption: @@ -70,6 +64,17 @@ required: False type: bool default: True + cluster: + description: + - (Required for new resource) Cluster name + required: True + type: str + labels: + description: + - list of labels to worker pool + required: False + type: dict + elements: str taints: description: - WorkerPool Taints @@ -102,23 +107,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('machine_type', 'str'), ('size_per_zone', 'int'), ('worker_pool_name', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', - 'cluster', 'machine_type', - 'size_per_zone', + 'entitlement', 'hardware', + 'resource_group_id', + 'size_per_zone', 'worker_pool_name', - 'labels', - 'entitlement', + 'operating_system', 'disk_encryption', + 'cluster', + 'labels', 'taints', ] @@ -140,34 +146,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( - resource_group_id=dict( + machine_type=dict( required=False, type='str'), - cluster=dict( + entitlement=dict( required=False, type='str'), - machine_type=dict( + hardware=dict( + required=False, + type='str'), + resource_group_id=dict( required=False, type='str'), size_per_zone=dict( required=False, type='int'), - hardware=dict( - required=False, - type='str'), worker_pool_name=dict( required=False, type='str'), - labels=dict( - required=False, - elements='', - type='dict'), - entitlement=dict( + operating_system=dict( required=False, type='str'), disk_encryption=dict( required=False, type='bool'), + cluster=dict( + required=False, + type='str'), + labels=dict( + required=False, + elements='', + type='dict'), taints=dict( required=False, elements='', @@ -223,7 +232,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -232,7 +241,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 27250e724..dae142b9b 100644 --- a/plugins/modules/ibm_container_worker_pool_info.py +++ b/plugins/modules/ibm_container_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 77e127217..0b2ea49e9 100644 --- a/plugins/modules/ibm_container_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_container_worker_pool_zone_attachment.py @@ -18,10 +18,20 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + 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: description: - None @@ -32,11 +42,6 @@ - (Required for new resource) Workerpool name required: True type: str - cluster: - description: - - (Required for new resource) cluster name or ID - required: True - type: str public_vlan_id: description: - None @@ -53,11 +58,6 @@ required: False type: bool default: True - zone: - description: - - (Required for new resource) Zone name - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,20 +84,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('worker_pool', 'str'), - ('cluster', 'str'), ('zone', 'str'), + ('cluster', 'str'), + ('worker_pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'zone', + 'cluster', 'private_vlan_id', 'worker_pool', - 'cluster', 'public_vlan_id', 'resource_group_id', 'wait_till_albs', - 'zone', ] # Params for Data source @@ -114,13 +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( - private_vlan_id=dict( + zone=dict( required=False, type='str'), - worker_pool=dict( + cluster=dict( required=False, type='str'), - cluster=dict( + private_vlan_id=dict( + required=False, + type='str'), + worker_pool=dict( required=False, type='str'), public_vlan_id=dict( @@ -132,9 +135,6 @@ wait_till_albs=dict( required=False, type='bool'), - zone=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_container_worker_pool_zone_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a7dbea8de..afca5550f 100644 --- a/plugins/modules/ibm_cos_bucket.py +++ b/plugins/modules/ibm_cos_bucket.py @@ -18,51 +18,48 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - key_protect: + hard_quota: description: - - CRN of the key you want to use data at rest encryption + - sets a maximum amount of storage (in bytes) available for a bucket required: False - type: str - region_location: + type: int + allowed_ip: description: - - Region Location info. + - List of IPv4 or IPv6 addresses required: False - type: str - retention_rule: + type: list + elements: str + abort_incomplete_multipart_upload_days: description: - - A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. + - Enable abort incomplete multipart upload to COS Bucket after a defined period of time required: False type: list elements: dict - hard_quota: + archive_rule: description: - - sets a maximum amount of storage (in bytes) available for a bucket + - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time required: False - type: int - bucket_name: - description: - - (Required for new resource) COS Bucket name - required: True - type: str - endpoint_type: + type: list + elements: dict + noncurrent_version_expiration: description: - - public or private + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False - type: str - default: public + type: list + elements: dict 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 - metrics_monitoring: + retention_rule: description: - - Enables sending metrics to IBM Cloud Monitoring. + - A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. required: False type: list elements: dict @@ -72,19 +69,41 @@ required: False type: bool default: True + bucket_name: + description: + - (Required for new resource) COS Bucket name + required: True + type: str + key_protect: + description: + - CRN of the key you want to use data at rest encryption + required: False + type: str cross_region_location: description: - Cros region location info required: False type: str - storage_class: + resource_instance_id: description: - - Storage class info + - (Required for new resource) resource instance ID + required: True + type: str + endpoint_type: + description: + - public or private required: False type: str - abort_incomplete_multipart_upload_days: + default: public + metrics_monitoring: description: - - Enable abort incomplete multipart upload to COS Bucket after a defined period of time + - Enables sending metrics to IBM Cloud Monitoring. + required: False + type: list + elements: dict + expire_rule: + description: + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False type: list elements: dict @@ -98,41 +117,22 @@ - single site location info required: False type: str - allowed_ip: - description: - - List of IPv4 or IPv6 addresses - required: False - type: list - elements: str - archive_rule: + region_location: description: - - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time + - Region Location info. required: False - type: list - elements: dict - expire_rule: + type: str + storage_class: description: - - Enable configuration expire_rule to COS Bucket after a defined period of time + - Storage class info required: False - type: list - elements: dict + type: str object_versioning: description: - Protect objects from accidental deletion or overwrites. Versioning allows you to keep multiple versions of an object protecting from unintentional data loss. required: False type: list elements: dict - noncurrent_version_expiration: - description: - - Enable configuration expire_rule to COS Bucket after a defined period of time - required: False - type: list - elements: dict - resource_instance_id: - description: - - (Required for new resource) resource instance ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -185,51 +185,51 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key_protect', - 'region_location', - 'retention_rule', 'hard_quota', - 'bucket_name', - 'endpoint_type', + 'allowed_ip', + 'abort_incomplete_multipart_upload_days', + 'archive_rule', + 'noncurrent_version_expiration', 'activity_tracking', - 'metrics_monitoring', + 'retention_rule', 'force_delete', + 'bucket_name', + 'key_protect', 'cross_region_location', - 'storage_class', - 'abort_incomplete_multipart_upload_days', + 'resource_instance_id', + 'endpoint_type', + 'metrics_monitoring', + 'expire_rule', 'satellite_location_id', 'single_site_location', - 'allowed_ip', - 'archive_rule', - 'expire_rule', + 'region_location', + 'storage_class', 'object_versioning', - 'noncurrent_version_expiration', - 'resource_instance_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('resource_instance_id', 'str'), ('bucket_name', 'str'), + ('resource_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'resource_instance_id', 'bucket_name', + 'endpoint_type', + 'resource_instance_id', 'bucket_type', 'bucket_region', 'satellite_location_id', - 'endpoint_type', ] TL_CONFLICTS_MAP = { - 'region_location': ['cross_region_location', 'single_site_location', 'satellite_location_id'], - 'endpoint_type': ['satellite_location_id'], + 'allowed_ip': ['satellite_location_id'], 'cross_region_location': ['region_location', 'single_site_location', 'satellite_location_id'], - 'storage_class': ['satellite_location_id'], + 'endpoint_type': ['satellite_location_id'], 'satellite_location_id': ['cross_region_location', 'single_site_location', 'region_location'], 'single_site_location': ['region_location', 'cross_region_location', 'satellite_location_id'], - 'allowed_ip': ['satellite_location_id'], + 'region_location': ['cross_region_location', 'single_site_location', 'satellite_location_id'], + 'storage_class': ['satellite_location_id'], 'object_versioning': ['retention_rule'], } @@ -237,57 +237,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( - key_protect=dict( - required=False, - type='str'), - region_location=dict( + hard_quota=dict( required=False, - type='str'), - retention_rule=dict( + type='int'), + allowed_ip=dict( required=False, elements='', type='list'), - hard_quota=dict( + abort_incomplete_multipart_upload_days=dict( required=False, - type='int'), - bucket_name=dict( + elements='', + type='list'), + archive_rule=dict( required=False, - type='str'), - endpoint_type=dict( + elements='', + type='list'), + noncurrent_version_expiration=dict( required=False, - type='str'), + elements='', + type='list'), activity_tracking=dict( required=False, elements='', type='list'), - metrics_monitoring=dict( + retention_rule=dict( required=False, elements='', type='list'), force_delete=dict( required=False, type='bool'), - cross_region_location=dict( + bucket_name=dict( required=False, type='str'), - storage_class=dict( + key_protect=dict( required=False, type='str'), - abort_incomplete_multipart_upload_days=dict( - required=False, - elements='', - type='list'), - satellite_location_id=dict( + cross_region_location=dict( required=False, type='str'), - single_site_location=dict( + resource_instance_id=dict( required=False, type='str'), - allowed_ip=dict( + endpoint_type=dict( required=False, - elements='', - type='list'), - archive_rule=dict( + type='str'), + metrics_monitoring=dict( required=False, elements='', type='list'), @@ -295,17 +290,22 @@ required=False, elements='', type='list'), - object_versioning=dict( + satellite_location_id=dict( required=False, - elements='', - type='list'), - noncurrent_version_expiration=dict( + type='str'), + single_site_location=dict( required=False, - elements='', - type='list'), - resource_instance_id=dict( + type='str'), + region_location=dict( + required=False, + type='str'), + storage_class=dict( required=False, type='str'), + object_versioning=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -371,7 +371,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -380,7 +380,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 90ec8a311..31739f973 100644 --- a/plugins/modules/ibm_cos_bucket_info.py +++ b/plugins/modules/ibm_cos_bucket_info.py @@ -17,16 +17,22 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_instance_id: + bucket_name: description: - None required: True type: str - bucket_name: + endpoint_type: + description: + - public or private + required: False + type: str + default: public + resource_instance_id: description: - None required: True @@ -46,12 +52,6 @@ - None 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 @@ -85,36 +85,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('resource_instance_id', 'str'), ('bucket_name', 'str'), + ('resource_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_instance_id', 'bucket_name', + 'endpoint_type', + 'resource_instance_id', 'bucket_type', 'bucket_region', 'satellite_location_id', - 'endpoint_type', ] TL_CONFLICTS_MAP = { + 'endpoint_type': ['satellite_location_id'], 'bucket_type': ['satellite_location_id'], 'bucket_region': ['satellite_location_id'], 'satellite_location_id': ['bucket_type', 'bucket_region'], - 'endpoint_type': ['satellite_location_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( - resource_instance_id=dict( + bucket_name=dict( required=True, type='str'), - bucket_name=dict( + endpoint_type=dict( + required=False, + type='str'), + resource_instance_id=dict( required=True, type='str'), bucket_type=dict( @@ -126,9 +129,6 @@ satellite_location_id=dict( required=False, type='str'), - endpoint_type=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cos_bucket_object.py b/plugins/modules/ibm_cos_bucket_object.py index cceed3a93..a615d60d6 100644 --- a/plugins/modules/ibm_cos_bucket_object.py +++ b/plugins/modules/ibm_cos_bucket_object.py @@ -18,57 +18,57 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket_object' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - key: + bucket_crn: description: - - (Required for new resource) COS object key + - (Required for new resource) COS bucket CRN required: True type: str - endpoint_type: - description: - - COS endpoint type: public, private, direct - required: False - type: str - default: public - content_file: - description: - - COS object content file path - required: False - type: str bucket_location: description: - (Required for new resource) COS bucket location required: True type: str - etag: + content_base64: description: - - COS object MD5 hexdigest + - COS object content in base64 encoding required: False type: str - bucket_crn: + endpoint_type: description: - - (Required for new resource) COS bucket CRN + - COS endpoint type: public, private, direct + required: False + type: str + default: public + key: + description: + - (Required for new resource) COS object key required: True type: str + force_delete: + description: + - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + required: False + type: bool + default: True content: description: - COS object content required: False type: str - content_base64: + etag: description: - - COS object content in base64 encoding + - COS object MD5 hexdigest required: False type: str - force_delete: + content_file: description: - - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + - COS object content file path required: False - type: bool - default: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,75 +115,75 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('key', 'str'), - ('bucket_location', 'str'), ('bucket_crn', 'str'), + ('bucket_location', 'str'), + ('key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key', - 'endpoint_type', - 'content_file', - 'bucket_location', - 'etag', 'bucket_crn', - 'content', + 'bucket_location', 'content_base64', + 'endpoint_type', + 'key', 'force_delete', + 'content', + 'etag', + 'content_file', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('key', 'str'), - ('bucket_location', 'str'), ('bucket_crn', 'str'), + ('bucket_location', 'str'), + ('key', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'bucket_crn', + 'bucket_location', 'endpoint_type', 'key', - 'bucket_location', - 'bucket_crn', ] TL_CONFLICTS_MAP = { - 'content_file': ['content', 'content_base64'], - 'content': ['content_base64', 'content_file'], 'content_base64': ['content', 'content_file'], + 'content': ['content_base64', 'content_file'], + 'content_file': ['content', 'content_base64'], } # 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=dict( + bucket_crn=dict( required=False, type='str'), - endpoint_type=dict( + bucket_location=dict( required=False, type='str'), - content_file=dict( + content_base64=dict( required=False, type='str'), - bucket_location=dict( + endpoint_type=dict( required=False, type='str'), - etag=dict( + key=dict( required=False, type='str'), - bucket_crn=dict( + force_delete=dict( required=False, - type='str'), + type='bool'), content=dict( required=False, type='str'), - content_base64=dict( + etag=dict( required=False, type='str'), - force_delete=dict( + content_file=dict( required=False, - type='bool'), + type='str'), id=dict( required=False, type='str'), @@ -249,7 +249,7 @@ def run_module(): resource_type='ibm_cos_bucket_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -258,7 +258,7 @@ def run_module(): resource_type='ibm_cos_bucket_object', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_object_info.py b/plugins/modules/ibm_cos_bucket_object_info.py index 75bb2449d..cc50b3c92 100644 --- a/plugins/modules/ibm_cos_bucket_object_info.py +++ b/plugins/modules/ibm_cos_bucket_object_info.py @@ -17,19 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket_object' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - endpoint_type: - description: - - COS endpoint type: public, private, direct - required: False - type: str - default: public - key: + bucket_crn: description: - - COS object key + - COS bucket CRN required: True type: str bucket_location: @@ -37,9 +31,15 @@ - COS bucket location required: True type: str - bucket_crn: + endpoint_type: description: - - COS bucket CRN + - COS endpoint type: public, private, direct + required: False + type: str + default: public + key: + description: + - COS object key required: True type: str iaas_classic_username: @@ -75,17 +75,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('key', 'str'), - ('bucket_location', 'str'), ('bucket_crn', 'str'), + ('bucket_location', 'str'), + ('key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'bucket_crn', + 'bucket_location', 'endpoint_type', 'key', - 'bucket_location', - 'bucket_crn', ] @@ -96,16 +96,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( - endpoint_type=dict( - required=False, - type='str'), - key=dict( + bucket_crn=dict( required=True, type='str'), bucket_location=dict( required=True, type='str'), - bucket_crn=dict( + endpoint_type=dict( + required=False, + type='str'), + key=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_cos_bucket_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cos_bucket_replication_rule.py b/plugins/modules/ibm_cos_bucket_replication_rule.py index add6cb01a..c89c0f8ab 100644 --- a/plugins/modules/ibm_cos_bucket_replication_rule.py +++ b/plugins/modules/ibm_cos_bucket_replication_rule.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket_replication_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cos_bucket_replication_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 265cb6cde..8c5b1d767 100644 --- a/plugins/modules/ibm_cr_namespace.py +++ b/plugins/modules/ibm_cr_namespace.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cr_namespace' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_group_id: + description: + - The ID of the resource group that the namespace will be created within. + required: False + type: str tags: description: - List of tags @@ -33,11 +38,6 @@ - (Required for new resource) The name of the namespace. required: True type: str - resource_group_id: - description: - - The ID of the resource group that the namespace will be created within. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group_id', 'tags', 'name', - 'resource_group_id', ] # Params for Data source @@ -108,6 +108,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( + resource_group_id=dict( + required=False, + type='str'), tags=dict( required=False, elements='', @@ -115,9 +118,6 @@ name=dict( required=False, type='str'), - resource_group_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cr_namespace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ee991b005..1da4eb810 100644 --- a/plugins/modules/ibm_cr_namespaces_info.py +++ b/plugins/modules/ibm_cr_namespaces_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cr_namespaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_cr_namespaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cr_retention_policy.py b/plugins/modules/ibm_cr_retention_policy.py index 4647cc031..7a02a9c08 100644 --- a/plugins/modules/ibm_cr_retention_policy.py +++ b/plugins/modules/ibm_cr_retention_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cr_retention_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cr_retention_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 40b418141..6b197e251 100644 --- a/plugins/modules/ibm_database.py +++ b/plugins/modules/ibm_database.py @@ -18,31 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str - point_in_time_recovery_deployment_id: - description: - - The CRN of source instance - required: False - type: str - whitelist: + group: description: - None required: False type: list elements: dict - plan: + version: description: - - (Required for new resource) The plan type of the Database instance - required: True + - The database version to provision if specified + required: False type: str plan_validation: description: @@ -50,31 +39,32 @@ required: False type: bool default: True - version: + service: description: - - The database version to provision if specified - required: False + - (Required for new resource) The name of the Cloud Internet database service + required: True type: str - remote_leader_id: + point_in_time_recovery_deployment_id: description: - - The CRN of leader database + - The CRN of source instance required: False type: str - point_in_time_recovery_time: + allowlist: description: - - The point in time recovery time stamp of the deployed instance + - None required: False - type: str + type: list + elements: dict auto_scaling: description: - ICD Auto Scaling required: False type: list elements: dict - resource_group_id: + name: description: - - The id of the resource group in which the Database instance is present - required: False + - (Required for new resource) Resource instance name for example, my Database instance + required: True type: str service_endpoints: description: @@ -82,62 +72,72 @@ required: False type: str default: public - key_protect_instance: + adminpassword: description: - - The CRN of Key protect instance + - The admin user password for the instance required: False type: str - users: + configuration: description: - - None + - The configuration in JSON format required: False - type: list - elements: dict - group: + type: str + remote_leader_id: + description: + - The CRN of leader database + required: False + type: str + users: description: - None required: False type: list elements: dict - adminpassword: + resource_group_id: description: - - The admin user password for the instance + - The id of the resource group in which the Database instance is present required: False type: str - configuration: + location: description: - - The configuration in JSON format - required: False + - (Required for new resource) The location or the region in which Database instance exists + required: True type: str backup_id: description: - The CRN of backup source database required: False type: str - name: - description: - - (Required for new resource) Resource instance name for example, my Database instance - required: True - type: str - backup_encryption_key_crn: + key_protect_key: description: - - The Backup Encryption Key CRN + - The CRN of Key protect key required: False type: str - key_protect_key: + point_in_time_recovery_time: description: - - The CRN of Key protect key + - The point in time recovery time stamp of the deployed instance required: False type: str - location: + plan: description: - - (Required for new resource) The location or the region in which Database instance exists + - (Required for new resource) The plan type of the Database instance required: True type: str - service: + tags: description: - - (Required for new resource) The name of the Cloud Internet database service - required: True + - None + required: False + type: list + elements: str + key_protect_instance: + description: + - The CRN of Key protect instance + required: False + type: str + backup_encryption_key_crn: + description: + - The Backup Encryption Key CRN + required: False type: str id: description: @@ -185,36 +185,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('plan', 'str'), + ('service', 'str'), ('name', 'str'), ('location', 'str'), - ('service', 'str'), + ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'point_in_time_recovery_deployment_id', - 'whitelist', - 'plan', - 'plan_validation', + 'group', 'version', - 'remote_leader_id', - 'point_in_time_recovery_time', + 'plan_validation', + 'service', + 'point_in_time_recovery_deployment_id', + 'allowlist', 'auto_scaling', - 'resource_group_id', + 'name', 'service_endpoints', - 'key_protect_instance', - 'users', - 'group', 'adminpassword', 'configuration', + 'remote_leader_id', + 'users', + 'resource_group_id', + 'location', 'backup_id', - 'name', - 'backup_encryption_key_crn', 'key_protect_key', - 'location', - 'service', + 'point_in_time_recovery_time', + 'plan', + 'tags', + 'key_protect_instance', + 'backup_encryption_key_crn', ] # Params for Data source @@ -224,89 +224,90 @@ TL_ALL_PARAMETERS_DS = [ 'location', + 'tags', + 'resource_group_id', 'service', 'name', - 'resource_group_id', - 'tags', ] TL_CONFLICTS_MAP = { 'group': ['members_memory_allocation_mb', 'members_disk_allocation_mb', 'members_cpu_allocation_count', 'node_memory_allocation_mb', 'node_disk_allocation_mb', 'node_cpu_allocation_count', 'node_count'], + 'allowlist': ['whitelist'], } # 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( - tags=dict( - required=False, - elements='', - type='list'), - point_in_time_recovery_deployment_id=dict( - required=False, - type='str'), - whitelist=dict( + group=dict( required=False, elements='', type='list'), - plan=dict( + version=dict( required=False, type='str'), plan_validation=dict( required=False, type='bool'), - version=dict( + service=dict( required=False, type='str'), - remote_leader_id=dict( + point_in_time_recovery_deployment_id=dict( required=False, type='str'), - point_in_time_recovery_time=dict( + allowlist=dict( required=False, - type='str'), + elements='', + type='list'), auto_scaling=dict( required=False, elements='', type='list'), - resource_group_id=dict( + name=dict( required=False, type='str'), service_endpoints=dict( required=False, type='str'), - key_protect_instance=dict( + adminpassword=dict( required=False, type='str'), - users=dict( + configuration=dict( required=False, - elements='', - type='list'), - group=dict( + type='str'), + remote_leader_id=dict( + required=False, + type='str'), + users=dict( required=False, elements='', type='list'), - adminpassword=dict( + resource_group_id=dict( required=False, type='str'), - configuration=dict( + location=dict( required=False, type='str'), backup_id=dict( required=False, type='str'), - name=dict( + key_protect_key=dict( required=False, type='str'), - backup_encryption_key_crn=dict( + point_in_time_recovery_time=dict( required=False, type='str'), - key_protect_key=dict( + plan=dict( required=False, type='str'), - location=dict( + tags=dict( + required=False, + elements='', + type='list'), + key_protect_instance=dict( required=False, type='str'), - service=dict( + backup_encryption_key_crn=dict( required=False, type='str'), id=dict( @@ -374,7 +375,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -383,7 +384,7 @@ def run_module(): resource_type='ibm_database', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_database_backup_info.py b/plugins/modules/ibm_database_backup_info.py index 3e75f6a89..20404aac2 100644 --- a/plugins/modules/ibm_database_backup_info.py +++ b/plugins/modules/ibm_database_backup_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_backup' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_backup', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_backups_info.py b/plugins/modules/ibm_database_backups_info.py index 1a73a0397..6e6a22df4 100644 --- a/plugins/modules/ibm_database_backups_info.py +++ b/plugins/modules/ibm_database_backups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_backups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_database_backups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_connection_info.py b/plugins/modules/ibm_database_connection_info.py index 1251b851a..90297ff60 100644 --- a/plugins/modules/ibm_database_connection_info.py +++ b/plugins/modules/ibm_database_connection_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_database_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - user_type: + user_id: description: - - User type. + - User ID. required: True type: str - endpoint_type: + deployment_id: description: - - Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. + - Deployment ID. required: True type: str - user_id: + user_type: description: - - User ID. + - User type. required: True type: str - deployment_id: + endpoint_type: description: - - Deployment ID. + - Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. required: True type: str iaas_classic_username: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('user_type', 'str'), - ('endpoint_type', 'str'), ('user_id', 'str'), ('deployment_id', 'str'), + ('user_type', 'str'), + ('endpoint_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'user_type', - 'endpoint_type', 'user_id', 'deployment_id', + 'user_type', + 'endpoint_type', ] @@ -96,16 +96,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( - user_type=dict( + user_id=dict( required=True, type='str'), - endpoint_type=dict( + deployment_id=dict( required=True, type='str'), - user_id=dict( + user_type=dict( required=True, type='str'), - deployment_id=dict( + endpoint_type=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_database_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_info.py b/plugins/modules/ibm_database_info.py index 989939c73..15416b968 100644 --- a/plugins/modules/ibm_database_info.py +++ b/plugins/modules/ibm_database_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,6 +26,17 @@ - The location or the region in which the Database instance exists required: False type: str + tags: + description: + - None + 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 service: description: - The name of the Cloud Database service @@ -36,17 +47,6 @@ - Resource instance name for example, my Database instance required: True type: str - resource_group_id: - description: - - The id of the resource group in which the Database instance is present - required: False - type: str - tags: - description: - - None - required: False - type: list - elements: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -86,10 +86,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'location', + 'tags', + 'resource_group_id', 'service', 'name', - 'resource_group_id', - 'tags', ] @@ -103,19 +103,19 @@ location=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + resource_group_id=dict( + required=False, + type='str'), service=dict( required=False, type='str'), name=dict( required=True, type='str'), - resource_group_id=dict( - required=False, - type='str'), - tags=dict( - required=False, - elements='', - type='list'), iaas_classic_username=dict( type='str', no_log=True, @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_point_in_time_recovery_info.py b/plugins/modules/ibm_database_point_in_time_recovery_info.py index 5d9dfa088..6b41fa12b 100644 --- a/plugins/modules/ibm_database_point_in_time_recovery_info.py +++ b/plugins/modules/ibm_database_point_in_time_recovery_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_point_in_time_recovery' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_point_in_time_recovery', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_remotes_info.py b/plugins/modules/ibm_database_remotes_info.py index dcc7aa823..831b0a70d 100644 --- a/plugins/modules/ibm_database_remotes_info.py +++ b/plugins/modules/ibm_database_remotes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_remotes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_remotes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_task_info.py b/plugins/modules/ibm_database_task_info.py index e1bc94d6b..f688ff66f 100644 --- a/plugins/modules/ibm_database_task_info.py +++ b/plugins/modules/ibm_database_task_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_task' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_task', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_tasks_info.py b/plugins/modules/ibm_database_tasks_info.py index 75798568c..a5225101b 100644 --- a/plugins/modules/ibm_database_tasks_info.py +++ b/plugins/modules/ibm_database_tasks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_tasks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_tasks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 53f793bef..f658d61bd 100644 --- a/plugins/modules/ibm_dl_gateway.py +++ b/plugins/modules/ibm_dl_gateway.py @@ -18,28 +18,45 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - bfd_status: + authentication_key: description: - - Gateway BFD status + - BGP MD5 authentication key required: False type: str - loa_reject_reason: + carrier_name: description: - - Loa reject reason + - Carrier name required: False type: str - global_: + macsec_config: description: - - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + - MACsec configuration information + required: False + type: list + elements: dict + as_prepends: + description: + - List of AS Prepend configuration information + required: False + type: list + elements: dict + metered: + description: + - (Required for new resource) Metered billing option required: True type: bool - cross_connect_router: + speed_mbps: description: - - Cross connect router + - (Required for new resource) Gateway speed in megabits per second + required: True + type: int + bgp_base_cidr: + description: + - BGP base CIDR required: False type: str port: @@ -47,55 +64,64 @@ - Gateway port required: False type: str - speed_mbps: + 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 - authentication_key: + type: str + customer_name: description: - - BGP MD5 authentication key + - Customer name required: False type: str - bfd_interval: + loa_reject_reason: description: - - BFD Interval + - Loa reject reason required: False - type: int - metered: + type: str + bgp_asn: description: - - (Required for new resource) Metered billing option + - (Required for new resource) BGP ASN required: True - type: bool - carrier_name: + type: int + type: description: - - Carrier name - required: False + - (Required for new resource) Gateway type + required: True type: str - customer_name: + bgp_ibm_cidr: description: - - Customer name + - BGP IBM CIDR required: False type: str - macsec_config: + resource_group: description: - - MACsec configuration information + - Gateway resource group required: False - type: list - elements: dict + type: str connection_mode: description: - Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection required: False type: str + bfd_status: + description: + - Gateway BFD status + 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: description: - Gateway location required: False type: str - bgp_ibm_cidr: + bgp_cer_cidr: description: - - BGP IBM CIDR + - BGP customer edge router CIDR required: False type: str bfd_multiplier: @@ -103,53 +129,27 @@ - BFD Multiplier required: False type: int - bgp_base_cidr: - description: - - BGP base CIDR - required: False - type: str tags: description: - Tags for the direct link gateway required: False type: list elements: str - as_prepends: - description: - - List of AS Prepend configuration information - required: False - type: list - elements: dict bfd_status_updated_at: description: - Date and time BFD status was updated required: False type: str - bgp_asn: - description: - - (Required for new resource) BGP ASN - required: True - type: int - name: - description: - - (Required for new resource) The unique user-defined name for this gateway - required: True - type: str - type: - description: - - (Required for new resource) Gateway type - required: True - type: str - bgp_cer_cidr: + cross_connect_router: description: - - BGP customer edge router CIDR + - Cross connect router required: False type: str - resource_group: + bfd_interval: description: - - Gateway resource group + - BFD Interval required: False - type: str + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -196,41 +196,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('global_', 'bool'), - ('speed_mbps', 'int'), ('metered', 'bool'), - ('bgp_asn', 'int'), + ('speed_mbps', 'int'), ('name', 'str'), + ('bgp_asn', 'int'), ('type', 'str'), + ('global_', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bfd_status', - 'loa_reject_reason', - 'global_', - 'cross_connect_router', - 'port', - 'speed_mbps', 'authentication_key', - 'bfd_interval', - 'metered', 'carrier_name', - 'customer_name', 'macsec_config', + 'as_prepends', + 'metered', + 'speed_mbps', + 'bgp_base_cidr', + 'port', + 'name', + 'customer_name', + 'loa_reject_reason', + 'bgp_asn', + 'type', + 'bgp_ibm_cidr', + 'resource_group', 'connection_mode', + 'bfd_status', + 'global_', 'location_name', - 'bgp_ibm_cidr', + 'bgp_cer_cidr', 'bfd_multiplier', - 'bgp_base_cidr', 'tags', - 'as_prepends', 'bfd_status_updated_at', - 'bgp_asn', - 'name', - 'type', - 'bgp_cer_cidr', - 'resource_group', + 'cross_connect_router', + 'bfd_interval', ] # Params for Data source @@ -250,84 +250,84 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bfd_status=dict( + authentication_key=dict( required=False, type='str'), - loa_reject_reason=dict( + carrier_name=dict( required=False, type='str'), - global_=dict( + macsec_config=dict( + required=False, + elements='', + type='list'), + as_prepends=dict( + required=False, + elements='', + type='list'), + metered=dict( required=False, type='bool'), - cross_connect_router=dict( + speed_mbps=dict( + required=False, + type='int'), + bgp_base_cidr=dict( required=False, type='str'), port=dict( required=False, type='str'), - speed_mbps=dict( + name=dict( required=False, - type='int'), - authentication_key=dict( + type='str'), + customer_name=dict( required=False, type='str'), - bfd_interval=dict( + loa_reject_reason=dict( required=False, - type='int'), - metered=dict( + type='str'), + bgp_asn=dict( required=False, - type='bool'), - carrier_name=dict( + type='int'), + type=dict( required=False, type='str'), - customer_name=dict( + bgp_ibm_cidr=dict( required=False, type='str'), - macsec_config=dict( + resource_group=dict( required=False, - elements='', - type='list'), + type='str'), connection_mode=dict( required=False, type='str'), + bfd_status=dict( + required=False, + type='str'), + global_=dict( + required=False, + type='bool'), location_name=dict( required=False, type='str'), - bgp_ibm_cidr=dict( + bgp_cer_cidr=dict( required=False, type='str'), bfd_multiplier=dict( required=False, type='int'), - bgp_base_cidr=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - as_prepends=dict( - required=False, - elements='', - type='list'), bfd_status_updated_at=dict( required=False, type='str'), - bgp_asn=dict( - required=False, - type='int'), - name=dict( - required=False, - type='str'), - type=dict( - required=False, - type='str'), - bgp_cer_cidr=dict( + cross_connect_router=dict( required=False, type='str'), - resource_group=dict( + bfd_interval=dict( required=False, - type='str'), + type='int'), id=dict( required=False, type='str'), @@ -393,7 +393,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -402,7 +402,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 11f165174..2fc434052 100644 --- a/plugins/modules/ibm_dl_gateway_info.py +++ b/plugins/modules/ibm_dl_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e35e0fd45..be04d4bd9 100644 --- a/plugins/modules/ibm_dl_gateways_info.py +++ b/plugins/modules/ibm_dl_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_dl_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 91f159bd3..b20ea0833 100644 --- a/plugins/modules/ibm_dl_locations_info.py +++ b/plugins/modules/ibm_dl_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7589bd89a..0f9d1b02a 100644 --- a/plugins/modules/ibm_dl_offering_speeds_info.py +++ b/plugins/modules/ibm_dl_offering_speeds_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_offering_speeds' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_offering_speeds', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d5e460429..96c7455b1 100644 --- a/plugins/modules/ibm_dl_port_info.py +++ b/plugins/modules/ibm_dl_port_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 cdd2e28a8..b52fa5e2d 100644 --- a/plugins/modules/ibm_dl_ports_info.py +++ b/plugins/modules/ibm_dl_ports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_ports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_dl_ports', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d9e3fc704..f157ca425 100644 --- a/plugins/modules/ibm_dl_provider_gateway.py +++ b/plugins/modules/ibm_dl_provider_gateway.py @@ -18,31 +18,41 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - customer_account_id: + bgp_cer_cidr: 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: True + - BGP customer edge router CIDR + required: False type: str - vlan: + name: description: - - VLAN allocated for this gateway - required: False - type: int + - (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: + bgp_asn: description: - - BGP customer edge router CIDR - required: False + - (Required for new resource) BGP ASN + required: True + type: int + customer_account_id: + 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: True type: str + vlan: + description: + - VLAN allocated for this gateway + required: False + type: int bgp_ibm_cidr: description: - BGP IBM CIDR @@ -53,21 +63,11 @@ - (Required for new resource) Gateway port required: True type: str - name: - description: - - (Required for new resource) The unique user-defined name for this gateway - required: True - type: str speed_mbps: description: - (Required for new resource) Gateway speed in megabits per second required: True type: int - bgp_asn: - description: - - (Required for new resource) BGP ASN - required: True - type: int 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'), + ('bgp_asn', 'int'), ('customer_account_id', 'str'), ('port', 'str'), - ('name', 'str'), ('speed_mbps', 'int'), - ('bgp_asn', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'bgp_cer_cidr', + 'name', + 'tags', + 'bgp_asn', 'customer_account_id', 'vlan', - 'tags', - 'bgp_cer_cidr', 'bgp_ibm_cidr', 'port', - 'name', 'speed_mbps', - 'bgp_asn', ] # 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( - customer_account_id=dict( + bgp_cer_cidr=dict( required=False, type='str'), - vlan=dict( + name=dict( required=False, - type='int'), + type='str'), tags=dict( required=False, elements='', type='list'), - bgp_cer_cidr=dict( + bgp_asn=dict( + required=False, + type='int'), + customer_account_id=dict( required=False, type='str'), + vlan=dict( + required=False, + type='int'), bgp_ibm_cidr=dict( required=False, type='str'), port=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), speed_mbps=dict( required=False, type='int'), - bgp_asn=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_dl_provider_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ef34521ac..ec0f5cced 100644 --- a/plugins/modules/ibm_dl_provider_gateways_info.py +++ b/plugins/modules/ibm_dl_provider_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_provider_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_dl_provider_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 54be2989a..54196b854 100644 --- a/plugins/modules/ibm_dl_provider_ports_info.py +++ b/plugins/modules/ibm_dl_provider_ports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_provider_ports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_dl_provider_ports', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_route_report.py b/plugins/modules/ibm_dl_route_report.py index b91ff5553..d0f81e5c7 100644 --- a/plugins/modules/ibm_dl_route_report.py +++ b/plugins/modules/ibm_dl_route_report.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_route_report' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_dl_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_dl_route_report', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dl_route_report_info.py b/plugins/modules/ibm_dl_route_report_info.py index d5b2c69a4..ea5bc8071 100644 --- a/plugins/modules/ibm_dl_route_report_info.py +++ b/plugins/modules/ibm_dl_route_report_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_route_report' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dl_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_route_reports_info.py b/plugins/modules/ibm_dl_route_reports_info.py index af0b4923c..8b29a9e91 100644 --- a/plugins/modules/ibm_dl_route_reports_info.py +++ b/plugins/modules/ibm_dl_route_reports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_route_reports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_route_reports', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a94601c63..d3a81e486 100644 --- a/plugins/modules/ibm_dl_routers_info.py +++ b/plugins/modules/ibm_dl_routers_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_dl_routers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - location_name: + offering_type: description: - - The name of the Direct Link location + - The Direct Link offering type required: True type: str - offering_type: + location_name: description: - - The Direct Link offering type + - The name of the Direct Link location required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location_name', 'str'), ('offering_type', 'str'), + ('location_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location_name', 'offering_type', + 'location_name', ] @@ -82,10 +82,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( - location_name=dict( + offering_type=dict( required=True, type='str'), - offering_type=dict( + location_name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dl_routers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d058b3c54..938150b5a 100644 --- a/plugins/modules/ibm_dl_virtual_connection.py +++ b/plugins/modules/ibm_dl_virtual_connection.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + type: + description: + - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) + required: True + type: str network_id: description: - Unique identifier of the target network. For type=vpc virtual connections this is the CRN of the target VPC. This field does not apply to type=classic connections. @@ -32,11 +37,6 @@ - (Required for new resource) The Direct Link gateway identifier required: True type: str - type: - description: - - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) - required: True - type: str name: description: - (Required for new resource) The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute @@ -88,16 +88,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('gateway', 'str'), ('type', 'str'), + ('gateway', 'str'), ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'type', 'network_id', 'gateway', - 'type', 'name', ] @@ -115,13 +115,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( - network_id=dict( + type=dict( required=False, type='str'), - gateway=dict( + network_id=dict( required=False, type='str'), - type=dict( + gateway=dict( required=False, type='str'), name=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_dl_virtual_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver.py b/plugins/modules/ibm_dns_custom_resolver.py index c1ec4eb9b..ef9eed4fe 100644 --- a/plugins/modules/ibm_dns_custom_resolver.py +++ b/plugins/modules/ibm_dns_custom_resolver.py @@ -18,29 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of the custom resolver - required: True - type: str - description: + high_availability: description: - - Descriptive text of the custom resolver. + - Whether High Availability is enabled in custom resolver required: False - type: str + type: bool + default: True locations: description: - Locations on which the custom resolver will be running required: False type: list elements: dict - instance_id: + name: description: - - (Required for new resource) Instance ID + - (Required for new resource) Name of the custom resolver required: True type: str enabled: @@ -49,12 +45,16 @@ required: False type: bool default: True - high_availability: + instance_id: description: - - Whether High Availability is enabled in custom resolver + - (Required for new resource) Instance ID + required: True + type: str + description: + description: + - Descriptive text of the custom resolver. required: False - type: bool - default: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,12 +107,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'description', + 'high_availability', 'locations', - 'instance_id', + 'name', 'enabled', - 'high_availability', + 'instance_id', + 'description', ] # Params for Data source @@ -129,25 +129,25 @@ 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'), - description=dict( + high_availability=dict( required=False, - type='str'), + type='bool'), locations=dict( required=False, elements='', type='list'), - instance_id=dict( + name=dict( required=False, type='str'), enabled=dict( required=False, type='bool'), - high_availability=dict( + instance_id=dict( required=False, - type='bool'), + type='str'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py b/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py index 431068dba..6a4be26d4 100644 --- a/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py +++ b/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver_forwarding_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + instance_id: + description: + - (Required for new resource) The unique identifier of a service instance. + required: True + type: str + resolver_id: + description: + - (Required for new resource) The unique identifier of a custom resolver. + required: True + type: str description: description: - Descriptive text of the forwarding rule. @@ -43,16 +53,6 @@ required: False type: list elements: str - instance_id: - description: - - (Required for new resource) The unique identifier of a service instance. - required: True - type: str - resolver_id: - description: - - (Required for new resource) The unique identifier of a custom resolver. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,12 +105,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_id', + 'resolver_id', 'description', 'type', 'match', 'forward_to', - 'instance_id', - 'resolver_id', ] # Params for Data source @@ -127,6 +127,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( + instance_id=dict( + required=False, + type='str'), + resolver_id=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -140,12 +146,6 @@ required=False, elements='', type='list'), - instance_id=dict( - required=False, - type='str'), - resolver_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_forwarding_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py b/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py index 08d5bd522..04ba70f3d 100644 --- a/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py +++ b/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolver_forwarding_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_forwarding_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_location.py b/plugins/modules/ibm_dns_custom_resolver_location.py index e71bc899b..2198b1646 100644 --- a/plugins/modules/ibm_dns_custom_resolver_location.py +++ b/plugins/modules/ibm_dns_custom_resolver_location.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver_location' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_location', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py b/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py index de5d3db78..f0d520678 100644 --- a/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py +++ b/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver_secondary_zone' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,27 +27,27 @@ - (Required for new resource) The unique identifier of a service instance. required: True type: str + resolver_id: + description: + - (Required for new resource) The unique identifier of a custom resolver. + required: True + type: str zone: description: - (Required for new resource) The name of the zone. required: True type: str - resolver_id: + enabled: description: - - (Required for new resource) The unique identifier of a custom resolver. + - (Required for new resource) Enable/Disable the secondary zone required: True - type: str + type: bool transfer_from: description: - (Required for new resource) The addresses of DNS servers where the secondary zone data should be transferred from required: True type: list elements: str - enabled: - description: - - (Required for new resource) Enable/Disable the secondary zone - required: True - type: bool description: description: - Descriptive text of the secondary zone @@ -100,19 +100,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), - ('zone', 'str'), ('resolver_id', 'str'), - ('transfer_from', 'list'), + ('zone', 'str'), ('enabled', 'bool'), + ('transfer_from', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_id', - 'zone', 'resolver_id', - 'transfer_from', + 'zone', 'enabled', + 'transfer_from', 'description', ] @@ -133,19 +133,19 @@ instance_id=dict( required=False, type='str'), - zone=dict( + resolver_id=dict( required=False, type='str'), - resolver_id=dict( + zone=dict( required=False, type='str'), + enabled=dict( + required=False, + type='bool'), transfer_from=dict( required=False, elements='', type='list'), - enabled=dict( - required=False, - type='bool'), description=dict( required=False, type='str'), @@ -214,7 +214,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_secondary_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py b/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py index ca7e2994e..69b09d0a6 100644 --- a/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py +++ b/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolver_secondary_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_secondary_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolvers_info.py b/plugins/modules/ibm_dns_custom_resolvers_info.py index 1f2fc2078..30ca570bc 100644 --- a/plugins/modules/ibm_dns_custom_resolvers_info.py +++ b/plugins/modules/ibm_dns_custom_resolvers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolvers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_custom_resolvers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 630720298..d0bf7203e 100644 --- a/plugins/modules/ibm_dns_domain.py +++ b/plugins/modules/ibm_dns_domain.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a20ebfbbd..340cb480d 100644 --- a/plugins/modules/ibm_dns_domain_info.py +++ b/plugins/modules/ibm_dns_domain_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 1f40741e0..2f8977bb2 100644 --- a/plugins/modules/ibm_dns_domain_registration_info.py +++ b/plugins/modules/ibm_dns_domain_registration_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_domain_registration' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_domain_registration', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 435c15cd5..17d80315e 100644 --- a/plugins/modules/ibm_dns_domain_registration_nameservers.py +++ b/plugins/modules/ibm_dns_domain_registration_nameservers.py @@ -18,21 +18,21 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + dns_registration_id: + description: + - (Required for new resource) DNS registration ID + required: True + type: str name_servers: description: - (Required for new resource) Custom name servers for the domain registration required: True type: list elements: str - dns_registration_id: - description: - - (Required for new resource) DNS registration ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,14 +79,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name_servers', 'list'), ('dns_registration_id', 'str'), + ('name_servers', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name_servers', 'dns_registration_id', + 'name_servers', ] # 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( + dns_registration_id=dict( + required=False, + type='str'), name_servers=dict( required=False, elements='', type='list'), - dns_registration_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_dns_domain_registration_nameservers', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e5c0cdb4f..4a34cab30 100644 --- a/plugins/modules/ibm_dns_glb.py +++ b/plugins/modules/ibm_dns_glb.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + az_pools: + description: + - Map availability zones to pool ID's. + required: False + type: list + elements: dict instance_id: description: - (Required for new resource) The GUID of the private DNS. @@ -32,6 +38,11 @@ - (Required for new resource) Zone Id required: True type: str + name: + description: + - (Required for new resource) Name of the load balancer + required: True + type: str description: description: - Descriptive text of the load balancer @@ -48,28 +59,17 @@ required: False type: int default: 60 - default_pools: - description: - - (Required for new resource) A list of pool IDs ordered by their failover priority - required: True - type: list - elements: str - name: - description: - - (Required for new resource) Name of the load balancer - required: True - type: str fallback_pool: description: - (Required for new resource) The pool ID to use when all other pools are detected as unhealthy required: True type: str - az_pools: + default_pools: description: - - Map availability zones to pool ID's. - required: False + - (Required for new resource) A list of pool IDs ordered by their failover priority + required: True type: list - elements: dict + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -118,22 +118,22 @@ TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), ('zone_id', 'str'), - ('default_pools', 'list'), ('name', 'str'), ('fallback_pool', 'str'), + ('default_pools', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'az_pools', 'instance_id', 'zone_id', + 'name', 'description', 'enabled', 'ttl', - 'default_pools', - 'name', 'fallback_pool', - 'az_pools', + 'default_pools', ] # Params for Data source @@ -150,12 +150,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( + az_pools=dict( + required=False, + elements='', + type='list'), instance_id=dict( required=False, type='str'), zone_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -165,17 +172,10 @@ ttl=dict( required=False, type='int'), - default_pools=dict( - required=False, - elements='', - type='list'), - name=dict( - required=False, - type='str'), fallback_pool=dict( required=False, type='str'), - az_pools=dict( + default_pools=dict( required=False, elements='', type='list'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_dns_glb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 93bc01818..6bed97084 100644 --- a/plugins/modules/ibm_dns_glb_monitor.py +++ b/plugins/modules/ibm_dns_glb_monitor.py @@ -18,57 +18,45 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + allow_insecure: description: - - (Required for new resource) The unique identifier of a service instance. - required: True - type: str + - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + required: False + type: bool description: description: - Descriptive text of the load balancer monitor required: False type: str - expected_codes: + port: description: - - The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS + - Port number to connect to for the health check required: False - type: str - instance_id: - description: - - (Required for new resource) Instance Id - required: True - type: str + type: int timeout: description: - The timeout (in seconds) before marking the health check as failed required: False type: int default: 5 - headers: - description: - - The HTTP request headers to send in the health check - required: False - type: list - elements: dict - allow_insecure: + expected_body: description: - - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + - A case-insensitive sub-string to look for in the response body required: False - type: bool - interval: + type: str + instance_id: description: - - The interval between each health check - required: False - type: int - default: 60 - method: + - (Required for new resource) Instance Id + required: True + type: str + name: description: - - The method to use for the health check - required: False + - (Required for new resource) The unique identifier of a service instance. + required: True type: str type: description: @@ -76,27 +64,39 @@ required: False type: str default: HTTP - retries: + method: description: - - The number of retries to attempt in case of a timeout before marking the origin as unhealthy + - The method to use for the health check + required: False + type: str + interval: + description: + - The interval between each health check required: False type: int - default: 1 + default: 60 path: description: - The endpoint path to health check against required: False type: str - expected_body: + expected_codes: description: - - A case-insensitive sub-string to look for in the response body + - 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 - port: + retries: description: - - Port number to connect to for the health check + - The number of retries to attempt in case of a timeout before marking the origin as unhealthy required: False type: int + default: 1 + headers: + description: + - The HTTP request headers to send in the health check + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -143,26 +143,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'allow_insecure', 'description', - 'expected_codes', - 'instance_id', + 'port', 'timeout', - 'headers', - 'allow_insecure', - 'interval', - 'method', + 'expected_body', + 'instance_id', + 'name', 'type', - 'retries', + 'method', + 'interval', 'path', - 'expected_body', - 'port', + 'expected_codes', + 'retries', + 'headers', ] # Params for Data source @@ -179,49 +179,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( - name=dict( + allow_insecure=dict( required=False, - type='str'), + type='bool'), description=dict( required=False, type='str'), - expected_codes=dict( - required=False, - type='str'), - instance_id=dict( + port=dict( required=False, - type='str'), + type='int'), timeout=dict( required=False, type='int'), - headers=dict( - required=False, - elements='', - type='list'), - allow_insecure=dict( + expected_body=dict( required=False, - type='bool'), - interval=dict( + type='str'), + instance_id=dict( required=False, - type='int'), - method=dict( + type='str'), + name=dict( required=False, type='str'), type=dict( required=False, type='str'), - retries=dict( + method=dict( + required=False, + type='str'), + interval=dict( required=False, type='int'), path=dict( required=False, type='str'), - expected_body=dict( + expected_codes=dict( required=False, type='str'), - port=dict( + retries=dict( required=False, type='int'), + headers=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_dns_glb_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fb7eb29a0..abf3428eb 100644 --- a/plugins/modules/ibm_dns_glb_monitors_info.py +++ b/plugins/modules/ibm_dns_glb_monitors_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glb_monitors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_glb_monitors', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fc4b08835..c8c7005ba 100644 --- a/plugins/modules/ibm_dns_glb_pool.py +++ b/plugins/modules/ibm_dns_glb_pool.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,16 +27,11 @@ - The notification channel,It is a webhook url required: False type: str - healthcheck_region: + description: description: - - Health check region of VSIs + - Descriptive text of the load balancer pool required: False type: str - instance_id: - description: - - (Required for new resource) Instance Id - required: True - type: str healthcheck_subnets: description: - Health check subnet crn of VSIs @@ -48,11 +43,21 @@ - (Required for new resource) The unique identifier of a service instance. required: True type: str + instance_id: + description: + - (Required for new resource) Instance Id + required: True + type: str enabled: description: - Whether the load balancer pool is enabled required: False type: bool + 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 @@ -64,14 +69,9 @@ - The ID of the load balancer monitor to be associated to this pool required: False 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 - description: + healthcheck_region: description: - - Descriptive text of the load balancer pool + - Health check region of VSIs required: False type: str id: @@ -120,23 +120,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('name', 'str'), + ('instance_id', 'str'), ('origins', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'notification_channel', - 'healthcheck_region', - 'instance_id', + 'description', 'healthcheck_subnets', 'name', + 'instance_id', 'enabled', + 'healthy_origins_threshold', 'origins', 'monitor', - 'healthy_origins_threshold', - 'description', + 'healthcheck_region', ] # Params for Data source @@ -156,10 +156,7 @@ notification_channel=dict( required=False, type='str'), - healthcheck_region=dict( - required=False, - type='str'), - instance_id=dict( + description=dict( required=False, type='str'), healthcheck_subnets=dict( @@ -169,9 +166,15 @@ name=dict( required=False, type='str'), + instance_id=dict( + required=False, + type='str'), enabled=dict( required=False, type='bool'), + healthy_origins_threshold=dict( + required=False, + type='int'), origins=dict( required=False, elements='', @@ -179,10 +182,7 @@ monitor=dict( required=False, type='str'), - healthy_origins_threshold=dict( - required=False, - type='int'), - description=dict( + healthcheck_region=dict( required=False, type='str'), id=dict( @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_dns_glb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 759ba5fe7..e4bdf6314 100644 --- a/plugins/modules/ibm_dns_glb_pools_info.py +++ b/plugins/modules/ibm_dns_glb_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glb_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_glb_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 1fd9a95b2..6078f6d36 100644 --- a/plugins/modules/ibm_dns_glbs_info.py +++ b/plugins/modules/ibm_dns_glbs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glbs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_glbs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e9c4fc2de..e19f17a46 100644 --- a/plugins/modules/ibm_dns_permitted_network.py +++ b/plugins/modules/ibm_dns_permitted_network.py @@ -18,15 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - zone_id: - description: - - (Required for new resource) Zone Id - required: True - type: str type: description: - Network Type @@ -43,6 +38,11 @@ - (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. @@ -89,17 +89,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone_id', 'str'), ('vpc_crn', 'str'), ('instance_id', 'str'), + ('zone_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone_id', 'type', 'vpc_crn', 'instance_id', + 'zone_id', ] # 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( - zone_id=dict( - required=False, - type='str'), type=dict( required=False, type='str'), @@ -128,6 +125,9 @@ instance_id=dict( required=False, type='str'), + zone_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_dns_permitted_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 43267224e..7b271965b 100644 --- a/plugins/modules/ibm_dns_permitted_networks_info.py +++ b/plugins/modules/ibm_dns_permitted_networks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_permitted_networks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_permitted_networks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2a69c9d99..a4dc1ce68 100644 --- a/plugins/modules/ibm_dns_record.py +++ b/plugins/modules/ibm_dns_record.py @@ -18,86 +18,70 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - type: + ttl: description: - - (Required for new resource) DNS record type + - (Required for new resource) TTL configuration required: True - type: str + type: int port: description: - port number required: False type: int - tags: - description: - - tags set for the resource - required: False - type: list - elements: str - domain_id: - description: - - (Required for new resource) Domain ID of dns record instance - required: True - type: int - retry: + priority: description: - - Retry count + - priority info required: False type: int - minimum_ttl: + default: 0 + mx_priority: description: - - Minimun TTL configuration + - Maximum priority required: False type: int - ttl: - description: - - (Required for new resource) TTL configuration - required: True - type: int - weight: + default: 0 + refresh: description: - - weight info + - refresh rate required: False type: int - default: 0 - expire: + responsible_person: description: - - DNS record expiry info + - Responsible person for DNS record required: False - type: int - refresh: + type: str + minimum_ttl: description: - - refresh rate + - Minimun TTL configuration required: False type: int - mx_priority: + domain_id: description: - - Maximum priority - required: False + - (Required for new resource) Domain ID of dns record instance + required: True type: int - default: 0 - service: + type: description: - - service info - required: False + - (Required for new resource) DNS record type + required: True type: str - responsible_person: + protocol: description: - - Responsible person for DNS record + - protocol info required: False type: str - protocol: + service: description: - - protocol info + - service info required: False type: str - priority: + weight: description: - - priority info + - weight info required: False type: int default: 0 @@ -106,11 +90,27 @@ - (Required for new resource) DNS record data required: True type: str + expire: + description: + - DNS record expiry info + required: False + type: int host: description: - (Required for new resource) Hostname required: True type: str + retry: + description: + - Retry count + required: False + type: int + 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. @@ -157,32 +157,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), - ('domain_id', 'int'), ('ttl', 'int'), + ('domain_id', 'int'), + ('type', 'str'), ('data', 'str'), ('host', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'port', - 'tags', - 'domain_id', - 'retry', - 'minimum_ttl', 'ttl', - 'weight', - 'expire', - 'refresh', + 'port', + 'priority', 'mx_priority', - 'service', + 'refresh', 'responsible_person', + 'minimum_ttl', + 'domain_id', + 'type', 'protocol', - 'priority', + 'service', + 'weight', 'data', + 'expire', 'host', + 'retry', + 'tags', ] # Params for Data source @@ -199,58 +199,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( - type=dict( - required=False, - type='str'), - port=dict( - required=False, - type='int'), - tags=dict( - required=False, - elements='', - type='list'), - domain_id=dict( + ttl=dict( required=False, type='int'), - retry=dict( + port=dict( required=False, type='int'), - minimum_ttl=dict( + priority=dict( required=False, type='int'), - ttl=dict( + mx_priority=dict( required=False, type='int'), - weight=dict( + refresh=dict( required=False, type='int'), - expire=dict( + responsible_person=dict( required=False, - type='int'), - refresh=dict( + type='str'), + minimum_ttl=dict( required=False, type='int'), - mx_priority=dict( + domain_id=dict( required=False, type='int'), - service=dict( + type=dict( required=False, type='str'), - responsible_person=dict( + protocol=dict( required=False, type='str'), - protocol=dict( + service=dict( required=False, type='str'), - priority=dict( + weight=dict( required=False, type='int'), data=dict( required=False, type='str'), + expire=dict( + required=False, + type='int'), host=dict( required=False, type='str'), + retry=dict( + required=False, + type='int'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -316,7 +316,7 @@ def run_module(): resource_type='ibm_dns_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9bd71d59b..7e3245cef 100644 --- a/plugins/modules/ibm_dns_resource_record.py +++ b/plugins/modules/ibm_dns_resource_record.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,27 +27,6 @@ - (Required for new resource) Instance ID required: True type: str - type: - description: - - (Required for new resource) DNS record Type - required: True - type: str - preference: - description: - - DNS maximum preference - required: False - type: int - default: 0 - service: - description: - - Service info - required: False - type: str - zone_id: - description: - - (Required for new resource) Zone ID - required: True - type: str name: description: - (Required for new resource) DNS record name @@ -58,34 +37,55 @@ - (Required for new resource) DNS record Data required: True type: str + zone_id: + description: + - (Required for new resource) Zone ID + required: True + type: str priority: description: - DNS server Priority required: False type: int default: 0 + service: + description: + - Service info + required: False + type: str + protocol: + description: + - Protocol + required: False + type: str ttl: description: - DNS record TTL required: False type: int default: 900 + preference: + description: + - DNS maximum preference + required: False + type: int + default: 0 port: description: - DNS server Port required: False type: int + type: + description: + - (Required for new resource) DNS record Type + required: True + type: str weight: description: - DNS server weight required: False type: int default: 0 - protocol: - description: - - Protocol - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -133,26 +133,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), - ('type', 'str'), - ('zone_id', 'str'), ('name', 'str'), ('rdata', 'str'), + ('zone_id', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_id', - 'type', - 'preference', - 'service', - 'zone_id', 'name', 'rdata', + 'zone_id', 'priority', + 'service', + 'protocol', 'ttl', + 'preference', 'port', + 'type', 'weight', - 'protocol', ] # Params for Data source @@ -172,39 +172,39 @@ instance_id=dict( required=False, type='str'), - type=dict( + name=dict( required=False, type='str'), - preference=dict( - required=False, - type='int'), - service=dict( + rdata=dict( required=False, type='str'), zone_id=dict( required=False, type='str'), - name=dict( + priority=dict( + required=False, + type='int'), + service=dict( required=False, type='str'), - rdata=dict( + protocol=dict( required=False, type='str'), - priority=dict( + ttl=dict( required=False, type='int'), - ttl=dict( + preference=dict( required=False, type='int'), port=dict( required=False, type='int'), + type=dict( + required=False, + type='str'), weight=dict( required=False, type='int'), - protocol=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_dns_resource_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e5a3b5865..cbe02e973 100644 --- a/plugins/modules/ibm_dns_resource_records_info.py +++ b/plugins/modules/ibm_dns_resource_records_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_dns_resource_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - zone_id: + instance_id: description: - - Zone Id + - Instance ID required: True type: str - instance_id: + zone_id: description: - - Instance ID + - Zone Id required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone_id', 'str'), ('instance_id', 'str'), + ('zone_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone_id', 'instance_id', + 'zone_id', ] @@ -82,10 +82,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( - zone_id=dict( + instance_id=dict( required=True, type='str'), - instance_id=dict( + zone_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_resource_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a6a6d88c4..e39cb6ff6 100644 --- a/plugins/modules/ibm_dns_reverse_record.py +++ b/plugins/modules/ibm_dns_reverse_record.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_dns_reverse_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 49de8d9de..a56c9d0d7 100644 --- a/plugins/modules/ibm_dns_secondary.py +++ b/plugins/modules/ibm_dns_secondary.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_secondary' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_dns_secondary', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 aafb82c6b..79abd4cc1 100644 --- a/plugins/modules/ibm_dns_secondary_info.py +++ b/plugins/modules/ibm_dns_secondary_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_secondary' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 76389ed16..643982fb2 100644 --- a/plugins/modules/ibm_dns_zone.py +++ b/plugins/modules/ibm_dns_zone.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_zone' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - label: - description: - - Label - required: False - type: str - instance_id: - description: - - (Required for new resource) Instance ID - required: True - type: str name: description: - (Required for new resource) Zone name @@ -42,6 +32,16 @@ - Zone description required: False type: str + label: + description: + - Label + required: False + type: str + instance_id: + description: + - (Required for new resource) Instance ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,16 +88,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('name', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'label', - 'instance_id', 'name', 'description', + 'label', + 'instance_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( - label=dict( + name=dict( required=False, type='str'), - instance_id=dict( + description=dict( required=False, type='str'), - name=dict( + label=dict( required=False, type='str'), - description=dict( + instance_id=dict( required=False, type='str'), id=dict( @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_dns_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 520ba624d..f26d69992 100644 --- a/plugins/modules/ibm_dns_zones_info.py +++ b/plugins/modules/ibm_dns_zones_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination.py b/plugins/modules/ibm_en_destination.py index 6827de32b..2b781bbd2 100644 --- a/plugins/modules/ibm_en_destination.py +++ b/plugins/modules/ibm_en_destination.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -110,13 +110,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('destination_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'destination_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_android.py b/plugins/modules/ibm_en_destination_android.py index e3c08baf2..a22a68f4b 100644 --- a/plugins/modules/ibm_en_destination_android.py +++ b/plugins/modules/ibm_en_destination_android.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_android' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) The type of Destination push_android. - required: True - type: str - config: - description: - - Payload describing a destination configuration. - required: False - type: list - elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -43,11 +32,22 @@ - (Required for new resource) The Destintion name. required: True type: str + type: + description: + - (Required for new resource) The type of Destination push_android. + required: True + type: str description: description: - The Destination description. required: False type: str + config: + description: + - Payload describing a destination configuration. + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,18 +94,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), ('instance_guid', 'str'), ('name', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'config', 'instance_guid', 'name', + 'type', 'description', + 'config', ] # Params for Data source @@ -126,22 +126,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( - type=dict( - required=False, - type='str'), - config=dict( - required=False, - elements='', - type='list'), instance_guid=dict( required=False, type='str'), name=dict( required=False, type='str'), + type=dict( + required=False, + type='str'), description=dict( required=False, type='str'), + config=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_android_info.py b/plugins/modules/ibm_en_destination_android_info.py index d22e13ce2..2a8b990cf 100644 --- a/plugins/modules/ibm_en_destination_android_info.py +++ b/plugins/modules/ibm_en_destination_android_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_android' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_chrome.py b/plugins/modules/ibm_en_destination_chrome.py index 87ae97fa2..12bc1032d 100644 --- a/plugins/modules/ibm_en_destination_chrome.py +++ b/plugins/modules/ibm_en_destination_chrome.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,16 +27,6 @@ - (Required for new resource) The Destintion name. required: True type: str - type: - description: - - (Required for new resource) The type of Destination type push_chrome. - required: True - type: str - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str description: description: - The Destination description. @@ -48,6 +38,16 @@ required: False type: list elements: dict + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + type: + description: + - (Required for new resource) The type of Destination type push_chrome. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,17 +95,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('type', 'str'), ('instance_guid', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'type', - 'instance_guid', 'description', 'config', + 'instance_guid', + 'type', ] # Params for Data source @@ -129,12 +129,6 @@ name=dict( required=False, type='str'), - type=dict( - required=False, - type='str'), - instance_guid=dict( - required=False, - type='str'), description=dict( required=False, type='str'), @@ -142,6 +136,12 @@ required=False, elements='', type='list'), + instance_guid=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_chrome', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_chrome_info.py b/plugins/modules/ibm_en_destination_chrome_info.py index 56f3b29e5..27eb1ca12 100644 --- a/plugins/modules/ibm_en_destination_chrome_info.py +++ b/plugins/modules/ibm_en_destination_chrome_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_chrome' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_firefox.py b/plugins/modules/ibm_en_destination_firefox.py index e642e3957..cdfdd0f86 100644 --- a/plugins/modules/ibm_en_destination_firefox.py +++ b/plugins/modules/ibm_en_destination_firefox.py @@ -18,15 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_firefox' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) The Destintion name. + required: True + type: str type: description: - (Required for new resource) The type of Destination type push_firefox. required: True type: str + description: + description: + - The Destination description. + required: False + type: str config: description: - Payload describing a destination configuration. @@ -38,16 +48,6 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - name: - description: - - (Required for new resource) The Destintion name. - required: True - type: str - description: - description: - - The Destination description. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,18 +94,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('type', 'str'), ('instance_guid', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'type', + 'description', 'config', 'instance_guid', - 'name', - 'description', ] # Params for Data source @@ -126,9 +126,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'), type=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), config=dict( required=False, elements='', @@ -136,12 +142,6 @@ instance_guid=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), - description=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_firefox', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_firefox_info.py b/plugins/modules/ibm_en_destination_firefox_info.py index 215070818..5681f4b13 100644 --- a/plugins/modules/ibm_en_destination_firefox_info.py +++ b/plugins/modules/ibm_en_destination_firefox_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_firefox' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_info.py b/plugins/modules/ibm_en_destination_info.py index 54b704440..a14c4010d 100644 --- a/plugins/modules/ibm_en_destination_info.py +++ b/plugins/modules/ibm_en_destination_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_guid: + destination_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Destination. required: True type: str - destination_id: + instance_guid: description: - - Unique identifier for Destination. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('destination_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'destination_id', + 'instance_guid', ] @@ -82,10 +82,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_guid=dict( + destination_id=dict( required=True, type='str'), - destination_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_ios.py b/plugins/modules/ibm_en_destination_ios.py index 4c14192d8..35d2f8d92 100644 --- a/plugins/modules/ibm_en_destination_ios.py +++ b/plugins/modules/ibm_en_destination_ios.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_ios' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + type: + description: + - (Required for new resource) The type of Destination type push_ios. + required: True + type: str description: description: - The Destination description. @@ -32,6 +42,11 @@ - (Required for new resource) The Certificate Content Type to be set p8/p12. required: True type: str + name: + description: + - (Required for new resource) The Destintion name. + required: True + type: str certificate: description: - (Required for new resource) The Certificate File. @@ -43,21 +58,6 @@ required: False type: list elements: dict - name: - description: - - (Required for new resource) The Destintion name. - required: True - type: str - type: - description: - - (Required for new resource) The type of Destination type push_ios. - required: True - type: str - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('instance_guid', 'str'), + ('type', 'str'), ('certificate_content_type', 'str'), - ('certificate', 'str'), ('name', 'str'), - ('type', 'str'), - ('instance_guid', 'str'), + ('certificate', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_guid', + 'type', 'description', 'certificate_content_type', + 'name', 'certificate', 'config', - 'name', - 'type', - 'instance_guid', ] # Params for Data source @@ -140,28 +140,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( - description=dict( + instance_guid=dict( required=False, type='str'), - certificate_content_type=dict( + type=dict( required=False, type='str'), - certificate=dict( + description=dict( required=False, type='str'), - config=dict( + certificate_content_type=dict( required=False, - elements='', - type='list'), + type='str'), name=dict( required=False, type='str'), - type=dict( + certificate=dict( required=False, type='str'), - instance_guid=dict( + config=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_en_destination_ios', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_ios_info.py b/plugins/modules/ibm_en_destination_ios_info.py index ad81e7a53..9a20e7502 100644 --- a/plugins/modules/ibm_en_destination_ios_info.py +++ b/plugins/modules/ibm_en_destination_ios_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_ios' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_safari.py b/plugins/modules/ibm_en_destination_safari.py index b915a5854..abec75877 100644 --- a/plugins/modules/ibm_en_destination_safari.py +++ b/plugins/modules/ibm_en_destination_safari.py @@ -18,21 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_safari' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_guid: + certificate: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) The Certificate File. required: True type: str - icon_32x32_2x: - description: - - The Certificate File. - required: False - type: str - icon_128x128: + icon_16x16: description: - The Certificate File. required: False @@ -47,17 +42,7 @@ - The Certificate File. required: False type: str - icon_32x32_content_type: - description: - - The Certificate File. - required: False - type: str - icon_16x16: - description: - - The Certificate File. - required: False - type: str - icon_32x32_2x_content_type: + icon_16x16_2x_content_type: description: - The Certificate File. required: False @@ -73,14 +58,14 @@ - (Required for new resource) The Destintion name. required: True type: str - certificate: + type: description: - - (Required for new resource) The Certificate File. + - (Required for new resource) The type of Destination type push_ios. required: True type: str - icon_16x16_2x: + description: description: - - The Certificate File. + - The Destination description. required: False type: str icon_128x128_content_type: @@ -88,14 +73,19 @@ - The Certificate File. required: False type: str - type: + icon_128x128_2x_content_type: description: - - (Required for new resource) The type of Destination type push_ios. - required: True + - The Certificate File. + required: False type: str - description: + icon_128x128: description: - - The Destination description. + - The Certificate File. + required: False + type: str + icon_32x32_content_type: + description: + - The Certificate File. required: False type: str icon_32x32: @@ -103,12 +93,22 @@ - The Certificate File. required: False type: str - icon_16x16_2x_content_type: + icon_32x32_2x: description: - The Certificate File. required: False type: str - icon_128x128_2x_content_type: + icon_32x32_2x_content_type: + description: + - The Certificate File. + required: False + type: str + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + icon_16x16_2x: description: - The Certificate File. required: False @@ -159,43 +159,43 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), - ('name', 'str'), ('certificate', 'str'), + ('name', 'str'), ('type', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', - 'icon_32x32_2x', - 'icon_128x128', + 'certificate', + 'icon_16x16', 'icon_128x128_2x', 'icon_16x16_content_type', - 'icon_32x32_content_type', - 'icon_16x16', - 'icon_32x32_2x_content_type', + 'icon_16x16_2x_content_type', 'config', 'name', - 'certificate', - 'icon_16x16_2x', - 'icon_128x128_content_type', 'type', 'description', - 'icon_32x32', - 'icon_16x16_2x_content_type', + 'icon_128x128_content_type', 'icon_128x128_2x_content_type', + 'icon_128x128', + 'icon_32x32_content_type', + 'icon_32x32', + 'icon_32x32_2x', + 'icon_32x32_2x_content_type', + 'instance_guid', + 'icon_16x16_2x', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] TL_CONFLICTS_MAP = { @@ -205,13 +205,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_guid=dict( - required=False, - type='str'), - icon_32x32_2x=dict( + certificate=dict( required=False, type='str'), - icon_128x128=dict( + icon_16x16=dict( required=False, type='str'), icon_128x128_2x=dict( @@ -220,13 +217,7 @@ icon_16x16_content_type=dict( required=False, type='str'), - icon_32x32_content_type=dict( - required=False, - type='str'), - icon_16x16=dict( - required=False, - type='str'), - icon_32x32_2x_content_type=dict( + icon_16x16_2x_content_type=dict( required=False, type='str'), config=dict( @@ -236,28 +227,37 @@ name=dict( required=False, type='str'), - certificate=dict( + type=dict( required=False, type='str'), - icon_16x16_2x=dict( + description=dict( required=False, type='str'), icon_128x128_content_type=dict( required=False, type='str'), - type=dict( + icon_128x128_2x_content_type=dict( required=False, type='str'), - description=dict( + icon_128x128=dict( + required=False, + type='str'), + icon_32x32_content_type=dict( required=False, type='str'), icon_32x32=dict( required=False, type='str'), - icon_16x16_2x_content_type=dict( + icon_32x32_2x=dict( required=False, type='str'), - icon_128x128_2x_content_type=dict( + icon_32x32_2x_content_type=dict( + required=False, + type='str'), + instance_guid=dict( + required=False, + type='str'), + icon_16x16_2x=dict( required=False, type='str'), id=dict( @@ -325,7 +325,7 @@ def run_module(): resource_type='ibm_en_destination_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -334,7 +334,7 @@ def run_module(): resource_type='ibm_en_destination_safari', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_safari_info.py b/plugins/modules/ibm_en_destination_safari_info.py index d60f1c131..0a5c84e0a 100644 --- a/plugins/modules/ibm_en_destination_safari_info.py +++ b/plugins/modules/ibm_en_destination_safari_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_safari' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - destination_id: + instance_guid: description: - - Unique identifier for Destination. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + destination_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Destination. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] @@ -82,10 +82,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( - destination_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + destination_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_slack.py b/plugins/modules/ibm_en_destination_slack.py index 25bcca672..a17aab798 100644 --- a/plugins/modules/ibm_en_destination_slack.py +++ b/plugins/modules/ibm_en_destination_slack.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + type: + description: + - (Required for new resource) The type of Destination Webhook. + required: True + type: str config: description: - Payload describing a destination configuration. @@ -33,11 +38,6 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - type: - description: - - (Required for new resource) The type of Destination Webhook. - required: True - type: str name: description: - (Required for new resource) The Destintion name. @@ -94,29 +94,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('type', 'str'), + ('instance_guid', 'str'), ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'type', 'config', 'instance_guid', - 'type', 'name', 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] TL_CONFLICTS_MAP = { @@ -126,6 +126,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( + type=dict( + required=False, + type='str'), config=dict( required=False, elements='', @@ -133,9 +136,6 @@ instance_guid=dict( required=False, type='str'), - type=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_slack', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_slack_info.py b/plugins/modules/ibm_en_destination_slack_info.py index 0f8b86929..428c9d6e7 100644 --- a/plugins/modules/ibm_en_destination_slack_info.py +++ b/plugins/modules/ibm_en_destination_slack_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - destination_id: + instance_guid: description: - - Unique identifier for Destination. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + destination_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Destination. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] @@ -82,10 +82,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( - destination_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + destination_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_webhook.py b/plugins/modules/ibm_en_destination_webhook.py index 6b102a2db..c7fd60823 100644 --- a/plugins/modules/ibm_en_destination_webhook.py +++ b/plugins/modules/ibm_en_destination_webhook.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_webhook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + instance_guid: description: - - (Required for new resource) The Destintion name. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str type: @@ -32,22 +32,22 @@ - (Required for new resource) The type of Destination Webhook. required: True type: str - description: + config: description: - - The Destination description. + - Payload describing a destination configuration. required: False - type: str - instance_guid: + type: list + elements: dict + name: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) The Destintion name. required: True type: str - config: + description: description: - - Payload describing a destination configuration. + - The Destination description. required: False - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,29 +94,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('type', 'str'), ('instance_guid', 'str'), + ('type', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'type', - 'description', 'instance_guid', + 'type', 'config', + 'name', + 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] TL_CONFLICTS_MAP = { @@ -126,22 +126,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( + instance_guid=dict( required=False, type='str'), type=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), - instance_guid=dict( - required=False, - type='str'), config=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_webhook_info.py b/plugins/modules/ibm_en_destination_webhook_info.py index 88dd7f966..b8fc277dc 100644 --- a/plugins/modules/ibm_en_destination_webhook_info.py +++ b/plugins/modules/ibm_en_destination_webhook_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_webhook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - destination_id: + instance_guid: description: - - Unique identifier for Destination. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + destination_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Destination. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] @@ -82,10 +82,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( - destination_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + destination_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destinations_info.py b/plugins/modules/ibm_en_destinations_info.py index a775189ba..f836e4587 100644 --- a/plugins/modules/ibm_en_destinations_info.py +++ b/plugins/modules/ibm_en_destinations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destinations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_en_destinations', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_source.py b/plugins/modules/ibm_en_source.py index 074214e85..27ef4b57d 100644 --- a/plugins/modules/ibm_en_source.py +++ b/plugins/modules/ibm_en_source.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_source' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_en_source', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_en_source', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_source_info.py b/plugins/modules/ibm_en_source_info.py index e15a4f588..e38b0ce42 100644 --- a/plugins/modules/ibm_en_source_info.py +++ b/plugins/modules/ibm_en_source_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_source' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_source', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription.py b/plugins/modules/ibm_en_subscription.py index c74c49984..f5ebc76d7 100644 --- a/plugins/modules/ibm_en_subscription.py +++ b/plugins/modules/ibm_en_subscription.py @@ -18,31 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - destination_id: - description: - - (Required for new resource) Destination ID. - required: True - type: str description: description: - Subscription description. required: False type: str + destination_id: + description: + - (Required for new resource) Destination ID. + required: True + type: str topic_id: description: - (Required for new resource) Topic ID. required: True type: str - attributes: - description: - - None - required: False - type: list - elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -53,6 +47,12 @@ - (Required for new resource) Subscription name. required: True type: str + attributes: + description: + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,12 +107,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', 'description', + 'destination_id', 'topic_id', - 'attributes', 'instance_guid', 'name', + 'attributes', ] # Params for Data source @@ -133,25 +133,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - destination_id=dict( + description=dict( required=False, type='str'), - description=dict( + destination_id=dict( required=False, type='str'), topic_id=dict( required=False, type='str'), - attributes=dict( - required=False, - elements='', - type='list'), instance_guid=dict( required=False, type='str'), name=dict( required=False, type='str'), + attributes=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_android.py b/plugins/modules/ibm_en_subscription_android.py index 506525e80..46ded18fb 100644 --- a/plugins/modules/ibm_en_subscription_android.py +++ b/plugins/modules/ibm_en_subscription_android.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_android' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + destination_id: description: - - (Required for new resource) Subscription name. + - (Required for new resource) Destination ID. required: True type: str - destination_id: + topic_id: description: - - (Required for new resource) Destination ID. + - (Required for new resource) Topic ID. required: True type: str instance_guid: @@ -37,16 +37,16 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str description: description: - Subscription description. required: False type: str - topic_id: - description: - - (Required for new resource) Topic ID. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,30 +93,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('destination_id', 'str'), - ('instance_guid', 'str'), ('topic_id', 'str'), + ('instance_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'destination_id', + 'topic_id', 'instance_guid', + 'name', 'description', - 'topic_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] TL_CONFLICTS_MAP = { @@ -126,19 +126,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( - name=dict( + destination_id=dict( required=False, type='str'), - destination_id=dict( + topic_id=dict( required=False, type='str'), instance_guid=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), - topic_id=dict( + description=dict( required=False, type='str'), id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_android_info.py b/plugins/modules/ibm_en_subscription_android_info.py index 9f1b09c38..2dd6adc8d 100644 --- a/plugins/modules/ibm_en_subscription_android_info.py +++ b/plugins/modules/ibm_en_subscription_android_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_android' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] @@ -82,10 +82,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( - subscription_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + subscription_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_chrome.py b/plugins/modules/ibm_en_subscription_chrome.py index df6b46896..0f936e2b2 100644 --- a/plugins/modules/ibm_en_subscription_chrome.py +++ b/plugins/modules/ibm_en_subscription_chrome.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -37,11 +42,6 @@ - (Required for new resource) Destination ID. required: True type: str - name: - description: - - (Required for new resource) Subscription name. - required: True - type: str topic_id: description: - (Required for new resource) Topic ID. @@ -93,18 +93,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('instance_guid', 'str'), ('destination_id', 'str'), - ('name', 'str'), ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'instance_guid', 'description', 'destination_id', - 'name', 'topic_id', ] @@ -126,6 +126,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( + name=dict( + required=False, + type='str'), instance_guid=dict( required=False, type='str'), @@ -135,9 +138,6 @@ destination_id=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), topic_id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_chrome', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_chrome_info.py b/plugins/modules/ibm_en_subscription_chrome_info.py index 181bf92a5..864929a7e 100644 --- a/plugins/modules/ibm_en_subscription_chrome_info.py +++ b/plugins/modules/ibm_en_subscription_chrome_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_chrome' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_email.py b/plugins/modules/ibm_en_subscription_email.py index e09acae95..ecd3fdbb3 100644 --- a/plugins/modules/ibm_en_subscription_email.py +++ b/plugins/modules/ibm_en_subscription_email.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_email' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + instance_guid: description: - - (Required for new resource) Subscription name. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str description: @@ -32,6 +32,16 @@ - Subscription description. required: False type: str + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str + destination_id: + description: + - (Required for new resource) Destination ID. + required: True + type: str topic_id: description: - (Required for new resource) Topic ID. @@ -43,16 +53,6 @@ required: False type: list elements: dict - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str - destination_id: - description: - - (Required for new resource) Destination ID. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,31 +99,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('topic_id', 'str'), ('instance_guid', 'str'), + ('name', 'str'), ('destination_id', 'str'), + ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'instance_guid', 'description', + 'name', + 'destination_id', 'topic_id', 'attributes', - 'instance_guid', - 'destination_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -133,12 +133,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( - name=dict( + instance_guid=dict( required=False, type='str'), description=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + destination_id=dict( + required=False, + type='str'), topic_id=dict( required=False, type='str'), @@ -146,12 +152,6 @@ required=False, elements='', type='list'), - instance_guid=dict( - required=False, - type='str'), - destination_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_email_info.py b/plugins/modules/ibm_en_subscription_email_info.py index 9c6f01889..7e80386f8 100644 --- a/plugins/modules/ibm_en_subscription_email_info.py +++ b/plugins/modules/ibm_en_subscription_email_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_email' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] @@ -82,10 +82,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_guid=dict( + subscription_id=dict( required=True, type='str'), - subscription_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_firefox.py b/plugins/modules/ibm_en_subscription_firefox.py index eeea0b8f9..f8c99091c 100644 --- a/plugins/modules/ibm_en_subscription_firefox.py +++ b/plugins/modules/ibm_en_subscription_firefox.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_firefox' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str description: description: - Subscription description. @@ -37,14 +32,19 @@ - (Required for new resource) Destination ID. required: True type: str - name: + topic_id: description: - - (Required for new resource) Subscription name. + - (Required for new resource) Topic ID. required: True type: str - topic_id: + instance_guid: description: - - (Required for new resource) Topic ID. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + name: + description: + - (Required for new resource) Subscription name. required: True type: str id: @@ -93,19 +93,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('destination_id', 'str'), - ('name', 'str'), ('topic_id', 'str'), + ('instance_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'description', 'destination_id', - 'name', 'topic_id', + 'instance_guid', + 'name', ] # Params for Data source @@ -126,19 +126,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( - instance_guid=dict( - required=False, - type='str'), description=dict( required=False, type='str'), destination_id=dict( required=False, type='str'), - name=dict( + topic_id=dict( required=False, type='str'), - topic_id=dict( + instance_guid=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_firefox_info.py b/plugins/modules/ibm_en_subscription_firefox_info.py index d06c8e3b9..d34d2e969 100644 --- a/plugins/modules/ibm_en_subscription_firefox_info.py +++ b/plugins/modules/ibm_en_subscription_firefox_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_firefox' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_info.py b/plugins/modules/ibm_en_subscription_info.py index 66d0223db..1d3d7e568 100644 --- a/plugins/modules/ibm_en_subscription_info.py +++ b/plugins/modules/ibm_en_subscription_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_ios.py b/plugins/modules/ibm_en_subscription_ios.py index 0f2e78f89..99e8df5b0 100644 --- a/plugins/modules/ibm_en_subscription_ios.py +++ b/plugins/modules/ibm_en_subscription_ios.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_ios' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -37,14 +37,14 @@ - Subscription description. required: False type: str - topic_id: + destination_id: description: - - (Required for new resource) Topic ID. + - (Required for new resource) Destination ID. required: True type: str - destination_id: + topic_id: description: - - (Required for new resource) Destination ID. + - (Required for new resource) Topic ID. required: True type: str id: @@ -95,8 +95,8 @@ TL_REQUIRED_PARAMETERS = [ ('instance_guid', 'str'), ('name', 'str'), - ('topic_id', 'str'), ('destination_id', 'str'), + ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module @@ -104,8 +104,8 @@ 'instance_guid', 'name', 'description', - 'topic_id', 'destination_id', + 'topic_id', ] # Params for Data source @@ -135,10 +135,10 @@ description=dict( required=False, type='str'), - topic_id=dict( + destination_id=dict( required=False, type='str'), - destination_id=dict( + topic_id=dict( required=False, type='str'), id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_ios', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_ios_info.py b/plugins/modules/ibm_en_subscription_ios_info.py index 9a1372cd7..3f7e3b573 100644 --- a/plugins/modules/ibm_en_subscription_ios_info.py +++ b/plugins/modules/ibm_en_subscription_ios_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_ios' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_safari.py b/plugins/modules/ibm_en_subscription_safari.py index 465ef7d2e..c660025e2 100644 --- a/plugins/modules/ibm_en_subscription_safari.py +++ b/plugins/modules/ibm_en_subscription_safari.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_safari' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - topic_id: - description: - - (Required for new resource) Topic ID. - required: True - type: str instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -37,6 +32,11 @@ - (Required for new resource) Subscription name. required: True type: str + topic_id: + description: + - (Required for new resource) Topic ID. + required: True + type: str description: description: - Subscription description. @@ -93,17 +93,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('topic_id', 'str'), ('instance_guid', 'str'), ('name', 'str'), + ('topic_id', 'str'), ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'topic_id', 'instance_guid', 'name', + 'topic_id', 'description', 'destination_id', ] @@ -126,15 +126,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( - topic_id=dict( - required=False, - type='str'), instance_guid=dict( required=False, type='str'), name=dict( required=False, type='str'), + topic_id=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_safari_info.py b/plugins/modules/ibm_en_subscription_safari_info.py index 5aeac9ac1..8fcf18d95 100644 --- a/plugins/modules/ibm_en_subscription_safari_info.py +++ b/plugins/modules/ibm_en_subscription_safari_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_safari' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_slack.py b/plugins/modules/ibm_en_subscription_slack.py index 00c5a922b..9cb3d4d3c 100644 --- a/plugins/modules/ibm_en_subscription_slack.py +++ b/plugins/modules/ibm_en_subscription_slack.py @@ -18,26 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str name: description: - (Required for new resource) Subscription name. required: True type: str + topic_id: + description: + - (Required for new resource) Topic ID. + required: True + type: str attributes: description: - None required: False type: list elements: dict - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str description: description: - Subscription description. @@ -48,11 +53,6 @@ - (Required for new resource) Destination ID. required: True type: str - topic_id: - description: - - (Required for new resource) Topic ID. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,20 +99,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_guid', 'str'), - ('destination_id', 'str'), + ('name', 'str'), ('topic_id', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_guid', 'name', + 'topic_id', 'attributes', - 'instance_guid', 'description', 'destination_id', - 'topic_id', ] # Params for Data source @@ -133,25 +133,25 @@ 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_guid=dict( + required=False, + type='str'), name=dict( required=False, type='str'), + topic_id=dict( + required=False, + type='str'), attributes=dict( required=False, elements='', type='list'), - instance_guid=dict( - required=False, - type='str'), description=dict( required=False, type='str'), destination_id=dict( required=False, type='str'), - topic_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_slack_info.py b/plugins/modules/ibm_en_subscription_slack_info.py index fa843b84f..c1185ed42 100644 --- a/plugins/modules/ibm_en_subscription_slack_info.py +++ b/plugins/modules/ibm_en_subscription_slack_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_sms.py b/plugins/modules/ibm_en_subscription_sms.py index b40d9ce36..eb0fd8cf4 100644 --- a/plugins/modules/ibm_en_subscription_sms.py +++ b/plugins/modules/ibm_en_subscription_sms.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_sms' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,10 +27,10 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - name: + description: description: - - (Required for new resource) Subscription name. - required: True + - Subscription description. + required: False type: str destination_id: description: @@ -42,10 +42,10 @@ - (Required for new resource) Topic ID. required: True type: str - description: + name: description: - - Subscription description. - required: False + - (Required for new resource) Subscription name. + required: True type: str attributes: description: @@ -100,18 +100,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_guid', 'str'), - ('name', 'str'), ('destination_id', 'str'), ('topic_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_guid', - 'name', + 'description', 'destination_id', 'topic_id', - 'description', + 'name', 'attributes', ] @@ -136,7 +136,7 @@ instance_guid=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), destination_id=dict( @@ -145,7 +145,7 @@ topic_id=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), attributes=dict( @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_sms_info.py b/plugins/modules/ibm_en_subscription_sms_info.py index 39b49c412..ea7ef89cc 100644 --- a/plugins/modules/ibm_en_subscription_sms_info.py +++ b/plugins/modules/ibm_en_subscription_sms_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_sms' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_webhook.py b/plugins/modules/ibm_en_subscription_webhook.py index b5bbf13b2..5f2b51ab5 100644 --- a/plugins/modules/ibm_en_subscription_webhook.py +++ b/plugins/modules/ibm_en_subscription_webhook.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_webhook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - description: - description: - - Subscription description. - required: False - type: str topic_id: description: - (Required for new resource) Topic ID. required: True type: str - name: + attributes: description: - - (Required for new resource) Subscription name. - required: True + - None + required: False + type: list + elements: dict + description: + description: + - Subscription description. + required: False type: str destination_id: description: - (Required for new resource) Destination ID. required: True type: str - attributes: - description: - - None - required: False - type: list - elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,30 +100,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('topic_id', 'str'), - ('name', 'str'), ('destination_id', 'str'), ('instance_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', 'topic_id', - 'name', - 'destination_id', 'attributes', + 'description', + 'destination_id', 'instance_guid', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -133,25 +133,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( - required=False, - type='str'), topic_id=dict( required=False, type='str'), - name=dict( + attributes=dict( + required=False, + elements='', + type='list'), + description=dict( required=False, type='str'), destination_id=dict( required=False, type='str'), - attributes=dict( - required=False, - elements='', - type='list'), instance_guid=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_webhook_info.py b/plugins/modules/ibm_en_subscription_webhook_info.py index d26b83a3b..5f782f097 100644 --- a/plugins/modules/ibm_en_subscription_webhook_info.py +++ b/plugins/modules/ibm_en_subscription_webhook_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_webhook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] @@ -82,10 +82,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_guid=dict( + subscription_id=dict( required=True, type='str'), - subscription_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscriptions_info.py b/plugins/modules/ibm_en_subscriptions_info.py index 786f54a23..a306ed5fc 100644 --- a/plugins/modules/ibm_en_subscriptions_info.py +++ b/plugins/modules/ibm_en_subscriptions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscriptions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_en_subscriptions', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_topic.py b/plugins/modules/ibm_en_topic.py index 7cc283843..6cb62180d 100644 --- a/plugins/modules/ibm_en_topic.py +++ b/plugins/modules/ibm_en_topic.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_en_topic' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + name: + description: + - (Required for new resource) Name of the topic. + required: True + type: str description: description: - Description of the topic. @@ -33,16 +43,6 @@ required: False type: list elements: dict - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str - name: - description: - - (Required for new resource) Name of the topic. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,21 +95,21 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'sources', 'instance_guid', 'name', + 'description', + 'sources', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('topic_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'topic_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -119,6 +119,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( + instance_guid=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -126,12 +132,6 @@ required=False, elements='', type='list'), - instance_guid=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_en_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_en_topic', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_topic_info.py b/plugins/modules/ibm_en_topic_info.py index d960c4525..342d06620 100644 --- a/plugins/modules/ibm_en_topic_info.py +++ b/plugins/modules/ibm_en_topic_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_guid: + topic_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Topic. required: True type: str - topic_id: + instance_guid: description: - - Unique identifier for Topic. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('topic_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'topic_id', + 'instance_guid', ] @@ -82,10 +82,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_guid=dict( + topic_id=dict( required=True, type='str'), - topic_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_topics_info.py b/plugins/modules/ibm_en_topics_info.py index aec9e8d3d..185002b09 100644 --- a/plugins/modules/ibm_en_topics_info.py +++ b/plugins/modules/ibm_en_topics_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_en_topics' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - search_key: - description: - - Filter the topic by name - required: False - type: str instance_guid: description: - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + search_key: + description: + - Filter the topic by name + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'search_key', 'instance_guid', + 'search_key', ] @@ -81,12 +81,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( - search_key=dict( - required=False, - type='str'), instance_guid=dict( required=True, type='str'), + search_key=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_en_topics', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise.py b/plugins/modules/ibm_enterprise.py index 1dacc723d..5f5618471 100644 --- a/plugins/modules/ibm_enterprise.py +++ b/plugins/modules/ibm_enterprise.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + primary_contact_iam_id: description: - - (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. + - (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. required: True type: str - primary_contact_iam_id: + name: description: - - (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. + - (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. required: True type: str domain: @@ -88,15 +88,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('primary_contact_iam_id', 'str'), + ('name', 'str'), ('source_account_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'primary_contact_iam_id', + 'name', 'domain', 'source_account_id', ] @@ -115,10 +115,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( + primary_contact_iam_id=dict( required=False, type='str'), - primary_contact_iam_id=dict( + name=dict( required=False, type='str'), domain=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_enterprise', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_account.py b/plugins/modules/ibm_enterprise_account.py index 7a2c61f32..94b1a4e30 100644 --- a/plugins/modules/ibm_enterprise_account.py +++ b/plugins/modules/ibm_enterprise_account.py @@ -18,34 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise_account' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + enterprise_id: + description: + - The enterprise ID that the account is a part of. + required: False + type: str name: description: - The name of the account. This field must have 3 - 60 characters. required: False type: str - parent: + owner_iam_id: description: - - (Required for new resource) The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself. - required: True + - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. + required: False type: str account_id: description: - The source account id of account to be imported required: False type: str - enterprise_id: - description: - - The enterprise ID that the account is a part of. - required: False - type: str - owner_iam_id: + parent: description: - - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. - required: False + - (Required for new resource) The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself. + required: True type: str enterprise_account_id: description: @@ -103,11 +103,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'parent', - 'account_id', 'enterprise_id', + 'name', 'owner_iam_id', + 'account_id', + 'parent', 'enterprise_account_id', ] @@ -125,19 +125,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( - name=dict( + enterprise_id=dict( required=False, type='str'), - parent=dict( + name=dict( required=False, type='str'), - account_id=dict( + owner_iam_id=dict( required=False, type='str'), - enterprise_id=dict( + account_id=dict( required=False, type='str'), - owner_iam_id=dict( + parent=dict( required=False, type='str'), enterprise_account_id=dict( @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_enterprise_account', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_account_group.py b/plugins/modules/ibm_enterprise_account_group.py index 3da1a5bbf..f5a371d3a 100644 --- a/plugins/modules/ibm_enterprise_account_group.py +++ b/plugins/modules/ibm_enterprise_account_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise_account_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,14 +27,14 @@ - (Required for new resource) The CRN of the parent under which the account group will be created. The parent can be an existing account group or the enterprise itself. required: True type: str - primary_contact_iam_id: + name: description: - - (Required for new resource) The IAM ID of the primary contact for this account group, such as `IBMid-0123ABC`. The IAM ID must already exist. + - (Required for new resource) The name of the account group. This field must have 3 - 60 characters. required: True type: str - name: + primary_contact_iam_id: description: - - (Required for new resource) The name of the account group. This field must have 3 - 60 characters. + - (Required for new resource) The IAM ID of the primary contact for this account group, such as `IBMid-0123ABC`. The IAM ID must already exist. required: True type: str id: @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('parent', 'str'), - ('primary_contact_iam_id', 'str'), ('name', 'str'), + ('primary_contact_iam_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'parent', - 'primary_contact_iam_id', 'name', + 'primary_contact_iam_id', ] # Params for Data source @@ -112,10 +112,10 @@ parent=dict( required=False, type='str'), - primary_contact_iam_id=dict( + name=dict( required=False, type='str'), - name=dict( + primary_contact_iam_id=dict( required=False, type='str'), id=dict( @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_enterprise_account_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_account_groups_info.py b/plugins/modules/ibm_enterprise_account_groups_info.py index 520dc5904..10bd84e47 100644 --- a/plugins/modules/ibm_enterprise_account_groups_info.py +++ b/plugins/modules/ibm_enterprise_account_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_enterprise_account_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_enterprise_account_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_accounts_info.py b/plugins/modules/ibm_enterprise_accounts_info.py index 81d2d1738..20eb797fc 100644 --- a/plugins/modules/ibm_enterprise_accounts_info.py +++ b/plugins/modules/ibm_enterprise_accounts_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_enterprise_accounts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_enterprise_accounts', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprises_info.py b/plugins/modules/ibm_enterprises_info.py index e1e079933..45a8e089e 100644 --- a/plugins/modules/ibm_enterprises_info.py +++ b/plugins/modules/ibm_enterprises_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_enterprises' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_enterprises', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_event_streams_schema.py b/plugins/modules/ibm_event_streams_schema.py index d1f035544..cd318c53f 100644 --- a/plugins/modules/ibm_event_streams_schema.py +++ b/plugins/modules/ibm_event_streams_schema.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_event_streams_schema' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + schema_id: + description: + - The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. + required: False + type: str resource_instance_id: description: - (Required for new resource) The ID or the CRN of the Event Streams service instance @@ -32,11 +37,6 @@ - (Required for new resource) The schema in JSON format required: True type: str - schema_id: - description: - - The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'schema_id', 'resource_instance_id', 'schema', - 'schema_id', ] # Params for Data source @@ -112,13 +112,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( - resource_instance_id=dict( + schema_id=dict( required=False, type='str'), - schema=dict( + resource_instance_id=dict( required=False, type='str'), - schema_id=dict( + schema=dict( required=False, type='str'), id=dict( @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_schema_info.py b/plugins/modules/ibm_event_streams_schema_info.py index c3dbd48d8..6e40d6fa6 100644 --- a/plugins/modules/ibm_event_streams_schema_info.py +++ b/plugins/modules/ibm_event_streams_schema_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_schema' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bac882ca6..fb982929e 100644 --- a/plugins/modules/ibm_event_streams_topic.py +++ b/plugins/modules/ibm_event_streams_topic.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_event_streams_topic' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_instance_id: + description: + - (Required for new resource) The CRN of the Event Streams instance + required: True + type: str + name: + description: + - (Required for new resource) The name of the topic + required: True + type: str partitions: description: - The number of partitions @@ -33,16 +43,6 @@ - The configuration parameters of a topic required: False type: dict - resource_instance_id: - description: - - (Required for new resource) The CRN of the Event Streams instance - required: True - type: str - name: - description: - - (Required for new resource) The name of the topic - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,10 +95,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'partitions', - 'config', 'resource_instance_id', 'name', + 'partitions', + 'config', ] # Params for Data source @@ -119,18 +119,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( - partitions=dict( - required=False, - type='int'), - config=dict( - required=False, - type='dict'), resource_instance_id=dict( required=False, type='str'), name=dict( required=False, type='str'), + partitions=dict( + required=False, + type='int'), + config=dict( + required=False, + type='dict'), 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.47.1', + ibm_provider_version='1.48.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.47.1', + ibm_provider_version='1.48.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 dbf58cbd9..5041ab9b8 100644 --- a/plugins/modules/ibm_event_streams_topic_info.py +++ b/plugins/modules/ibm_event_streams_topic_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2d2bfacc3..cbe48a0a8 100644 --- a/plugins/modules/ibm_firewall.py +++ b/plugins/modules/ibm_firewall.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_firewall' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ae4e1f5fd..05717af8d 100644 --- a/plugins/modules/ibm_firewall_policy.py +++ b/plugins/modules/ibm_firewall_policy.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_firewall_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + tags: + description: + - List of tags + required: False + type: list + elements: str firewall_id: description: - (Required for new resource) Firewall ID @@ -33,12 +39,6 @@ required: True type: list elements: dict - tags: - description: - - List of tags - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,9 +91,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'firewall_id', 'rules', - 'tags', ] # Params for Data source @@ -110,6 +110,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'), firewall_id=dict( required=False, type='int'), @@ -117,10 +121,6 @@ required=False, elements='', type='list'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_firewall_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e4b0a0634..609bac6e9 100644 --- a/plugins/modules/ibm_function_action.py +++ b/plugins/modules/ibm_function_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_function_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -28,12 +28,23 @@ 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: [] + user_defined_parameters: + description: + - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. + required: False + type: str + default: [] name: description: - (Required for new resource) Name of action. @@ -50,17 +61,6 @@ required: False type: list elements: dict - publish: - description: - - Action visibilty. - required: False - type: bool - user_defined_parameters: - description: - - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. - required: False - type: str - default: [] id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,12 +101,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'exec', + 'publish', 'user_defined_annotations', + 'user_defined_parameters', 'name', 'namespace', 'limits', - 'publish', - 'user_defined_parameters', ] # Params for Data source @@ -131,9 +131,15 @@ required=False, elements='', type='list'), + publish=dict( + required=False, + type='bool'), user_defined_annotations=dict( required=False, type='str'), + user_defined_parameters=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -144,12 +150,6 @@ required=False, elements='', type='list'), - publish=dict( - required=False, - type='bool'), - user_defined_parameters=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_function_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 48480ba18..4107713b7 100644 --- a/plugins/modules/ibm_function_action_info.py +++ b/plugins/modules/ibm_function_action_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 4016f70c8..18fb7d0bd 100644 --- a/plugins/modules/ibm_function_namespace.py +++ b/plugins/modules/ibm_function_namespace.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_function_namespace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Name of namespace. + required: True + type: str description: description: - Namespace Description. @@ -32,11 +37,6 @@ - (Required for new resource) Resource Group ID. required: True type: str - name: - description: - - (Required for new resource) Name of namespace. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('resource_group_id', 'str'), ('name', 'str'), + ('resource_group_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'description', 'resource_group_id', - 'name', ] # Params for Data source @@ -96,13 +96,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( - description=dict( + name=dict( required=False, type='str'), - resource_group_id=dict( + description=dict( required=False, type='str'), - name=dict( + resource_group_id=dict( required=False, type='str'), id=dict( @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -169,7 +169,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bcc649a4e..71f3fc4de 100644 --- a/plugins/modules/ibm_function_namespace_info.py +++ b/plugins/modules/ibm_function_namespace_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_namespace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a58be4fe7..3aa5ce86a 100644 --- a/plugins/modules/ibm_function_package.py +++ b/plugins/modules/ibm_function_package.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_function_package' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -32,29 +32,29 @@ - (Required for new resource) Name of package. required: True type: str - publish: - description: - - Package visibilty. - required: False - type: bool - default: False user_defined_annotations: description: - Annotation values in KEY VALUE format. required: False type: str default: [] - bind_package_name: - description: - - Name of package to be binded. - required: False - type: str user_defined_parameters: description: - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. required: False type: str default: [] + publish: + description: + - Package visibilty. + required: False + type: bool + default: False + bind_package_name: + description: + - Name of package to be binded. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,21 +95,21 @@ TL_ALL_PARAMETERS = [ 'namespace', 'name', - 'publish', 'user_defined_annotations', - 'bind_package_name', 'user_defined_parameters', + 'publish', + 'bind_package_name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'namespace', + 'name', ] TL_CONFLICTS_MAP = { @@ -125,16 +125,16 @@ name=dict( required=False, type='str'), - publish=dict( - required=False, - type='bool'), user_defined_annotations=dict( required=False, type='str'), - bind_package_name=dict( + user_defined_parameters=dict( required=False, type='str'), - user_defined_parameters=dict( + publish=dict( + required=False, + type='bool'), + bind_package_name=dict( required=False, type='str'), id=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c277a92b0..7ad079abb 100644 --- a/plugins/modules/ibm_function_package_info.py +++ b/plugins/modules/ibm_function_package_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_function_package' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + namespace: description: - - Name of the package. + - Name of the namespace. required: True type: str - namespace: + name: description: - - Name of the namespace. + - Name of the package. required: True type: str function_namespace: @@ -50,14 +50,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', ] @@ -68,10 +68,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( @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 866902af2..793f6f4fe 100644 --- a/plugins/modules/ibm_function_rule.py +++ b/plugins/modules/ibm_function_rule.py @@ -18,28 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_function_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - namespace: + trigger_name: description: - - (Required for new resource) IBM Cloud function namespace. + - (Required for new resource) Name of trigger. required: True type: str - name: + action_name: description: - - (Required for new resource) Name of rule. + - (Required for new resource) Name of action. required: True type: str - trigger_name: + namespace: description: - - (Required for new resource) Name of trigger. + - (Required for new resource) IBM Cloud function namespace. required: True type: str - action_name: + name: description: - - (Required for new resource) Name of action. + - (Required for new resource) Name of rule. required: True type: str id: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('namespace', 'str'), - ('name', 'str'), ('trigger_name', 'str'), ('action_name', 'str'), + ('namespace', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'namespace', - 'name', 'trigger_name', 'action_name', + 'namespace', + 'name', ] # Params for Data source @@ -106,16 +106,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( + trigger_name=dict( required=False, type='str'), - name=dict( + action_name=dict( required=False, type='str'), - trigger_name=dict( + namespace=dict( required=False, type='str'), - action_name=dict( + name=dict( required=False, type='str'), id=dict( @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 42f77b4f1..e94aad3ad 100644 --- a/plugins/modules/ibm_function_rule_info.py +++ b/plugins/modules/ibm_function_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7184465f9..6947e497c 100644 --- a/plugins/modules/ibm_function_trigger.py +++ b/plugins/modules/ibm_function_trigger.py @@ -18,38 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_function_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Name of Trigger. + required: True + type: str 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: [] - user_defined_annotations: + namespace: description: - - Annotation values in KEY VALUE format. - required: False + - (Required for new resource) IBM Cloud function namespace. + required: True type: str - default: [] feed: description: - Trigger feed required: False type: list elements: dict - namespace: - description: - - (Required for new resource) IBM Cloud function namespace. - required: True - type: str - 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: [] id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -82,17 +82,17 @@ # 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 = [ + 'name', 'user_defined_parameters', - 'user_defined_annotations', - 'feed', 'namespace', - 'name', + 'feed', + 'user_defined_annotations', ] # Params for Data source @@ -113,20 +113,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( + required=False, + type='str'), user_defined_parameters=dict( required=False, type='str'), - user_defined_annotations=dict( + namespace=dict( required=False, type='str'), feed=dict( required=False, elements='', type='list'), - namespace=dict( - required=False, - type='str'), - name=dict( + user_defined_annotations=dict( required=False, type='str'), id=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_function_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d2fb28d2c..c837302f8 100644 --- a/plugins/modules/ibm_function_trigger_info.py +++ b/plugins/modules/ibm_function_trigger_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_trigger' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d00e2c3b6..671399950 100644 --- a/plugins/modules/ibm_hardware_firewall_shared.py +++ b/plugins/modules/ibm_hardware_firewall_shared.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_hardware_firewall_shared', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs.py b/plugins/modules/ibm_hpcs.py index c148dd6e4..d1eed4e31 100644 --- a/plugins/modules/ibm_hpcs.py +++ b/plugins/modules/ibm_hpcs.py @@ -18,34 +18,51 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - service_endpoints: + name: description: - - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. - required: False + - (Required for new resource) A name for the HPCS instance + required: True type: str - revocation_threshold: + tags: description: - - (Required for new resource) Revocation Threshold Value - required: True - type: int + - None + required: False + type: list + elements: str admins: description: - (Required for new resource) Crypto Unit Administrators required: True type: list elements: dict - location: + units: description: - - (Required for new resource) The location where the HPCS instance available + - (Required for new resource) The number of operational crypto units for your service instance + required: True + type: int + plan: + description: + - (Required for new resource) The plan type of the HPCS Instance required: True type: str - units: + service: description: - - (Required for new resource) The number of operational crypto units for your service instance + - The name of the service offering `hs-crypto` + required: False + type: str + default: hs-crypto + signature_threshold: + description: + - (Required for new resource) Signature Threshold Value + required: True + type: int + revocation_threshold: + description: + - (Required for new resource) Revocation Threshold Value required: True type: int resource_group_id: @@ -58,38 +75,21 @@ - URL of signing service required: False type: str - name: - description: - - (Required for new resource) A name for the HPCS instance - required: True - type: str - tags: - description: - - None - required: False - type: list - elements: str - plan: + location: description: - - (Required for new resource) The plan type of the HPCS Instance + - (Required for new resource) The location where the HPCS instance available required: True type: str - service: - description: - - The name of the service offering `hs-crypto` - required: False - type: str - default: hs-crypto failover_units: description: - The number of failover crypto units for your service instance required: False type: int - signature_threshold: + service_endpoints: description: - - (Required for new resource) Signature Threshold Value - required: True - type: int + - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -136,30 +136,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('revocation_threshold', 'int'), + ('name', 'str'), ('admins', 'list'), - ('location', 'str'), ('units', 'int'), - ('name', 'str'), ('plan', 'str'), ('signature_threshold', 'int'), + ('revocation_threshold', 'int'), + ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service_endpoints', - 'revocation_threshold', - 'admins', - 'location', - 'units', - 'resource_group_id', - 'signature_server_url', 'name', 'tags', + 'admins', + 'units', 'plan', 'service', - 'failover_units', 'signature_threshold', + 'revocation_threshold', + 'resource_group_id', + 'signature_server_url', + 'location', + 'failover_units', + 'service_endpoints', ] # Params for Data source @@ -168,10 +168,10 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'resource_group_id', 'location', 'service', - 'name', ] TL_CONFLICTS_MAP = { @@ -181,47 +181,47 @@ 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_endpoints=dict( + name=dict( required=False, type='str'), - revocation_threshold=dict( + tags=dict( required=False, - type='int'), + elements='', + type='list'), admins=dict( required=False, elements='', type='list'), - location=dict( - required=False, - type='str'), units=dict( required=False, type='int'), - resource_group_id=dict( + plan=dict( required=False, type='str'), - signature_server_url=dict( + service=dict( required=False, type='str'), - name=dict( + signature_threshold=dict( required=False, - type='str'), - tags=dict( + type='int'), + revocation_threshold=dict( required=False, - elements='', - type='list'), - plan=dict( + type='int'), + resource_group_id=dict( required=False, type='str'), - service=dict( + signature_server_url=dict( + required=False, + type='str'), + location=dict( required=False, type='str'), failover_units=dict( required=False, type='int'), - signature_threshold=dict( + service_endpoints=dict( required=False, - type='int'), + type='str'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_hpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -296,7 +296,7 @@ def run_module(): resource_type='ibm_hpcs', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_info.py b/plugins/modules/ibm_hpcs_info.py index f066439cd..c1ae353d5 100644 --- a/plugins/modules/ibm_hpcs_info.py +++ b/plugins/modules/ibm_hpcs_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - Resource instance name for example, myobjectstorage + required: True + type: str resource_group_id: description: - The id of the resource group in which the instance is present @@ -37,11 +42,6 @@ required: False type: str default: hs-crypto - name: - description: - - Resource instance name for example, myobjectstorage - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -80,10 +80,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'resource_group_id', 'location', 'service', - 'name', ] @@ -94,6 +94,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( + name=dict( + required=True, + type='str'), resource_group_id=dict( required=False, type='str'), @@ -103,9 +106,6 @@ service=dict( required=False, type='str'), - name=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_hpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_key_template.py b/plugins/modules/ibm_hpcs_key_template.py index f64968f01..301084421 100644 --- a/plugins/modules/ibm_hpcs_key_template.py +++ b/plugins/modules/ibm_hpcs_key_template.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_key_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - uko_vault: + name: description: - - (Required for new resource) The UUID of the Vault in which the update is to take place. + - (Required for new resource) Name of the template, it will be referenced when creating managed keys. required: True type: str keystores: @@ -33,21 +33,6 @@ required: True type: list elements: dict - description: - description: - - Description of the key template. - required: False - type: str - region: - description: - - (Required for new resource) The region of the UKO instance this resource exists in. - required: True - type: str - name: - description: - - (Required for new resource) Name of the template, it will be referenced when creating managed keys. - required: True - type: str instance_id: description: - (Required for new resource) The ID of the UKO instance this resource exists in. @@ -59,12 +44,27 @@ required: True type: list elements: dict + region: + description: + - (Required for new resource) The region of the UKO instance this resource exists in. + required: True + type: str + uko_vault: + description: + - (Required for new resource) The UUID of the Vault in which the update is to take place. + required: True + type: str key: description: - (Required for new resource) Properties describing the properties of the managed key. required: True type: list elements: dict + description: + description: + - Description of the key template. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,40 +111,40 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('uko_vault', 'str'), - ('keystores', 'list'), - ('region', 'str'), ('name', 'str'), + ('keystores', 'list'), ('instance_id', 'str'), ('vault', 'list'), + ('region', 'str'), + ('uko_vault', 'str'), ('key', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'uko_vault', - 'keystores', - 'description', - 'region', 'name', + 'keystores', 'instance_id', 'vault', + 'region', + 'uko_vault', 'key', + 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('uko_vault', 'str'), ('instance_id', 'str'), - ('template_id', 'str'), ('region', 'str'), + ('template_id', 'str'), + ('uko_vault', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'uko_vault', 'instance_id', - 'template_id', 'region', + 'template_id', + 'uko_vault', ] TL_CONFLICTS_MAP = { @@ -154,22 +154,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( - uko_vault=dict( + name=dict( required=False, type='str'), keystores=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), - region=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), instance_id=dict( required=False, type='str'), @@ -177,10 +168,19 @@ required=False, elements='', type='list'), + region=dict( + required=False, + type='str'), + uko_vault=dict( + required=False, + type='str'), key=dict( required=False, elements='', type='list'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_hpcs_key_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_hpcs_key_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_key_template_info.py b/plugins/modules/ibm_hpcs_key_template_info.py index 230535a6b..c26397c18 100644 --- a/plugins/modules/ibm_hpcs_key_template_info.py +++ b/plugins/modules/ibm_hpcs_key_template_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_key_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - uko_vault: + instance_id: description: - - The UUID of the Vault in which the update is to take place. + - The ID of the UKO instance this resource exists in. required: True type: str - instance_id: + region: description: - - The ID of the UKO instance this resource exists in. + - The region of the UKO instance this resource exists in. required: True type: str template_id: @@ -36,9 +36,9 @@ - UUID of the template. required: True type: str - region: + uko_vault: description: - - The region of the UKO instance this resource exists in. + - The UUID of the Vault in which the update is to take place. required: True type: str iaas_classic_username: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('uko_vault', 'str'), ('instance_id', 'str'), - ('template_id', 'str'), ('region', 'str'), + ('template_id', 'str'), + ('uko_vault', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'uko_vault', 'instance_id', - 'template_id', 'region', + 'template_id', + 'uko_vault', ] @@ -96,16 +96,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( - uko_vault=dict( + instance_id=dict( required=True, type='str'), - instance_id=dict( + region=dict( required=True, type='str'), template_id=dict( required=True, type='str'), - region=dict( + uko_vault=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_key_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_keystore.py b/plugins/modules/ibm_hpcs_keystore.py index 7b975bad7..a6841887a 100644 --- a/plugins/modules/ibm_hpcs_keystore.py +++ b/plugins/modules/ibm_hpcs_keystore.py @@ -18,65 +18,50 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_keystore' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - ibm_key_ring: + instance_id: description: - - The key ring of an IBM Cloud KMS Keystore. - required: False + - (Required for new resource) The ID of the UKO instance this resource exists in. + required: True type: str - description: + aws_region: description: - - Description of the keystore. + - AWS Region. required: False type: str - groups: + vault: description: - - List of groups that this keystore belongs to. - required: False + - (Required for new resource) Reference to a vault. + required: True type: list - elements: str - aws_secret_access_key: + elements: dict + aws_access_key_id: description: - - The secret access key used for connecting to this instance of AWS KMS. + - The access key id used for connecting to this instance of AWS KMS. required: False type: str - azure_tenant: + azure_environment: description: - - Azure tenant that the Key Vault is associated with,. + - Azure environment, usually 'Azure'. required: False type: str - ibm_variant: + ibm_iam_endpoint: description: - - Possible IBM Cloud KMS variants. + - Endpoint of the IAM service for this IBM Cloud keystore. required: False type: str - aws_region: + groups: description: - - AWS Region. + - List of groups that this keystore belongs to. required: False - type: str - vault: - description: - - (Required for new resource) Reference to a vault. - required: True type: list - elements: dict - region: - description: - - (Required for new resource) The region of the UKO instance this resource exists in. - required: True - type: str - uko_vault: - description: - - (Required for new resource) The UUID of the Vault in which the update is to take place. - required: True - type: str - azure_resource_group: + elements: str + ibm_variant: description: - - Resource group in Azure. + - Possible IBM Cloud KMS variants. required: False type: str ibm_api_endpoint: @@ -84,39 +69,39 @@ - API endpoint of the IBM Cloud keystore. required: False type: str - type: - description: - - (Required for new resource) Type of keystore. - required: True - type: str - instance_id: - description: - - (Required for new resource) The ID of the UKO instance this resource exists in. - required: True - type: str azure_location: description: - Location of the Azure Key Vault. required: False type: str + azure_tenant: + description: + - Azure tenant that the Key Vault is associated with,. + required: False + type: str azure_subscription_id: description: - Subscription ID in Azure. required: False type: str - azure_environment: + ibm_instance_id: description: - - Azure environment, usually 'Azure'. + - The instance ID of the IBM Cloud keystore. required: False type: str - ibm_iam_endpoint: + region: description: - - Endpoint of the IAM service for this IBM Cloud keystore. + - (Required for new resource) The region of the UKO instance this resource exists in. + required: True + type: str + azure_resource_group: + description: + - Resource group in Azure. required: False type: str - ibm_api_key: + azure_service_principal_password: description: - - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. + - Azure service principal password. required: False type: str name: @@ -124,29 +109,44 @@ - Name of the target keystore. It can be changed in the future. required: False type: str + ibm_key_ring: + description: + - The key ring of an IBM Cloud KMS Keystore. + required: False + type: str + aws_secret_access_key: + description: + - The secret access key used for connecting to this instance of AWS KMS. + required: False + type: str azure_service_name: description: - Service name of the key vault instance from the Azure portal. required: False type: str - ibm_instance_id: + type: description: - - The instance ID of the IBM Cloud keystore. - required: False + - (Required for new resource) Type of keystore. + required: True type: str azure_service_principal_client_id: description: - Azure service principal client ID. required: False type: str - aws_access_key_id: + ibm_api_key: description: - - The access key id used for connecting to this instance of AWS KMS. + - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. required: False type: str - azure_service_principal_password: + uko_vault: description: - - Azure service principal password. + - (Required for new resource) The UUID of the Vault in which the update is to take place. + required: True + type: str + description: + description: + - Description of the keystore. required: False type: str id: @@ -195,55 +195,55 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('instance_id', 'str'), ('vault', 'list'), ('region', 'str'), - ('uko_vault', 'str'), ('type', 'str'), - ('instance_id', 'str'), + ('uko_vault', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ibm_key_ring', - 'description', - 'groups', - 'aws_secret_access_key', - 'azure_tenant', - 'ibm_variant', + 'instance_id', 'aws_region', 'vault', - 'region', - 'uko_vault', - 'azure_resource_group', + 'aws_access_key_id', + 'azure_environment', + 'ibm_iam_endpoint', + 'groups', + 'ibm_variant', 'ibm_api_endpoint', - 'type', - 'instance_id', 'azure_location', + 'azure_tenant', 'azure_subscription_id', - 'azure_environment', - 'ibm_iam_endpoint', - 'ibm_api_key', + 'ibm_instance_id', + 'region', + 'azure_resource_group', + 'azure_service_principal_password', 'name', + 'ibm_key_ring', + 'aws_secret_access_key', 'azure_service_name', - 'ibm_instance_id', + 'type', 'azure_service_principal_client_id', - 'aws_access_key_id', - 'azure_service_principal_password', + 'ibm_api_key', + 'uko_vault', + 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('region', 'str'), + ('keystore_id', 'str'), ('instance_id', 'str'), ('uko_vault', 'str'), - ('keystore_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'region', + 'keystore_id', 'instance_id', 'uko_vault', - 'keystore_id', ] TL_CONFLICTS_MAP = { @@ -253,81 +253,81 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ibm_key_ring=dict( + instance_id=dict( required=False, type='str'), - description=dict( + aws_region=dict( required=False, type='str'), - groups=dict( + vault=dict( required=False, elements='', type='list'), - aws_secret_access_key=dict( - required=False, - type='str'), - azure_tenant=dict( + aws_access_key_id=dict( required=False, type='str'), - ibm_variant=dict( + azure_environment=dict( required=False, type='str'), - aws_region=dict( + ibm_iam_endpoint=dict( required=False, type='str'), - vault=dict( + groups=dict( required=False, elements='', type='list'), - region=dict( + ibm_variant=dict( required=False, type='str'), - uko_vault=dict( + ibm_api_endpoint=dict( required=False, type='str'), - azure_resource_group=dict( + azure_location=dict( required=False, type='str'), - ibm_api_endpoint=dict( + azure_tenant=dict( required=False, type='str'), - type=dict( + azure_subscription_id=dict( required=False, type='str'), - instance_id=dict( + ibm_instance_id=dict( required=False, type='str'), - azure_location=dict( + region=dict( required=False, type='str'), - azure_subscription_id=dict( + azure_resource_group=dict( required=False, type='str'), - azure_environment=dict( + azure_service_principal_password=dict( required=False, type='str'), - ibm_iam_endpoint=dict( + name=dict( required=False, type='str'), - ibm_api_key=dict( + ibm_key_ring=dict( required=False, type='str'), - name=dict( + aws_secret_access_key=dict( required=False, type='str'), azure_service_name=dict( required=False, type='str'), - ibm_instance_id=dict( + type=dict( required=False, type='str'), azure_service_principal_client_id=dict( required=False, type='str'), - aws_access_key_id=dict( + ibm_api_key=dict( required=False, type='str'), - azure_service_principal_password=dict( + uko_vault=dict( + required=False, + type='str'), + description=dict( required=False, type='str'), id=dict( @@ -395,7 +395,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -404,7 +404,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_keystore_info.py b/plugins/modules/ibm_hpcs_keystore_info.py index be955b09d..d491be986 100644 --- a/plugins/modules/ibm_hpcs_keystore_info.py +++ b/plugins/modules/ibm_hpcs_keystore_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_keystore' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,6 +26,11 @@ - The region of the UKO instance this resource exists in. required: True type: str + keystore_id: + description: + - UUID of the keystore. + required: True + type: str instance_id: description: - The ID of the UKO instance this resource exists in. @@ -36,11 +41,6 @@ - The UUID of the Vault in which the update is to take place. required: True type: str - keystore_id: - description: - - UUID of the keystore. - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -75,17 +75,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('region', 'str'), + ('keystore_id', 'str'), ('instance_id', 'str'), ('uko_vault', 'str'), - ('keystore_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'region', + 'keystore_id', 'instance_id', 'uko_vault', - 'keystore_id', ] @@ -99,13 +99,13 @@ region=dict( required=True, type='str'), - instance_id=dict( + keystore_id=dict( required=True, type='str'), - uko_vault=dict( + instance_id=dict( required=True, type='str'), - keystore_id=dict( + uko_vault=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_managed_key.py b/plugins/modules/ibm_hpcs_managed_key.py index c4543ebbc..395652695 100644 --- a/plugins/modules/ibm_hpcs_managed_key.py +++ b/plugins/modules/ibm_hpcs_managed_key.py @@ -18,23 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_managed_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - state_: + tags: description: - - The state of the key. + - Key-value pairs associated with the key. required: False - type: str + type: list + elements: dict uko_vault: description: - (Required for new resource) The UUID of the Vault in which the update is to take place. required: True type: str - instance_id: + label: description: - - (Required for new resource) The ID of the UKO instance this resource exists in. + - (Required for new resource) The label of the key. required: True type: str template_name: @@ -42,33 +43,32 @@ - Name of the key template to use when creating a key. required: False type: str - vault: - description: - - (Required for new resource) ID of the Vault where the entity is to be created in. - required: True - type: list - elements: dict - tags: + state_: description: - - Key-value pairs associated with the key. + - The state of the key. required: False - type: list - elements: dict + type: str region: description: - (Required for new resource) The region of the UKO instance this resource exists in. required: True type: str - label: - description: - - (Required for new resource) The label of the key. - required: True - type: str description: description: - Description of the managed key. required: False type: str + instance_id: + description: + - (Required for new resource) The ID of the UKO instance this resource exists in. + required: True + type: str + vault: + description: + - (Required for new resource) ID of the Vault where the entity is to be created in. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,38 +116,38 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('uko_vault', 'str'), + ('label', 'str'), + ('region', 'str'), ('instance_id', 'str'), ('vault', 'list'), - ('region', 'str'), - ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'state_', + 'tags', 'uko_vault', - 'instance_id', + 'label', 'template_name', - 'vault', - 'tags', + 'state_', 'region', - 'label', 'description', + 'instance_id', + 'vault', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('key_id', 'str'), ('instance_id', 'str'), - ('uko_vault', 'str'), ('region', 'str'), - ('key_id', 'str'), + ('uko_vault', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'key_id', 'instance_id', - 'uko_vault', 'region', - 'key_id', + 'uko_vault', ] TL_CONFLICTS_MAP = { @@ -157,35 +157,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( - state_=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), uko_vault=dict( required=False, type='str'), - instance_id=dict( + label=dict( required=False, type='str'), template_name=dict( required=False, type='str'), - vault=dict( - required=False, - elements='', - type='list'), - tags=dict( + state_=dict( required=False, - elements='', - type='list'), + type='str'), region=dict( required=False, type='str'), - label=dict( + description=dict( required=False, type='str'), - description=dict( + instance_id=dict( required=False, type='str'), + vault=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -251,7 +251,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -260,7 +260,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_managed_key_info.py b/plugins/modules/ibm_hpcs_managed_key_info.py index c0d8e2808..130dc1cf7 100644 --- a/plugins/modules/ibm_hpcs_managed_key_info.py +++ b/plugins/modules/ibm_hpcs_managed_key_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_managed_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_id: + key_id: description: - - The ID of the UKO instance this resource exists in. + - UUID of the key. required: True type: str - uko_vault: + instance_id: description: - - The UUID of the Vault in which the update is to take place. + - The ID of the UKO instance this resource exists in. required: True type: str region: @@ -36,9 +36,9 @@ - The region of the UKO instance this resource exists in. required: True type: str - key_id: + uko_vault: description: - - UUID of the key. + - The UUID of the Vault in which the update is to take place. required: True type: str iaas_classic_username: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('key_id', 'str'), ('instance_id', 'str'), - ('uko_vault', 'str'), ('region', 'str'), - ('key_id', 'str'), + ('uko_vault', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'key_id', 'instance_id', - 'uko_vault', 'region', - 'key_id', + 'uko_vault', ] @@ -96,16 +96,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( + key_id=dict( required=True, type='str'), - uko_vault=dict( + instance_id=dict( required=True, type='str'), region=dict( required=True, type='str'), - key_id=dict( + uko_vault=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_vault.py b/plugins/modules/ibm_hpcs_vault.py index bb1d02777..38f365e30 100644 --- a/plugins/modules/ibm_hpcs_vault.py +++ b/plugins/modules/ibm_hpcs_vault.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_vault' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -104,14 +104,14 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('instance_id', 'str'), - ('region', 'str'), ('vault_id', 'str'), + ('region', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'instance_id', - 'region', 'vault_id', + 'region', ] TL_CONFLICTS_MAP = { @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_vault_info.py b/plugins/modules/ibm_hpcs_vault_info.py index e6331a110..09a2c5ce2 100644 --- a/plugins/modules/ibm_hpcs_vault_info.py +++ b/plugins/modules/ibm_hpcs_vault_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_vault' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - The ID of the UKO instance this resource exists in. required: True type: str - region: + vault_id: description: - - The region of the UKO instance this resource exists in. + - UUID of the vault. required: True type: str - vault_id: + region: description: - - UUID of the vault. + - The region of the UKO instance this resource exists in. required: True type: str iaas_classic_username: @@ -70,15 +70,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), - ('region', 'str'), ('vault_id', 'str'), + ('region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_id', - 'region', 'vault_id', + 'region', ] @@ -92,10 +92,10 @@ instance_id=dict( required=True, type='str'), - region=dict( + vault_id=dict( required=True, type='str'), - vault_id=dict( + region=dict( required=True, type='str'), iaas_classic_username=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bacf807cf..bd7066709 100644 --- a/plugins/modules/ibm_iam_access_group.py +++ b/plugins/modules/ibm_iam_access_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_iam_access_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_account_settings.py b/plugins/modules/ibm_iam_access_group_account_settings.py index b6d2344a9..c59e6ef0b 100644 --- a/plugins/modules/ibm_iam_access_group_account_settings.py +++ b/plugins/modules/ibm_iam_access_group_account_settings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_account_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_iam_access_group_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_dynamic_rule.py b/plugins/modules/ibm_iam_access_group_dynamic_rule.py index ad9589738..5281dc0e8 100644 --- a/plugins/modules/ibm_iam_access_group_dynamic_rule.py +++ b/plugins/modules/ibm_iam_access_group_dynamic_rule.py @@ -18,10 +18,16 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + conditions: + description: + - (Required for new resource) conditions info + required: True + type: list + elements: dict access_group_id: description: - (Required for new resource) Unique identifier of the access group @@ -42,12 +48,6 @@ - (Required for new resource) The realm name or identity proivider url required: True type: str - conditions: - description: - - (Required for new resource) conditions info - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,20 +94,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('conditions', 'list'), ('access_group_id', 'str'), ('name', 'str'), ('expiration', 'int'), ('identity_provider', 'str'), - ('conditions', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'conditions', 'access_group_id', 'name', 'expiration', 'identity_provider', - 'conditions', ] # Params for Data source @@ -124,6 +124,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( + conditions=dict( + required=False, + elements='', + type='list'), access_group_id=dict( required=False, type='str'), @@ -136,10 +140,6 @@ identity_provider=dict( required=False, type='str'), - conditions=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_iam_access_group_dynamic_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ec47aa1a3..9119053e4 100644 --- a/plugins/modules/ibm_iam_access_group_info.py +++ b/plugins/modules/ibm_iam_access_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_access_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 195cc1333..0dc399b23 100644 --- a/plugins/modules/ibm_iam_access_group_members.py +++ b/plugins/modules/ibm_iam_access_group_members.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_iam_access_group_members', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7d78a7c10..388c1fefd 100644 --- a/plugins/modules/ibm_iam_access_group_policy.py +++ b/plugins/modules/ibm_iam_access_group_policy.py @@ -18,18 +18,40 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + account_management: + description: + - Give access to all account management services + required: False + type: bool + default: False + resource_tags: + description: + - Set access management tags. + required: False + type: list + elements: dict + description: + description: + - Description of the Policy + required: False + type: str + transaction_id: + description: + - Set transactionID for debug + required: False + type: str access_group_id: description: - (Required for new resource) ID of access group required: True type: str - resources: + resource_attributes: description: - - None + - Set resource attributes. required: False type: list elements: dict @@ -39,40 +61,18 @@ required: False type: list elements: str - resource_tags: - description: - - Set access management tags. - required: False - type: list - elements: dict roles: description: - (Required for new resource) Role names of the policy definition required: True type: list elements: str - resource_attributes: + resources: description: - - Set resource attributes. + - None required: False type: list elements: dict - account_management: - description: - - Give access to all account management services - required: False - type: bool - default: False - description: - description: - - Description of the Policy - required: False - type: str - transaction_id: - description: - - Set transactionID for debug - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,15 +125,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'access_group_id', - 'resources', - 'tags', - 'resource_tags', - 'roles', - 'resource_attributes', 'account_management', + 'resource_tags', 'description', 'transaction_id', + 'access_group_id', + 'resource_attributes', + 'tags', + 'roles', + 'resources', ] # Params for Data source @@ -148,27 +148,36 @@ ] TL_CONFLICTS_MAP = { - 'resources': ['account_management', 'resource_attributes'], - 'resource_attributes': ['resources', 'account_management'], 'account_management': ['resources', 'resource_attributes'], + 'resource_attributes': ['resources', 'account_management'], + 'resources': ['account_management', 'resource_attributes'], } # 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( - access_group_id=dict( + account_management=dict( required=False, - type='str'), - resources=dict( + type='bool'), + resource_tags=dict( required=False, elements='', type='list'), - tags=dict( + description=dict( + required=False, + type='str'), + transaction_id=dict( + required=False, + type='str'), + access_group_id=dict( + required=False, + type='str'), + resource_attributes=dict( required=False, elements='', type='list'), - resource_tags=dict( + tags=dict( required=False, elements='', type='list'), @@ -176,19 +185,10 @@ required=False, elements='', type='list'), - resource_attributes=dict( + resources=dict( required=False, elements='', type='list'), - account_management=dict( - required=False, - type='bool'), - description=dict( - required=False, - type='str'), - transaction_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_iam_access_group_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_policy_info.py b/plugins/modules/ibm_iam_access_group_policy_info.py index 5d12d4c5e..9ee08d436 100644 --- a/plugins/modules/ibm_iam_access_group_policy_info.py +++ b/plugins/modules/ibm_iam_access_group_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_access_group_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_account_settings.py b/plugins/modules/ibm_iam_account_settings.py index 35244daf0..79f164a0f 100644 --- a/plugins/modules/ibm_iam_account_settings.py +++ b/plugins/modules/ibm_iam_account_settings.py @@ -18,13 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_account_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - allowed_ip_addresses: + include_history: description: - - Defines the IP addresses and subnets from which IAM tokens can be created for the account. + - Defines if the entity history is included in the response. + required: False + type: bool + default: False + restrict_create_service_id: + description: + - Defines whether or not creating a Service Id is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value. + required: False + type: str + session_expiration_in_seconds: + description: + - Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default. required: False type: str session_invalidation_in_seconds: @@ -32,17 +43,21 @@ - Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default. required: False type: str - include_history: + max_sessions_per_identity: description: - - Defines if the entity history is included in the response. + - Defines the max allowed sessions per identity required by the account. Value values: * Any whole number greater than '0' * NOT_SET - To unset account setting and use service default. required: False - type: bool - default: False + type: str restrict_create_platform_apikey: description: - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value. required: False type: str + allowed_ip_addresses: + description: + - Defines the IP addresses and subnets from which IAM tokens can be created for the account. + required: False + type: str entity_tag: description: - Version of the account settings. @@ -59,21 +74,6 @@ required: False type: str default: * - session_expiration_in_seconds: - description: - - Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default. - required: False - type: str - max_sessions_per_identity: - description: - - Defines the max allowed sessions per identity required by the account. Value values: * Any whole number greater than '0' * NOT_SET - To unset account setting and use service default. - required: False - type: str - restrict_create_service_id: - description: - - Defines whether or not creating a Service Id is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -124,16 +124,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'allowed_ip_addresses', - 'session_invalidation_in_seconds', 'include_history', + 'restrict_create_service_id', + 'session_expiration_in_seconds', + 'session_invalidation_in_seconds', + 'max_sessions_per_identity', 'restrict_create_platform_apikey', + 'allowed_ip_addresses', 'entity_tag', 'mfa', 'if_match', - 'session_expiration_in_seconds', - 'max_sessions_per_identity', - 'restrict_create_service_id', ] # Params for Data source @@ -151,34 +151,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( - allowed_ip_addresses=dict( + include_history=dict( required=False, - type='str'), - session_invalidation_in_seconds=dict( + type='bool'), + restrict_create_service_id=dict( required=False, type='str'), - include_history=dict( + session_expiration_in_seconds=dict( required=False, - type='bool'), - restrict_create_platform_apikey=dict( + type='str'), + session_invalidation_in_seconds=dict( required=False, type='str'), - entity_tag=dict( + max_sessions_per_identity=dict( required=False, type='str'), - mfa=dict( + restrict_create_platform_apikey=dict( required=False, type='str'), - if_match=dict( + allowed_ip_addresses=dict( required=False, type='str'), - session_expiration_in_seconds=dict( + entity_tag=dict( required=False, type='str'), - max_sessions_per_identity=dict( + mfa=dict( required=False, type='str'), - restrict_create_service_id=dict( + if_match=dict( required=False, type='str'), id=dict( @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_iam_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_account_settings_info.py b/plugins/modules/ibm_iam_account_settings_info.py index d1a6dd1b0..ed500766c 100644 --- a/plugins/modules/ibm_iam_account_settings_info.py +++ b/plugins/modules/ibm_iam_account_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_account_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_api_key.py b/plugins/modules/ibm_iam_api_key.py index 4f4eca868..304d33456 100644 --- a/plugins/modules/ibm_iam_api_key.py +++ b/plugins/modules/ibm_iam_api_key.py @@ -18,33 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_api_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + apikey: + description: + - You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. + required: False + type: str store_value: description: - Send true or false to set whether the API key value is retrievable in the future by using the Get details of an API key request. If you create an API key for a user, you must specify `false` or omit the value. We don't allow storing of API keys for users. required: False type: bool - description: - description: - - The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. - required: False - type: str name: description: - (Required for new resource) Name of the API key. The name is not checked for uniqueness. Therefore multiple names with the same value can exist. Access is done via the UUID of the API key. required: True type: str - apikey: + file: description: - - You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. + - File where api key is to be stored required: False type: str - file: + description: description: - - File where api key is to be stored + - The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. required: False type: str entity_lock: @@ -104,11 +104,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'apikey', 'store_value', - 'description', 'name', - 'apikey', 'file', + 'description', 'entity_lock', ] @@ -128,19 +128,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( + apikey=dict( + required=False, + type='str'), store_value=dict( required=False, type='bool'), - description=dict( - required=False, - type='str'), name=dict( required=False, type='str'), - apikey=dict( + file=dict( required=False, type='str'), - file=dict( + description=dict( required=False, type='str'), entity_lock=dict( @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_api_key_info.py b/plugins/modules/ibm_iam_api_key_info.py index 5ed38e389..b3389b1f9 100644 --- a/plugins/modules/ibm_iam_api_key_info.py +++ b/plugins/modules/ibm_iam_api_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_api_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6912f9864..d29befb69 100644 --- a/plugins/modules/ibm_iam_auth_token_info.py +++ b/plugins/modules/ibm_iam_auth_token_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_auth_token' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_iam_auth_token', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_authorization_policies_info.py b/plugins/modules/ibm_iam_authorization_policies_info.py index 353bff293..73ab4680c 100644 --- a/plugins/modules/ibm_iam_authorization_policies_info.py +++ b/plugins/modules/ibm_iam_authorization_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_authorization_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_iam_authorization_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f40d4c75c..9639df8bd 100644 --- a/plugins/modules/ibm_iam_authorization_policy.py +++ b/plugins/modules/ibm_iam_authorization_policy.py @@ -18,36 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - source_resource_group_id: - description: - - The source resource group Id - required: False - type: str - target_resource_group_id: - description: - - The target resource group Id - required: False - type: str - source_service_account: - description: - - Account GUID of source service - required: False - type: str - description: + source_service_name: description: - - Description of the Policy + - The source service name required: False type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str source_resource_type: description: - Resource type of source service @@ -59,19 +38,25 @@ required: False type: list elements: dict - target_service_name: + roles: description: - - The target service name + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str + source_resource_group_id: + description: + - The source resource group Id required: False type: str - source_resource_instance_id: + target_resource_group_id: description: - - The source resource instance Id + - The target resource group Id required: False type: str - target_resource_type: + source_service_account: description: - - Resource type of target service + - Account GUID of source service required: False type: str subject_attributes: @@ -80,9 +65,19 @@ required: False type: list elements: dict - source_service_name: + description: description: - - The source service name + - Description of the Policy + required: False + type: str + transaction_id: + description: + - Set transactionID for debug + required: False + type: str + source_resource_instance_id: + description: + - The source resource instance Id required: False type: str target_resource_instance_id: @@ -90,9 +85,14 @@ - The target resource instance Id required: False type: str - transaction_id: + target_service_name: description: - - Set transactionID for debug + - The target service name + required: False + type: str + target_resource_type: + description: + - Resource type of target service required: False type: str id: @@ -146,20 +146,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'source_service_name', + 'source_resource_type', + 'resource_attributes', + 'roles', 'source_resource_group_id', 'target_resource_group_id', 'source_service_account', + 'subject_attributes', 'description', - 'roles', - 'source_resource_type', - 'resource_attributes', - 'target_service_name', + 'transaction_id', 'source_resource_instance_id', - 'target_resource_type', - 'subject_attributes', - 'source_service_name', 'target_resource_instance_id', - 'transaction_id', + 'target_service_name', + 'target_resource_type', ] # Params for Data source @@ -170,64 +170,64 @@ ] TL_CONFLICTS_MAP = { + 'source_resource_type': ['subject_attributes'], + 'resource_attributes': ['target_resource_instance_id', 'target_resource_group_id', 'target_resource_type'], 'source_resource_group_id': ['subject_attributes'], 'target_resource_group_id': ['resource_attributes'], 'source_service_account': ['subject_attributes'], - 'source_resource_type': ['subject_attributes'], - 'resource_attributes': ['target_resource_instance_id', 'target_resource_group_id', 'target_resource_type'], - 'source_resource_instance_id': ['subject_attributes'], - 'target_resource_type': ['resource_attributes'], 'subject_attributes': ['source_resource_instance_id', 'source_resource_group_id', 'source_resource_type', 'source_service_account'], + 'source_resource_instance_id': ['subject_attributes'], 'target_resource_instance_id': ['resource_attributes'], + 'target_resource_type': ['resource_attributes'], } # 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( - source_resource_group_id=dict( - required=False, - type='str'), - target_resource_group_id=dict( - required=False, - type='str'), - source_service_account=dict( + source_service_name=dict( required=False, type='str'), - description=dict( + source_resource_type=dict( required=False, type='str'), - roles=dict( + resource_attributes=dict( required=False, elements='', type='list'), - source_resource_type=dict( - required=False, - type='str'), - resource_attributes=dict( + roles=dict( required=False, elements='', type='list'), - target_service_name=dict( + source_resource_group_id=dict( required=False, type='str'), - source_resource_instance_id=dict( + target_resource_group_id=dict( required=False, type='str'), - target_resource_type=dict( + source_service_account=dict( required=False, type='str'), subject_attributes=dict( required=False, elements='', type='list'), - source_service_name=dict( + description=dict( + required=False, + type='str'), + transaction_id=dict( + required=False, + type='str'), + source_resource_instance_id=dict( required=False, type='str'), target_resource_instance_id=dict( required=False, type='str'), - transaction_id=dict( + target_service_name=dict( + required=False, + type='str'), + target_resource_type=dict( required=False, type='str'), id=dict( @@ -295,7 +295,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 eb566ed5a..6bea30841 100644 --- a/plugins/modules/ibm_iam_authorization_policy_detach.py +++ b/plugins/modules/ibm_iam_authorization_policy_detach.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy_detach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f0db2d352..7c6baf2a8 100644 --- a/plugins/modules/ibm_iam_custom_role.py +++ b/plugins/modules/ibm_iam_custom_role.py @@ -18,10 +18,21 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + display_name: + description: + - (Required for new resource) Display Name of the Custom Role + required: True + type: str + actions: + description: + - (Required for new resource) The actions of the role + required: True + type: list + elements: str name: description: - (Required for new resource) The name of the custom Role @@ -37,17 +48,6 @@ - (Required for new resource) The Service Name required: True type: str - display_name: - description: - - (Required for new resource) Display Name of the Custom Role - required: True - type: str - actions: - description: - - (Required for new resource) The actions of the role - required: True - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,19 +94,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('service', 'str'), ('display_name', 'str'), ('actions', 'list'), + ('name', 'str'), + ('service', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'display_name', + 'actions', 'name', 'description', 'service', - 'display_name', - 'actions', ] # Params for Data source @@ -123,6 +123,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( + display_name=dict( + required=False, + type='str'), + actions=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), @@ -132,13 +139,6 @@ service=dict( required=False, type='str'), - display_name=dict( - required=False, - type='str'), - actions=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_iam_custom_role', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8e641abc5..f0c83de98 100644 --- a/plugins/modules/ibm_iam_role_actions_info.py +++ b/plugins/modules/ibm_iam_role_actions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_role_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_role_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8e7a03420..e098d52a7 100644 --- a/plugins/modules/ibm_iam_roles_info.py +++ b/plugins/modules/ibm_iam_roles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_iam_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9b30c9abc..4d4193d54 100644 --- a/plugins/modules/ibm_iam_service_api_key.py +++ b/plugins/modules/ibm_iam_service_api_key.py @@ -18,33 +18,28 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + 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 required: True type: str - 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: description: - - File where api key is to be stored + - description of the API key required: False type: str - description: + apikey: description: - - description of the API key + - API key value for this API key required: False type: str iam_service_id: @@ -52,11 +47,16 @@ - (Required for new resource) The service iam_id that this API key authenticates required: True type: str - apikey: + locked: description: - - API key value for this API key + - The API key cannot be changed if set to true required: False - type: str + type: bool + store_value: + description: + - Boolean value deciding whether API key value is retrievable in the future + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -109,13 +109,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'locked', - 'store_value', 'file', + 'name', 'description', - 'iam_service_id', 'apikey', + 'iam_service_id', + 'locked', + 'store_value', ] # Params for Data source @@ -132,27 +132,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( - name=dict( + file=dict( required=False, type='str'), - locked=dict( - required=False, - type='bool'), - store_value=dict( - required=False, - type='bool'), - file=dict( + name=dict( required=False, type='str'), description=dict( required=False, type='str'), - iam_service_id=dict( + apikey=dict( required=False, type='str'), - apikey=dict( + iam_service_id=dict( required=False, type='str'), + locked=dict( + required=False, + type='bool'), + store_value=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_iam_service_api_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9505743ce..3353afe21 100644 --- a/plugins/modules/ibm_iam_service_id.py +++ b/plugins/modules/ibm_iam_service_id.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_id' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c721fbbda..7b500c7ea 100644 --- a/plugins/modules/ibm_iam_service_id_info.py +++ b/plugins/modules/ibm_iam_service_id_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_id' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ba86d629e..61470fc8d 100644 --- a/plugins/modules/ibm_iam_service_policy.py +++ b/plugins/modules/ibm_iam_service_policy.py @@ -18,19 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_tags: + roles: description: - - Set access management tags. + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str + resource_attributes: + description: + - Set resource attributes. required: False type: list elements: dict - transaction_id: + account_management: description: - - Set transactionID for debug + - Give access to all account management services + required: False + type: bool + default: False + description: + description: + - Description of the Policy required: False type: str iam_service_id: @@ -38,46 +50,34 @@ - UUID of ServiceID required: False type: str - resources: + iam_id: description: - - None + - IAM ID of ServiceID required: False - type: list - elements: dict - resource_attributes: + type: str + resources: description: - - Set resource attributes. + - None required: False type: list elements: dict - account_management: - description: - - Give access to all account management services - required: False - type: bool - default: False tags: description: - None required: False type: list elements: str - description: + resource_tags: description: - - Description of the Policy + - Set access management tags. required: False - type: str - iam_id: + type: list + elements: dict + transaction_id: description: - - IAM ID of ServiceID + - Set transactionID for debug required: False 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. @@ -129,16 +129,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_tags', - 'transaction_id', - 'iam_service_id', - 'resources', + 'roles', 'resource_attributes', 'account_management', - 'tags', 'description', + 'iam_service_id', 'iam_id', - 'roles', + 'resources', + 'tags', + 'resource_tags', + 'transaction_id', ] # Params for Data source @@ -153,50 +153,50 @@ ] TL_CONFLICTS_MAP = { - 'resources': ['account_management', 'resource_attributes'], 'resource_attributes': ['resources', 'account_management'], 'account_management': ['resources', 'resource_attributes'], + 'resources': ['account_management', 'resource_attributes'], } # 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_tags=dict( + roles=dict( required=False, elements='', type='list'), - transaction_id=dict( + resource_attributes=dict( + required=False, + elements='', + type='list'), + account_management=dict( + required=False, + type='bool'), + description=dict( required=False, type='str'), iam_service_id=dict( required=False, type='str'), + iam_id=dict( + required=False, + type='str'), resources=dict( required=False, elements='', type='list'), - resource_attributes=dict( + tags=dict( required=False, elements='', type='list'), - account_management=dict( - required=False, - type='bool'), - tags=dict( + resource_tags=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), - iam_id=dict( + transaction_id=dict( required=False, type='str'), - roles=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -271,7 +271,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8c66fe8bb..e1e1dd524 100644 --- a/plugins/modules/ibm_iam_service_policy_info.py +++ b/plugins/modules/ibm_iam_service_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -138,7 +138,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile.py b/plugins/modules/ibm_iam_trusted_profile.py index ec4b2268e..d706207ed 100644 --- a/plugins/modules/ibm_iam_trusted_profile.py +++ b/plugins/modules/ibm_iam_trusted_profile.py @@ -18,20 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account. - required: True - type: str description: description: - The optional description of the trusted profile. The 'description' property is only available if a description was provided during creation of trusted profile. required: False type: str + name: + description: + - (Required for new resource) Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,8 +83,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'description', + 'name', ] # Params for Data source @@ -103,10 +103,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( + description=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), id=dict( @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_iam_trusted_profile', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_claim_rule.py b/plugins/modules/ibm_iam_trusted_profile_claim_rule.py index 0e34cfe57..0c1f2c926 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rule.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rule.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile_claim_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + profile_id: + description: + - (Required for new resource) ID of the trusted profile to create a claim rule. + required: True + type: str + type: + description: + - (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. + required: True + type: str conditions: description: - (Required for new resource) Conditions of this claim rule. @@ -38,16 +48,6 @@ - The realm name of the Idp this claim rule applies to. This field is required only if the type is specified as 'Profile-SAML'. required: False type: str - profile_id: - description: - - (Required for new resource) ID of the trusted profile to create a claim rule. - required: True - type: str - type: - description: - - (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. - required: True - type: str cr_type: description: - The compute resource type the rule applies to, required only if type is specified as 'Profile-CR'. Valid values are VSI, IKS_SA, ROKS_SA. @@ -104,18 +104,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('conditions', 'list'), ('profile_id', 'str'), ('type', 'str'), + ('conditions', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'profile_id', + 'type', 'conditions', 'name', 'realm_name', - 'profile_id', - 'type', 'cr_type', 'expiration', ] @@ -138,6 +138,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( + profile_id=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), conditions=dict( required=False, elements='', @@ -148,12 +154,6 @@ realm_name=dict( required=False, type='str'), - profile_id=dict( - required=False, - type='str'), - type=dict( - required=False, - type='str'), cr_type=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_iam_trusted_profile_claim_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py b/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py index 8ffed7fcb..a5b557d56 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_claim_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py b/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py index 610d79817..00d16fd2d 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_claim_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_info.py b/plugins/modules/ibm_iam_trusted_profile_info.py index 21cca115b..a2761d4be 100644 --- a/plugins/modules/ibm_iam_trusted_profile_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_link.py b/plugins/modules/ibm_iam_trusted_profile_link.py index a6006e3ee..d08fa1b20 100644 --- a/plugins/modules/ibm_iam_trusted_profile_link.py +++ b/plugins/modules/ibm_iam_trusted_profile_link.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile_link' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_link', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_link_info.py b/plugins/modules/ibm_iam_trusted_profile_link_info.py index 76801f0ba..9a4b3c042 100644 --- a/plugins/modules/ibm_iam_trusted_profile_link_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_link_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_link' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_links_info.py b/plugins/modules/ibm_iam_trusted_profile_links_info.py index 461c4ebd4..b47a8c7a8 100644 --- a/plugins/modules/ibm_iam_trusted_profile_links_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_links_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_links' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_links', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_policy.py b/plugins/modules/ibm_iam_trusted_profile_policy.py index 35c43e4af..2844ed838 100644 --- a/plugins/modules/ibm_iam_trusted_profile_policy.py +++ b/plugins/modules/ibm_iam_trusted_profile_policy.py @@ -18,60 +18,60 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str - resource_tags: - description: - - Set access management tags. - required: False - type: list - elements: dict description: description: - Description of the Policy required: False type: str + transaction_id: + description: + - Set transactionID for debug + required: False + type: str profile_id: description: - UUID of Trusted Profile required: False type: str - roles: + resources: description: - - (Required for new resource) Role names of the policy definition - required: True + - None + required: False type: list - elements: str + elements: dict resource_attributes: description: - Set resource attributes. required: False type: list elements: dict - transaction_id: + tags: description: - - Set transactionID for debug + - None required: False - type: str + type: list + elements: str + resource_tags: + description: + - Set access management tags. + required: False + type: list + elements: dict iam_id: description: - IAM ID of Trusted Profile required: False type: str - resources: + roles: description: - - None - required: False + - (Required for new resource) Role names of the policy definition + required: True type: list - elements: dict + elements: str account_management: description: - Give access to all account management services @@ -129,15 +129,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'resource_tags', 'description', + 'transaction_id', 'profile_id', - 'roles', + 'resources', 'resource_attributes', - 'transaction_id', + 'tags', + 'resource_tags', 'iam_id', - 'resources', + 'roles', 'account_management', ] @@ -153,8 +153,8 @@ ] TL_CONFLICTS_MAP = { - 'resource_attributes': ['resources', 'account_management'], 'resources': ['account_management', 'resource_attributes'], + 'resource_attributes': ['resources', 'account_management'], 'account_management': ['resources', 'resource_attributes'], } @@ -162,21 +162,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'), - resource_tags=dict( - required=False, - elements='', - type='list'), description=dict( required=False, type='str'), + transaction_id=dict( + required=False, + type='str'), profile_id=dict( required=False, type='str'), - roles=dict( + resources=dict( required=False, elements='', type='list'), @@ -184,13 +179,18 @@ required=False, elements='', type='list'), - transaction_id=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), + resource_tags=dict( + required=False, + elements='', + type='list'), iam_id=dict( required=False, type='str'), - resources=dict( + roles=dict( required=False, elements='', type='list'), @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -271,7 +271,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_policy_info.py b/plugins/modules/ibm_iam_trusted_profile_policy_info.py index 1fbb87ee7..e5dade635 100644 --- a/plugins/modules/ibm_iam_trusted_profile_policy_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -138,7 +138,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profiles_info.py b/plugins/modules/ibm_iam_trusted_profiles_info.py index f1d11e630..4ff689049 100644 --- a/plugins/modules/ibm_iam_trusted_profiles_info.py +++ b/plugins/modules/ibm_iam_trusted_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_iam_trusted_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a1344de9a..e6fa40542 100644 --- a/plugins/modules/ibm_iam_user_invite.py +++ b/plugins/modules/ibm_iam_user_invite.py @@ -18,10 +18,22 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + classic_infra_roles: + description: + - None + required: False + type: list + elements: dict + cloud_foundry_roles: + description: + - None + required: False + type: list + elements: dict users: description: - (Required for new resource) List of ibm id or email of user @@ -40,18 +52,6 @@ required: False type: list elements: dict - classic_infra_roles: - description: - - None - required: False - type: list - elements: dict - cloud_foundry_roles: - description: - - None - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,11 +103,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'classic_infra_roles', + 'cloud_foundry_roles', 'users', 'access_groups', 'iam_policy', - 'classic_infra_roles', - 'cloud_foundry_roles', ] # Params for Data source @@ -124,23 +124,23 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - users=dict( + classic_infra_roles=dict( required=False, elements='', type='list'), - access_groups=dict( + cloud_foundry_roles=dict( required=False, elements='', type='list'), - iam_policy=dict( + users=dict( required=False, elements='', type='list'), - classic_infra_roles=dict( + access_groups=dict( required=False, elements='', type='list'), - cloud_foundry_roles=dict( + iam_policy=dict( required=False, elements='', type='list'), @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_iam_user_invite', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bb689a264..3658d585a 100644 --- a/plugins/modules/ibm_iam_user_policy.py +++ b/plugins/modules/ibm_iam_user_policy.py @@ -18,24 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_attributes: + description: + - Set resource attributes. + required: False + type: list + elements: dict tags: description: - None required: False type: list elements: str - description: + resource_tags: description: - - Description of the Policy + - Set access management tags. required: False - type: str - transaction_id: + type: list + elements: dict + description: description: - - Set transactionID for debug + - Description of the Policy required: False type: str ibm_id: @@ -55,24 +62,17 @@ required: False type: list elements: dict - resource_attributes: - description: - - Set resource attributes. - required: False - type: list - elements: dict account_management: description: - Give access to all account management services required: False type: bool default: False - resource_tags: + transaction_id: description: - - Set access management tags. + - Set transactionID for debug required: False - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,15 +125,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_attributes', 'tags', + 'resource_tags', 'description', - 'transaction_id', 'ibm_id', 'roles', 'resources', - 'resource_attributes', 'account_management', - 'resource_tags', + 'transaction_id', ] # Params for Data source @@ -148,8 +148,8 @@ ] TL_CONFLICTS_MAP = { - 'resources': ['account_management', 'resource_attributes'], 'resource_attributes': ['resources', 'account_management'], + 'resources': ['account_management', 'resource_attributes'], 'account_management': ['resources', 'resource_attributes'], } @@ -157,14 +157,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( + resource_attributes=dict( + required=False, + elements='', + type='list'), tags=dict( required=False, elements='', type='list'), - description=dict( + resource_tags=dict( required=False, - type='str'), - transaction_id=dict( + elements='', + type='list'), + description=dict( required=False, type='str'), ibm_id=dict( @@ -178,17 +183,12 @@ required=False, elements='', type='list'), - resource_attributes=dict( - required=False, - elements='', - type='list'), account_management=dict( required=False, type='bool'), - resource_tags=dict( + transaction_id=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_iam_user_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b09f94b60..534f84626 100644 --- a/plugins/modules/ibm_iam_user_policy_info.py +++ b/plugins/modules/ibm_iam_user_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_user_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 eb370a1f8..1f31a2ff6 100644 --- a/plugins/modules/ibm_iam_user_profile_info.py +++ b/plugins/modules/ibm_iam_user_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_user_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_user_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fd4034442..87e78edeb 100644 --- a/plugins/modules/ibm_iam_user_settings.py +++ b/plugins/modules/ibm_iam_user_settings.py @@ -18,21 +18,21 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - iam_id: - description: - - (Required for new resource) User's IAM ID or or email of user - required: True - type: str allowed_ip_addresses: description: - List of allowed IPv4 or IPv6 addresses required: False type: list elements: str + iam_id: + description: + - (Required for new resource) User's IAM ID or or email of user + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,8 +84,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'iam_id', 'allowed_ip_addresses', + 'iam_id', ] # Params for Data source @@ -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( - iam_id=dict( - required=False, - type='str'), allowed_ip_addresses=dict( required=False, elements='', type='list'), + iam_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_iam_user_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 94e1e2ee9..7ed3d5ceb 100644 --- a/plugins/modules/ibm_iam_users_info.py +++ b/plugins/modules/ibm_iam_users_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_users' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_iam_users', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 091f7239c..5abf04cd3 100644 --- a/plugins/modules/ibm_ipsec_vpn.py +++ b/plugins/modules/ibm_ipsec_vpn.py @@ -18,31 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_ipsec_vpn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - address_translation: + datacenter: description: - - None - required: False - type: list - elements: dict - preshared_key: + - (Required for new resource) Datacenter name + required: True + type: str + customer_peer_ip: description: - - Preshared Key data + - Customer Peer IP Address required: False type: str - service_subnet_id: + internal_subnet_id: description: - - Service subnet ID value + - Internal subnet ID value required: False type: int - datacenter: + remote_subnet_id: description: - - (Required for new resource) Datacenter name - required: True - type: str + - Remote subnet ID value + required: False + type: int + remote_subnet: + description: + - None + required: False + type: list + elements: dict phase_one: description: - None @@ -55,25 +60,20 @@ required: False type: list elements: dict - remote_subnet: + address_translation: description: - None required: False type: list elements: dict - customer_peer_ip: + preshared_key: description: - - Customer Peer IP Address + - Preshared Key data required: False type: str - internal_subnet_id: - description: - - Internal subnet ID value - required: False - type: int - remote_subnet_id: + service_subnet_id: description: - - Remote subnet ID value + - Service subnet ID value required: False type: int id: @@ -127,16 +127,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'address_translation', - 'preshared_key', - 'service_subnet_id', 'datacenter', - 'phase_one', - 'phase_two', - 'remote_subnet', 'customer_peer_ip', 'internal_subnet_id', 'remote_subnet_id', + 'remote_subnet', + 'phase_one', + 'phase_two', + 'address_translation', + 'preshared_key', + 'service_subnet_id', ] # Params for Data source @@ -147,27 +147,30 @@ ] TL_CONFLICTS_MAP = { - 'remote_subnet': ['remote_subnet_id'], 'remote_subnet_id': ['remote_subnet'], + 'remote_subnet': ['remote_subnet_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( - address_translation=dict( + datacenter=dict( required=False, - elements='', - type='list'), - preshared_key=dict( + type='str'), + customer_peer_ip=dict( required=False, type='str'), - service_subnet_id=dict( + internal_subnet_id=dict( required=False, type='int'), - datacenter=dict( + remote_subnet_id=dict( required=False, - type='str'), + type='int'), + remote_subnet=dict( + required=False, + elements='', + type='list'), phase_one=dict( required=False, elements='', @@ -176,17 +179,14 @@ required=False, elements='', type='list'), - remote_subnet=dict( + address_translation=dict( required=False, elements='', type='list'), - customer_peer_ip=dict( + preshared_key=dict( required=False, type='str'), - internal_subnet_id=dict( - required=False, - type='int'), - remote_subnet_id=dict( + service_subnet_id=dict( required=False, type='int'), id=dict( @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_ipsec_vpn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policies_info.py b/plugins/modules/ibm_is_backup_policies_info.py index 6e63af1b7..bd828b2f1 100644 --- a/plugins/modules/ibm_is_backup_policies_info.py +++ b/plugins/modules/ibm_is_backup_policies_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_group: + description: + - Filters the collection to resources in the resource group with the specified identifier + required: False + type: str name: description: - Filters the collection to resources with the exact specified name @@ -31,11 +36,6 @@ - Filters the collection to resources with the exact tag value required: False type: str - resource_group: - description: - - Filters the collection to resources in the resource group with the specified identifier - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group', 'name', 'tag', - 'resource_group', ] @@ -86,13 +86,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( + resource_group=dict( required=False, type='str'), - tag=dict( + name=dict( required=False, type='str'), - resource_group=dict( + tag=dict( required=False, type='str'), generation=dict( @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_backup_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy.py b/plugins/modules/ibm_is_backup_policy.py index ca5170c68..2e8dfa255 100644 --- a/plugins/modules/ibm_is_backup_policy.py +++ b/plugins/modules/ibm_is_backup_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_backup_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -107,8 +107,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_is_backup_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_is_backup_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_backup_policy_info.py b/plugins/modules/ibm_is_backup_policy_info.py index c3459027a..069e676e2 100644 --- a/plugins/modules/ibm_is_backup_policy_info.py +++ b/plugins/modules/ibm_is_backup_policy_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - identifier: + name: description: - - The backup policy identifier. + - The unique user-defined name for this backup policy. required: False type: str - name: + identifier: description: - - The unique user-defined name for this backup policy. + - The backup policy identifier. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] @@ -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( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_backup_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy_plan.py b/plugins/modules/ibm_is_backup_policy_plan.py index a67ea14b5..9993bb2ed 100644 --- a/plugins/modules/ibm_is_backup_policy_plan.py +++ b/plugins/modules/ibm_is_backup_policy_plan.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_backup_policy_plan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,6 +27,21 @@ - (Required for new resource) The backup policy identifier. required: True type: str + cron_spec: + description: + - (Required for new resource) The cron specification for the backup schedule. + required: True + type: str + name: + description: + - The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: False + type: str + active: + description: + - Indicates whether the plan is active. + required: False + type: bool attach_user_tags: description: - User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. @@ -39,21 +54,6 @@ required: False type: bool default: True - name: - description: - - The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. - required: False - type: str - cron_spec: - description: - - (Required for new resource) The cron specification for the backup schedule. - required: True - type: str - active: - description: - - Indicates whether the plan is active. - required: False - type: bool deletion_trigger: description: - None @@ -113,11 +113,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'backup_policy_id', - 'attach_user_tags', - 'copy_user_tags', - 'name', 'cron_spec', + 'name', 'active', + 'attach_user_tags', + 'copy_user_tags', 'deletion_trigger', ] @@ -128,8 +128,8 @@ TL_ALL_PARAMETERS_DS = [ 'backup_policy_id', - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -142,22 +142,22 @@ backup_policy_id=dict( required=False, type='str'), - attach_user_tags=dict( - required=False, - elements='', - type='list'), - copy_user_tags=dict( - required=False, - type='bool'), - name=dict( + cron_spec=dict( required=False, type='str'), - cron_spec=dict( + name=dict( required=False, type='str'), active=dict( required=False, type='bool'), + attach_user_tags=dict( + required=False, + elements='', + type='list'), + copy_user_tags=dict( + required=False, + type='bool'), deletion_trigger=dict( required=False, elements='', @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -248,7 +248,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_backup_policy_plan_info.py b/plugins/modules/ibm_is_backup_policy_plan_info.py index 670b5f37c..ac0321d9d 100644 --- a/plugins/modules/ibm_is_backup_policy_plan_info.py +++ b/plugins/modules/ibm_is_backup_policy_plan_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_plan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - The backup policy identifier. required: True type: str - identifier: + name: description: - - The backup policy plan identifier. + - The unique user-defined name for this backup policy plan. required: False type: str - name: + identifier: description: - - The unique user-defined name for this backup policy plan. + - The backup policy plan identifier. required: False type: str generation: @@ -75,8 +75,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'backup_policy_id', - 'identifier', 'name', + 'identifier', ] @@ -90,10 +90,10 @@ backup_policy_id=dict( required=True, type='str'), - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy_plans_info.py b/plugins/modules/ibm_is_backup_policy_plans_info.py index 9e26f90d4..86a5db7cf 100644 --- a/plugins/modules/ibm_is_backup_policy_plans_info.py +++ b/plugins/modules/ibm_is_backup_policy_plans_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_plans' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plans', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server.py b/plugins/modules/ibm_is_bare_metal_server.py index 2eb0d8a9b..2d6e08ece 100644 --- a/plugins/modules/ibm_is_bare_metal_server.py +++ b/plugins/modules/ibm_is_bare_metal_server.py @@ -18,19 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - keys: + delete_type: description: - - (Required for new resource) SSH key Ids for the bare metal server - required: True - type: list - elements: str - name: + - Enables stopping type of the bare metal server before deleting + required: False + type: str + default: hard + user_data: description: - - Bare metal server name + - User data given for the bare metal server + required: False + type: str + resource_group: + description: + - Resource group name required: False type: str primary_network_interface: @@ -39,6 +44,17 @@ required: True type: list elements: dict + tags: + description: + - Tags for the Bare metal server + required: False + type: list + elements: str + name: + description: + - Bare metal server name + required: False + type: str profile: description: - (Required for new resource) profile name @@ -49,22 +65,26 @@ - The VPC the bare metal server is to be a part of required: False type: str - delete_type: + zone: description: - - Enables stopping type of the bare metal server before deleting + - (Required for new resource) Zone name + required: True + type: str + action: + description: + - This restart/start/stops a bare metal server. required: False type: str - default: hard network_interfaces: description: - None required: False type: list elements: dict - tags: + keys: description: - - Tags for the Bare metal server - required: False + - (Required for new resource) SSH key Ids for the bare metal server + required: True type: list elements: str image: @@ -72,26 +92,6 @@ - (Required for new resource) image id required: True type: str - user_data: - description: - - User data given for the bare metal server - required: False - type: str - zone: - description: - - (Required for new resource) Zone name - required: True - type: str - resource_group: - description: - - Resource group name - required: False - type: str - action: - description: - - This restart/start/stops a bare metal server. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -138,28 +138,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('keys', 'list'), ('primary_network_interface', 'list'), ('profile', 'str'), - ('image', 'str'), ('zone', 'str'), + ('keys', 'list'), + ('image', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'keys', - 'name', + 'delete_type', + 'user_data', + 'resource_group', 'primary_network_interface', + 'tags', + 'name', 'profile', 'vpc', - 'delete_type', - 'network_interfaces', - 'tags', - 'image', - 'user_data', 'zone', - 'resource_group', 'action', + 'network_interfaces', + 'keys', + 'image', ] # Params for Data source @@ -167,8 +167,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -178,49 +178,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( - keys=dict( + delete_type=dict( required=False, - elements='', - type='list'), - name=dict( + type='str'), + user_data=dict( + required=False, + type='str'), + resource_group=dict( required=False, type='str'), primary_network_interface=dict( required=False, elements='', type='list'), + tags=dict( + required=False, + elements='', + type='list'), + name=dict( + required=False, + type='str'), profile=dict( required=False, type='str'), vpc=dict( required=False, type='str'), - delete_type=dict( + zone=dict( + required=False, + type='str'), + action=dict( required=False, type='str'), network_interfaces=dict( required=False, elements='', type='list'), - tags=dict( + keys=dict( required=False, elements='', type='list'), image=dict( required=False, type='str'), - user_data=dict( - required=False, - type='str'), - zone=dict( - required=False, - type='str'), - resource_group=dict( - required=False, - type='str'), - action=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -298,7 +298,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -307,7 +307,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_action.py b/plugins/modules/ibm_is_bare_metal_server_action.py index 6a186fb43..ab2d21fb2 100644 --- a/plugins/modules/ibm_is_bare_metal_server_action.py +++ b/plugins/modules/ibm_is_bare_metal_server_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_disk.py b/plugins/modules/ibm_is_bare_metal_server_disk.py index b0200c5ee..5dae5051c 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disk.py +++ b/plugins/modules/ibm_is_bare_metal_server_disk.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_disk' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disk', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_disk_info.py b/plugins/modules/ibm_is_bare_metal_server_disk_info.py index 5e4d59cd8..e110f6cdd 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disk_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_disk_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_disk' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_disks_info.py b/plugins/modules/ibm_is_bare_metal_server_disks_info.py index 0229430ef..0083613a0 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disks_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_disks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_disks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_info.py b/plugins/modules/ibm_is_bare_metal_server_info.py index 3eac5996b..e9370713a 100644 --- a/plugins/modules/ibm_is_bare_metal_server_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + identifier: description: - - Bare metal server name + - None required: False type: str - identifier: + name: description: - - None + - Bare metal server name required: False type: str generation: @@ -68,24 +68,24 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { - 'name': ['identifier'], 'identifier': ['name'], + 'name': ['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( - name=dict( + identifier=dict( required=False, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_initialization_info.py b/plugins/modules/ibm_is_bare_metal_server_initialization_info.py index 3e75646c0..34cc33beb 100644 --- a/plugins/modules/ibm_is_bare_metal_server_initialization_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_initialization_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_initialization' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_initialization', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface.py b/plugins/modules/ibm_is_bare_metal_server_network_interface.py index 1adf9846b..b024975ec 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface.py @@ -18,69 +18,69 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_network_interface' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + bare_metal_server: + description: + - (Required for new resource) Bare metal server identifier + required: True + type: str + allow_ip_spoofing: + description: + - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. + required: False + type: bool + hard_stop: + description: + - Only used for PCI network interfaces, whether to hard/immediately stop server + required: False + type: bool + default: True primary_ip: description: - title: IPv4, The IP address. required: False type: list elements: dict - vlan: - description: - - Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface - required: False - type: int - bare_metal_server: + subnet: description: - - (Required for new resource) Bare metal server identifier + - (Required for new resource) The id of the associated subnet required: True type: str - allowed_vlans: - description: - - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. - required: False - type: list - elements: int allow_interface_to_float: description: - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces. required: False type: bool - name: + enable_infrastructure_nat: description: - - The user-defined name for this network interface + - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. required: False - type: str + type: bool security_groups: description: - Collection of security groups ids required: False type: list elements: str - hard_stop: + allowed_vlans: description: - - Only used for PCI network interfaces, whether to hard/immediately stop server + - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. required: False - type: bool - default: True - enable_infrastructure_nat: + type: list + elements: int + name: description: - - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. + - The user-defined name for this network interface required: False - type: bool - subnet: - description: - - (Required for new resource) The id of the associated subnet - required: True type: str - allow_ip_spoofing: + vlan: description: - - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. + - Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface required: False - type: bool + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -133,76 +133,76 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'primary_ip', - 'vlan', 'bare_metal_server', - 'allowed_vlans', - 'allow_interface_to_float', - 'name', - 'security_groups', + 'allow_ip_spoofing', 'hard_stop', - 'enable_infrastructure_nat', + 'primary_ip', 'subnet', - 'allow_ip_spoofing', + 'allow_interface_to_float', + 'enable_infrastructure_nat', + 'security_groups', + 'allowed_vlans', + 'name', + 'vlan', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('network_interface', 'str'), ('bare_metal_server', 'str'), + ('network_interface', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'network_interface', 'bare_metal_server', + 'network_interface', ] TL_CONFLICTS_MAP = { - 'vlan': ['allowed_vlans'], - 'allowed_vlans': ['allow_interface_to_float', 'vlan'], 'allow_interface_to_float': ['allowed_vlans'], + 'allowed_vlans': ['allow_interface_to_float', 'vlan'], + 'vlan': ['allowed_vlans'], } # 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( - primary_ip=dict( - required=False, - elements='', - type='list'), - vlan=dict( - required=False, - type='int'), bare_metal_server=dict( required=False, type='str'), - allowed_vlans=dict( + allow_ip_spoofing=dict( + required=False, + type='bool'), + hard_stop=dict( + required=False, + type='bool'), + primary_ip=dict( required=False, elements='', type='list'), + subnet=dict( + required=False, + type='str'), allow_interface_to_float=dict( required=False, type='bool'), - name=dict( + enable_infrastructure_nat=dict( required=False, - type='str'), + type='bool'), security_groups=dict( required=False, elements='', type='list'), - hard_stop=dict( - required=False, - type='bool'), - enable_infrastructure_nat=dict( + allowed_vlans=dict( required=False, - type='bool'), - subnet=dict( + elements='', + type='list'), + name=dict( required=False, type='str'), - allow_ip_spoofing=dict( + vlan=dict( required=False, - type='bool'), + type='int'), id=dict( required=False, type='str'), @@ -280,7 +280,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py index 0d5cdbceb..32a35bd09 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py @@ -18,52 +18,52 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_network_interface_allow_float' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - primary_ip: + name: description: - - title: IPv4, The IP address. + - The user-defined name for this network interface required: False - type: list - elements: dict - vlan: + type: str + subnet: description: - - (Required for new resource) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface + - (Required for new resource) The id of the associated subnet required: True - type: int - allow_ip_spoofing: - description: - - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. - required: False - type: bool + type: str bare_metal_server: description: - (Required for new resource) Bare metal server identifier required: True type: str - security_groups: + primary_ip: description: - - Collection of security groups ids + - title: IPv4, The IP address. required: False type: list - elements: str - name: - description: - - The user-defined name for this network interface - required: False - type: str + elements: dict enable_infrastructure_nat: description: - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. required: False type: bool - subnet: + security_groups: description: - - (Required for new resource) The id of the associated subnet + - Collection of security groups ids + required: False + type: list + elements: str + vlan: + description: + - (Required for new resource) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface required: True - type: str + type: int + allow_ip_spoofing: + description: + - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,21 +110,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vlan', 'int'), - ('bare_metal_server', 'str'), ('subnet', 'str'), + ('bare_metal_server', 'str'), + ('vlan', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', + 'subnet', + 'bare_metal_server', 'primary_ip', + 'enable_infrastructure_nat', + 'security_groups', 'vlan', 'allow_ip_spoofing', - 'bare_metal_server', - 'security_groups', - 'name', - 'enable_infrastructure_nat', - 'subnet', ] # Params for Data source @@ -141,32 +141,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( + name=dict( + required=False, + type='str'), + subnet=dict( + required=False, + type='str'), + bare_metal_server=dict( + required=False, + type='str'), primary_ip=dict( required=False, elements='', type='list'), - vlan=dict( - required=False, - type='int'), - allow_ip_spoofing=dict( + enable_infrastructure_nat=dict( required=False, type='bool'), - bare_metal_server=dict( - required=False, - type='str'), security_groups=dict( required=False, elements='', type='list'), - name=dict( + vlan=dict( required=False, - type='str'), - enable_infrastructure_nat=dict( + type='int'), + allow_ip_spoofing=dict( required=False, type='bool'), - subnet=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_allow_float', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py index a07b8ce1b..b9c76f8c7 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,14 +27,14 @@ - (Required for new resource) The floating ip identifier of the network interface associated with the bare metal server required: True type: str - bare_metal_server: + network_interface: description: - - (Required for new resource) Bare metal server identifier + - (Required for new resource) Bare metal server network interface identifier required: True type: str - network_interface: + bare_metal_server: description: - - (Required for new resource) Bare metal server network interface identifier + - (Required for new resource) Bare metal server identifier required: True type: str id: @@ -84,27 +84,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('floating_ip', 'str'), - ('bare_metal_server', 'str'), ('network_interface', 'str'), + ('bare_metal_server', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'floating_ip', - 'bare_metal_server', 'network_interface', + 'bare_metal_server', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('network_interface', 'str'), ('bare_metal_server', 'str'), + ('network_interface', 'str'), ('floating_ip', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'network_interface', 'bare_metal_server', + 'network_interface', 'floating_ip', ] @@ -118,10 +118,10 @@ floating_ip=dict( required=False, type='str'), - bare_metal_server=dict( + network_interface=dict( required=False, type='str'), - network_interface=dict( + bare_metal_server=dict( required=False, type='str'), id=dict( @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_is_bare_metal_server_network_interface_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py index b17a14cd6..6250b75c6 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_interface: + bare_metal_server: description: - - The network interface identifier of bare metal server + - The bare metal server identifier required: True type: str - bare_metal_server: + network_interface: description: - - The bare metal server identifier + - The network interface identifier of bare metal server required: True type: str floating_ip: @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_interface', 'str'), ('bare_metal_server', 'str'), + ('network_interface', 'str'), ('floating_ip', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_interface', 'bare_metal_server', + 'network_interface', 'floating_ip', ] @@ -89,10 +89,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( - network_interface=dict( + bare_metal_server=dict( required=True, type='str'), - bare_metal_server=dict( + network_interface=dict( required=True, type='str'), floating_ip=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py index d2e1fe956..ca02b02f9 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py index d9fc644bb..8d731f153 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_interface: + bare_metal_server: description: - - The bare metal server network interface identifier + - The bare metal server identifier required: True type: str - bare_metal_server: + network_interface: description: - - The bare metal server identifier + - The bare metal server network interface identifier required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_interface', 'str'), ('bare_metal_server', 'str'), + ('network_interface', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_interface', 'bare_metal_server', + 'network_interface', ] @@ -82,10 +82,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( - network_interface=dict( + bare_metal_server=dict( required=True, type='str'), - bare_metal_server=dict( + network_interface=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py index 44453aff0..2547c717d 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_reserved_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py index 9e9ecee9a..dc7c46827 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_reserved_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_reserved_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py index 0606f3951..9ed517faa 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interfaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interfaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_profile_info.py b/plugins/modules/ibm_is_bare_metal_server_profile_info.py index 257db27c7..6dfbd29cf 100644 --- a/plugins/modules/ibm_is_bare_metal_server_profile_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_profiles_info.py b/plugins/modules/ibm_is_bare_metal_server_profiles_info.py index d56c5f9a1..b2c8f8c27 100644 --- a/plugins/modules/ibm_is_bare_metal_server_profiles_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_servers_info.py b/plugins/modules/ibm_is_bare_metal_servers_info.py index a370d59b6..17fe0ada1 100644 --- a/plugins/modules/ibm_is_bare_metal_servers_info.py +++ b/plugins/modules/ibm_is_bare_metal_servers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_servers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_bare_metal_servers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host.py b/plugins/modules/ibm_is_dedicated_host.py index ce213d4da..973690194 100644 --- a/plugins/modules/ibm_is_dedicated_host.py +++ b/plugins/modules/ibm_is_dedicated_host.py @@ -18,28 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + host_group: description: - - The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. - required: False + - (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. + required: True type: str resource_group: description: - The unique identifier for the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. required: False type: str - profile: + name: description: - - (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. - required: True + - The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: False type: str - host_group: + profile: description: - - (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. + - (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. required: True type: str instance_placement_enabled: @@ -94,16 +94,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('profile', 'str'), ('host_group', 'str'), + ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'host_group', 'resource_group', + 'name', 'profile', - 'host_group', 'instance_placement_enabled', ] @@ -115,8 +115,8 @@ TL_ALL_PARAMETERS_DS = [ 'name', - 'resource_group', 'host_group', + 'resource_group', ] TL_CONFLICTS_MAP = { @@ -126,16 +126,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( + host_group=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), - profile=dict( + name=dict( required=False, type='str'), - host_group=dict( + profile=dict( required=False, type='str'), instance_placement_enabled=dict( @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_dedicated_host_disk_info.py b/plugins/modules/ibm_is_dedicated_host_disk_info.py index 2716bcbb6..e4361a45d 100644 --- a/plugins/modules/ibm_is_dedicated_host_disk_info.py +++ b/plugins/modules/ibm_is_dedicated_host_disk_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_disk' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_disk_management.py b/plugins/modules/ibm_is_dedicated_host_disk_management.py index 5a966c638..2a7359d88 100644 --- a/plugins/modules/ibm_is_dedicated_host_disk_management.py +++ b/plugins/modules/ibm_is_dedicated_host_disk_management.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host_disk_management' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_disk_management', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_disks_info.py b/plugins/modules/ibm_is_dedicated_host_disks_info.py index 1adfc63dc..64fc6419f 100644 --- a/plugins/modules/ibm_is_dedicated_host_disks_info.py +++ b/plugins/modules/ibm_is_dedicated_host_disks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_disks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_disks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_group.py b/plugins/modules/ibm_is_dedicated_host_group.py index 252fa931e..6ae15d295 100644 --- a/plugins/modules/ibm_is_dedicated_host_group.py +++ b/plugins/modules/ibm_is_dedicated_host_group.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - zone: + family: description: - - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. + - (Required for new resource) The dedicated host profile family for hosts in this group. required: True type: str name: @@ -32,20 +32,20 @@ - The unique user-defined name for this dedicated host group. If unspecified, the name will be a hyphenated list of randomly-selected words. required: False type: str - resource_group: + zone: description: - - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - required: False + - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. + required: True type: str class_: description: - (Required for new resource) The dedicated host profile class for hosts in this group. required: True type: str - family: + resource_group: description: - - (Required for new resource) The dedicated host profile family for hosts in this group. - required: True + - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + required: False type: str id: description: @@ -93,18 +93,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('family', 'str'), ('zone', 'str'), ('class_', 'str'), - ('family', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', + 'family', 'name', - 'resource_group', + 'zone', 'class_', - 'family', + 'resource_group', ] # Params for Data source @@ -123,19 +123,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( - zone=dict( + family=dict( required=False, type='str'), name=dict( required=False, type='str'), - resource_group=dict( + zone=dict( required=False, type='str'), class_=dict( required=False, type='str'), - family=dict( + resource_group=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_dedicated_host_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_dedicated_host_group_info.py b/plugins/modules/ibm_is_dedicated_host_group_info.py index 628d4c910..a3d54f52d 100644 --- a/plugins/modules/ibm_is_dedicated_host_group_info.py +++ b/plugins/modules/ibm_is_dedicated_host_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_groups_info.py b/plugins/modules/ibm_is_dedicated_host_groups_info.py index 8fcc96a51..d103618c2 100644 --- a/plugins/modules/ibm_is_dedicated_host_groups_info.py +++ b/plugins/modules/ibm_is_dedicated_host_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_info.py b/plugins/modules/ibm_is_dedicated_host_info.py index 62cd59499..5a8ce1879 100644 --- a/plugins/modules/ibm_is_dedicated_host_info.py +++ b/plugins/modules/ibm_is_dedicated_host_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,16 +26,16 @@ - The unique name of this dedicated host required: True type: str - resource_group: - description: - - The unique identifier of the resource group this dedicated host belongs to - required: False - type: str host_group: description: - The unique identifier of the dedicated host group this dedicated host belongs to required: True type: str + resource_group: + description: + - The unique identifier of the resource group this dedicated host belongs to + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -76,8 +76,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'resource_group', 'host_group', + 'resource_group', ] @@ -91,12 +91,12 @@ name=dict( required=True, type='str'), - resource_group=dict( - required=False, - type='str'), host_group=dict( required=True, type='str'), + resource_group=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -143,7 +143,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_profile_info.py b/plugins/modules/ibm_is_dedicated_host_profile_info.py index 0a6ffcf8d..89cdbdd76 100644 --- a/plugins/modules/ibm_is_dedicated_host_profile_info.py +++ b/plugins/modules/ibm_is_dedicated_host_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_profiles_info.py b/plugins/modules/ibm_is_dedicated_host_profiles_info.py index 5c965798f..eb7cb13d2 100644 --- a/plugins/modules/ibm_is_dedicated_host_profiles_info.py +++ b/plugins/modules/ibm_is_dedicated_host_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_hosts_info.py b/plugins/modules/ibm_is_dedicated_hosts_info.py index 0a5c6b2e9..1224ca852 100644 --- a/plugins/modules/ibm_is_dedicated_hosts_info.py +++ b/plugins/modules/ibm_is_dedicated_hosts_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_hosts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_dedicated_hosts', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_endpoint_gateway_targets_info.py b/plugins/modules/ibm_is_endpoint_gateway_targets_info.py index c4a495c2b..ea7dd6c2b 100644 --- a/plugins/modules/ibm_is_endpoint_gateway_targets_info.py +++ b/plugins/modules/ibm_is_endpoint_gateway_targets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_endpoint_gateway_targets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_endpoint_gateway_targets', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d527644b8..3a2ca9ead 100644 --- a/plugins/modules/ibm_is_floating_ip.py +++ b/plugins/modules/ibm_is_floating_ip.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_floating_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of the floating IP - required: True - type: str target: description: - Target info @@ -37,17 +32,22 @@ - Resource group info required: False type: str - zone: - description: - - Zone name - required: False - type: str tags: description: - Floating IP tags required: False type: list elements: str + name: + description: + - (Required for new resource) Name of the floating IP + required: True + type: str + zone: + description: + - Zone name + 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 = [ - 'name', 'target', 'resource_group', - 'zone', 'tags', + 'name', + 'zone', ] # Params for Data source @@ -124,22 +124,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( - required=False, - type='str'), target=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), - zone=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + zone=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5c6de3ebd..e79136dc7 100644 --- a/plugins/modules/ibm_is_floating_ip_info.py +++ b/plugins/modules/ibm_is_floating_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_floating_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_floating_ips_info.py b/plugins/modules/ibm_is_floating_ips_info.py index 4da738082..f836dcc40 100644 --- a/plugins/modules/ibm_is_floating_ips_info.py +++ b/plugins/modules/ibm_is_floating_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_floating_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_floating_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a652bd9e2..b184caafa 100644 --- a/plugins/modules/ibm_is_flow_log.py +++ b/plugins/modules/ibm_is_flow_log.py @@ -18,24 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_is_flow_log' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Flow Log Collector name - required: True - type: str - storage_bucket: - description: - - (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged - required: True - type: str - target: + resource_group: description: - - (Required for new resource) The target id that the flow log collector is to collect flow logs - required: True + - The resource group of flow log + required: False type: str active: description: @@ -43,17 +33,27 @@ required: False type: bool default: True - resource_group: - description: - - The resource group of flow log - required: False - type: str tags: description: - Tags for the VPC Flow logs required: False type: list elements: str + name: + description: + - (Required for new resource) Flow Log Collector name + required: True + 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 + storage_bucket: + description: + - (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,18 +101,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('storage_bucket', 'str'), ('target', 'str'), + ('storage_bucket', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'storage_bucket', - 'target', - 'active', 'resource_group', + 'active', 'tags', + 'name', + 'target', + 'storage_bucket', ] # Params for Data source @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -131,25 +131,25 @@ 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'), - storage_bucket=dict( - required=False, - type='str'), - target=dict( + resource_group=dict( required=False, type='str'), active=dict( required=False, type='bool'), - resource_group=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + target=dict( + required=False, + type='str'), + storage_bucket=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_flow_log', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_flow_log_info.py b/plugins/modules/ibm_is_flow_log_info.py index 2a6af9a28..40a4e4a72 100644 --- a/plugins/modules/ibm_is_flow_log_info.py +++ b/plugins/modules/ibm_is_flow_log_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_flow_log' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - identifier: + name: description: - - The flow log collector identifier. + - The unique user-defined name for this flow log collector. required: False type: str - name: + identifier: description: - - The unique user-defined name for this flow log collector. + - The flow log collector identifier. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] @@ -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( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e6d592c72..04397bfb8 100644 --- a/plugins/modules/ibm_is_flow_logs_info.py +++ b/plugins/modules/ibm_is_flow_logs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_flow_logs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_flow_logs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ike_policies_info.py b/plugins/modules/ibm_is_ike_policies_info.py index c6bcd83d7..e7c65cab4 100644 --- a/plugins/modules/ibm_is_ike_policies_info.py +++ b/plugins/modules/ibm_is_ike_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ike_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_ike_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 dd08120cb..55c98815a 100644 --- a/plugins/modules/ibm_is_ike_policy.py +++ b/plugins/modules/ibm_is_ike_policy.py @@ -18,45 +18,45 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ike_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - encryption_algorithm: + name: description: - - (Required for new resource) Encryption alogorithm type + - (Required for new resource) IKE name required: True type: str - resource_group: + authentication_algorithm: description: - - IKE resource group ID - required: False + - (Required for new resource) Authentication algorithm type + required: True type: str + dh_group: + description: + - (Required for new resource) IKE DH group + required: True + type: int key_lifetime: description: - IKE Key lifetime required: False type: int default: 28800 - ike_version: - description: - - IKE version - required: False - type: int - name: + encryption_algorithm: description: - - (Required for new resource) IKE name + - (Required for new resource) Encryption alogorithm type required: True type: str - authentication_algorithm: + resource_group: description: - - (Required for new resource) Authentication algorithm type - required: True + - IKE resource group ID + required: False type: str - dh_group: + ike_version: description: - - (Required for new resource) IKE DH group - required: True + - IKE version + required: False type: int id: description: @@ -104,21 +104,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('encryption_algorithm', 'str'), ('name', 'str'), ('authentication_algorithm', 'str'), ('dh_group', 'int'), + ('encryption_algorithm', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'encryption_algorithm', - 'resource_group', - 'key_lifetime', - 'ike_version', 'name', 'authentication_algorithm', 'dh_group', + 'key_lifetime', + 'encryption_algorithm', + 'resource_group', + 'ike_version', ] # Params for Data source @@ -126,8 +126,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'ike_policy', + 'name', ] TL_CONFLICTS_MAP = { @@ -137,25 +137,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - encryption_algorithm=dict( + name=dict( required=False, type='str'), - resource_group=dict( + authentication_algorithm=dict( required=False, type='str'), - key_lifetime=dict( + dh_group=dict( required=False, type='int'), - ike_version=dict( + key_lifetime=dict( required=False, type='int'), - name=dict( + encryption_algorithm=dict( required=False, type='str'), - authentication_algorithm=dict( + resource_group=dict( required=False, type='str'), - dh_group=dict( + ike_version=dict( required=False, type='int'), id=dict( @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_is_ike_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_ike_policy_info.py b/plugins/modules/ibm_is_ike_policy_info.py index c2050fea7..d98d047ba 100644 --- a/plugins/modules/ibm_is_ike_policy_info.py +++ b/plugins/modules/ibm_is_ike_policy_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_ike_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + ike_policy: description: - - The IKE policy name. + - The IKE policy identifier. required: False type: str - ike_policy: + name: description: - - The IKE policy identifier. + - The IKE policy name. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'ike_policy', + '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( + ike_policy=dict( required=False, type='str'), - ike_policy=dict( + name=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d79aa5381..ef4761fd4 100644 --- a/plugins/modules/ibm_is_image.py +++ b/plugins/modules/ibm_is_image.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_is_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - encrypted_data_key: - description: - - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image - required: False - type: str - source_volume: + href: description: - - Image volume id + - Image Href value required: False type: str resource_group: @@ -42,25 +37,30 @@ - Image Operating system required: False 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 tags: description: - Tags for the image required: False type: list elements: 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 name: description: - (Required for new resource) Image name required: True type: str - href: + encrypted_data_key: description: - - Image Href value + - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image + required: False + type: str + source_volume: + description: + - Image volume id required: False type: str id: @@ -114,14 +114,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'encrypted_data_key', - 'source_volume', + 'href', 'resource_group', 'operating_system', - 'tags', 'encryption_key', + 'tags', 'name', - 'href', + 'encrypted_data_key', + 'source_volume', ] # Params for Data source @@ -129,9 +129,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', - 'identifier', 'visibility', + 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -141,10 +141,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( - encrypted_data_key=dict( - required=False, - type='str'), - source_volume=dict( + href=dict( required=False, type='str'), resource_group=dict( @@ -153,17 +150,20 @@ operating_system=dict( required=False, type='str'), + encryption_key=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - encryption_key=dict( + name=dict( required=False, type='str'), - name=dict( + encrypted_data_key=dict( required=False, type='str'), - href=dict( + source_volume=dict( required=False, type='str'), id=dict( @@ -243,7 +243,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -252,7 +252,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 510ff0e62..b83c58837 100644 --- a/plugins/modules/ibm_is_image_info.py +++ b/plugins/modules/ibm_is_image_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_is_image' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + visibility: description: - - Image name + - Whether the image is publicly visible or private to the account required: False type: str identifier: @@ -31,9 +31,9 @@ - Image id required: False type: str - visibility: + name: description: - - Whether the image is publicly visible or private to the account + - Image name required: False type: str generation: @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'identifier', 'visibility', + 'identifier', + 'name', ] @@ -86,13 +86,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( + visibility=dict( required=False, type='str'), identifier=dict( required=False, type='str'), - visibility=dict( + name=dict( required=False, type='str'), generation=dict( @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 40369e3b9..bd1517fe9 100644 --- a/plugins/modules/ibm_is_images_info.py +++ b/plugins/modules/ibm_is_images_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + visibility: + description: + - Whether the image is publicly visible or private to the account + required: False + type: str resource_group: description: - The id of the resource group @@ -41,11 +46,6 @@ - The status of the image required: False type: str - visibility: - description: - - Whether the image is publicly visible or private to the account - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -83,11 +83,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'visibility', 'resource_group', 'catalog_managed', 'name', 'status', - 'visibility', ] @@ -98,6 +98,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( + visibility=dict( + required=False, + type='str'), resource_group=dict( required=False, type='str'), @@ -110,9 +113,6 @@ status=dict( required=False, type='str'), - visibility=dict( - required=False, - type='str'), generation=dict( type='int', required=False, @@ -159,7 +159,7 @@ def run_module(): resource_type='ibm_is_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d934d3e97..f969e8aff 100644 --- a/plugins/modules/ibm_is_instance.py +++ b/plugins/modules/ibm_is_instance.py @@ -18,45 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpc: - description: - - VPC id - required: False - type: str profile: description: - Profile info required: False type: str - wait_before_delete: - description: - - Enables stopping of instance before deleting and waits till deletion is complete - required: False - type: bool - default: True - boot_volume: - description: - - None - required: False - type: list - elements: dict - metadata_service_enabled: + auto_delete_volume: description: - - Indicates whether the metadata service endpoint is available to the virtual server instance + - Auto delete volume along with instance required: False type: bool - default_trusted_profile_target: + resource_group: description: - - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + - Instance resource group required: False type: str - dedicated_host_group: + instance_template: description: - - Unique Identifier of the Dedicated Host Group where the instance will be placed + - Id of the instance template required: False type: str keys: @@ -65,112 +48,129 @@ required: False type: list elements: str - network_interfaces: - description: - - None - required: False - type: list - elements: dict tags: description: - list of tags for the instance required: False type: list elements: str - force_action: + boot_volume: description: - - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + - None required: False - type: bool - default: False - image: + type: list + elements: dict + name: description: - - image id - required: False + - (Required for new resource) Instance name + required: True type: str - instance_template: + zone: description: - - Id of the instance template + - Zone name required: False type: str - zone: + default_trusted_profile_target: description: - - Zone name + - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. required: False type: str + wait_before_delete: + description: + - Enables stopping of instance before deleting and waits till deletion is complete + required: False + type: bool + default: True total_volume_bandwidth: description: - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes required: False type: int - force_recovery_time: + image: description: - - Define timeout to force the instances to start/stop in minutes. + - image id required: False - type: int - auto_delete_volume: + type: str + metadata_service_enabled: description: - - Auto delete volume along with instance + - Indicates whether the metadata service endpoint is available to the virtual server instance required: False type: bool - resource_group: + dedicated_host_group: description: - - Instance resource group + - Unique Identifier of the Dedicated Host Group where the instance will be placed required: False type: str - placement_group: + availability_policy_host_failure: description: - - Unique Identifier of the Placement Group for restricting the placement of the instance + - The availability policy to use for this virtual server instance required: False type: str - catalog_offering: + force_recovery_time: description: - - The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies. + - Define timeout to force the instances to start/stop in minutes. + required: False + type: int + vpc: + description: + - VPC id + required: False + type: str + force_action: + description: + - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + required: False + type: bool + default: False + primary_network_interface: + description: + - Primary Network interface info required: False type: list elements: dict - user_data: + network_interfaces: description: - - User data given for the instance + - None required: False - type: str + type: list + elements: dict volumes: description: - List of volumes required: False type: list elements: str + user_data: + description: + - User data given for the instance + required: False + type: str default_trusted_profile_auto_link: description: - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. required: False type: bool - action: + dedicated_host: description: - - Enables stopping of instance before deleting and waits till deletion is complete + - Unique Identifier of the Dedicated Host where the instance will be placed required: False type: str - primary_network_interface: - description: - - Primary Network interface info - required: False - type: list - elements: dict - availability_policy_host_failure: + placement_group: description: - - The availability policy to use for this virtual server instance + - Unique Identifier of the Placement Group for restricting the placement of the instance required: False type: str - name: + action: description: - - (Required for new resource) Instance name - required: True + - Enables stopping of instance before deleting and waits till deletion is complete + required: False type: str - dedicated_host: + catalog_offering: description: - - Unique Identifier of the Dedicated Host where the instance will be placed + - The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies. required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -222,34 +222,34 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc', 'profile', - 'wait_before_delete', - 'boot_volume', - 'metadata_service_enabled', - 'default_trusted_profile_target', - 'dedicated_host_group', + 'auto_delete_volume', + 'resource_group', + 'instance_template', 'keys', - 'network_interfaces', 'tags', - 'force_action', - 'image', - 'instance_template', + 'boot_volume', + 'name', 'zone', + 'default_trusted_profile_target', + 'wait_before_delete', 'total_volume_bandwidth', + 'image', + 'metadata_service_enabled', + 'dedicated_host_group', + 'availability_policy_host_failure', 'force_recovery_time', - 'auto_delete_volume', - 'resource_group', - 'placement_group', - 'catalog_offering', - 'user_data', + 'vpc', + 'force_action', + 'primary_network_interface', + 'network_interfaces', 'volumes', + 'user_data', 'default_trusted_profile_auto_link', - 'action', - 'primary_network_interface', - 'availability_policy_host_failure', - 'name', 'dedicated_host', + 'placement_group', + 'action', + 'catalog_offering', ] # Params for Data source @@ -259,113 +259,113 @@ TL_ALL_PARAMETERS_DS = [ 'passphrase', - 'name', 'private_key', + 'name', ] TL_CONFLICTS_MAP = { - 'dedicated_host_group': ['dedicated_host', 'placement_group'], - 'image': ['boot_volume.0.snapshot', 'catalog_offering.0.offering_crn', 'catalog_offering.0.version_crn'], 'instance_template': ['boot_volume.0.snapshot'], - 'placement_group': ['dedicated_host', 'dedicated_host_group'], + 'image': ['boot_volume.0.snapshot', 'catalog_offering.0.offering_crn', 'catalog_offering.0.version_crn'], + 'dedicated_host_group': ['dedicated_host', 'placement_group'], 'dedicated_host': ['dedicated_host_group', 'placement_group'], + 'placement_group': ['dedicated_host', 'dedicated_host_group'], } # 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=dict( - required=False, - type='str'), profile=dict( required=False, type='str'), - wait_before_delete=dict( - required=False, - type='bool'), - boot_volume=dict( - required=False, - elements='', - type='list'), - metadata_service_enabled=dict( + auto_delete_volume=dict( required=False, type='bool'), - default_trusted_profile_target=dict( + resource_group=dict( required=False, type='str'), - dedicated_host_group=dict( + instance_template=dict( required=False, type='str'), keys=dict( required=False, elements='', type='list'), - network_interfaces=dict( + tags=dict( required=False, elements='', type='list'), - tags=dict( + boot_volume=dict( required=False, elements='', type='list'), - force_action=dict( - required=False, - type='bool'), - image=dict( + name=dict( required=False, type='str'), - instance_template=dict( + zone=dict( required=False, type='str'), - zone=dict( + default_trusted_profile_target=dict( required=False, type='str'), + wait_before_delete=dict( + required=False, + type='bool'), total_volume_bandwidth=dict( required=False, type='int'), - force_recovery_time=dict( + image=dict( required=False, - type='int'), - auto_delete_volume=dict( + type='str'), + metadata_service_enabled=dict( required=False, type='bool'), - resource_group=dict( + dedicated_host_group=dict( required=False, type='str'), - placement_group=dict( + availability_policy_host_failure=dict( required=False, type='str'), - catalog_offering=dict( + force_recovery_time=dict( + required=False, + type='int'), + vpc=dict( + required=False, + type='str'), + force_action=dict( + required=False, + type='bool'), + primary_network_interface=dict( required=False, elements='', type='list'), - user_data=dict( + network_interfaces=dict( required=False, - type='str'), + elements='', + type='list'), volumes=dict( required=False, elements='', type='list'), + user_data=dict( + required=False, + type='str'), default_trusted_profile_auto_link=dict( required=False, type='bool'), - action=dict( + dedicated_host=dict( required=False, type='str'), - primary_network_interface=dict( - required=False, - elements='', - type='list'), - availability_policy_host_failure=dict( + placement_group=dict( required=False, type='str'), - name=dict( + action=dict( required=False, type='str'), - dedicated_host=dict( + catalog_offering=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -443,7 +443,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -452,7 +452,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_action.py b/plugins/modules/ibm_is_instance_action.py index 3f69d857b..424c89e04 100644 --- a/plugins/modules/ibm_is_instance_action.py +++ b/plugins/modules/ibm_is_instance_action.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance: - description: - - (Required for new resource) Instance identifier - required: True - type: str action: description: - (Required for new resource) This restart/start/stops an instance. @@ -38,6 +33,11 @@ required: False type: bool default: False + instance: + description: + - (Required for new resource) Instance identifier + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance', 'str'), ('action', 'str'), + ('instance', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance', 'action', 'force_action', + 'instance', ] # Params for Data source @@ -109,15 +109,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( - instance=dict( - required=False, - type='str'), action=dict( required=False, type='str'), force_action=dict( required=False, type='bool'), + instance=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_is_instance_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_disk_info.py b/plugins/modules/ibm_is_instance_disk_info.py index ed47a1f3e..5aba111f4 100644 --- a/plugins/modules/ibm_is_instance_disk_info.py +++ b/plugins/modules/ibm_is_instance_disk_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_disk' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_disk_management.py b/plugins/modules/ibm_is_instance_disk_management.py index 132347937..e75d84c81 100644 --- a/plugins/modules/ibm_is_instance_disk_management.py +++ b/plugins/modules/ibm_is_instance_disk_management.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_disk_management' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_is_instance_disk_management', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_disks_info.py b/plugins/modules/ibm_is_instance_disks_info.py index 82edc44d3..ee3bfbfef 100644 --- a/plugins/modules/ibm_is_instance_disks_info.py +++ b/plugins/modules/ibm_is_instance_disks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_disks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_disks', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group.py b/plugins/modules/ibm_is_instance_group.py index 559954310..f4f338642 100644 --- a/plugins/modules/ibm_is_instance_group.py +++ b/plugins/modules/ibm_is_instance_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,49 +27,49 @@ - load balancer ID required: False type: str - load_balancer_pool: + name: description: - - load balancer pool ID - required: False + - (Required for new resource) The user-defined name for this instance group + required: True type: str - 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 + application_port: + description: + - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. + required: False + type: int instance_count: description: - The number of instances in the instance group required: False type: int default: 0 - subnets: + load_balancer_pool: description: - - (Required for new resource) list of subnet IDs - required: True + - load balancer pool ID + required: False + type: str + tags: + description: + - List of tags for instance group + required: False type: list elements: str - name: - description: - - (Required for new resource) The user-defined name for this instance group - required: True - type: str resource_group: description: - Resource group ID required: False type: str - application_port: + subnets: description: - - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. - required: False - type: int + - (Required for new resource) list of subnet IDs + required: True + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,22 +116,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('instance_template', 'str'), ('subnets', 'list'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'load_balancer', - 'load_balancer_pool', - 'tags', + 'name', 'instance_template', + 'application_port', 'instance_count', - 'subnets', - 'name', + 'load_balancer_pool', + 'tags', 'resource_group', - 'application_port', + 'subnets', ] # Params for Data source @@ -153,32 +153,32 @@ load_balancer=dict( required=False, type='str'), - load_balancer_pool=dict( + name=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), instance_template=dict( required=False, type='str'), + application_port=dict( + required=False, + type='int'), instance_count=dict( required=False, type='int'), - subnets=dict( + load_balancer_pool=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), - application_port=dict( + subnets=dict( required=False, - type='int'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 222e45aa0..c3bb3d505 100644 --- a/plugins/modules/ibm_is_instance_group_info.py +++ b/plugins/modules/ibm_is_instance_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fad43ace6..65a699499 100644 --- a/plugins/modules/ibm_is_instance_group_manager.py +++ b/plugins/modules/ibm_is_instance_group_manager.py @@ -18,32 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - instance group manager name - required: False - type: str - max_membership_count: + cooldown: description: - - The maximum 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: 300 min_membership_count: description: - The minimum number of members in a managed instance group required: False type: int default: 1 - enable_manager: + name: description: - - enable instance group manager + - instance group manager name required: False - type: bool - default: True + type: str instance_group: description: - (Required for new resource) instance group ID @@ -61,12 +56,17 @@ required: False type: int default: 90 - cooldown: + enable_manager: description: - - The duration of time in seconds to pause further scale actions after scaling has taken place + - enable instance group manager + required: False + type: bool + default: True + max_membership_count: + description: + - The maximum number of members in a managed instance group required: False type: int - default: 300 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -118,25 +118,25 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'max_membership_count', + 'cooldown', 'min_membership_count', - 'enable_manager', + 'name', 'instance_group', 'manager_type', 'aggregation_window', - 'cooldown', + 'enable_manager', + 'max_membership_count', ] # 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 = { @@ -146,18 +146,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'), - max_membership_count=dict( + cooldown=dict( required=False, type='int'), min_membership_count=dict( required=False, type='int'), - enable_manager=dict( + name=dict( required=False, - type='bool'), + type='str'), instance_group=dict( required=False, type='str'), @@ -167,7 +164,10 @@ aggregation_window=dict( required=False, type='int'), - cooldown=dict( + enable_manager=dict( + required=False, + type='bool'), + max_membership_count=dict( required=False, type='int'), id=dict( @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_action.py b/plugins/modules/ibm_is_instance_group_manager_action.py index 15fd45a4a..63822751e 100644 --- a/plugins/modules/ibm_is_instance_group_manager_action.py +++ b/plugins/modules/ibm_is_instance_group_manager_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,37 +27,37 @@ - (Required for new resource) instance group ID required: True type: str - name: + instance_group_manager: description: - - instance group manager action name - required: False + - (Required for new resource) Instance group manager ID of type scheduled + required: True type: str run_at: description: - The date and time the scheduled action will run. required: False type: str - instance_group_manager: + min_membership_count: description: - - (Required for new resource) Instance group manager ID of type scheduled - required: True - type: str + - The minimum number of members in a managed instance group + required: False + type: int + default: 1 cron_spec: description: - The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. required: False type: str - max_membership_count: + name: description: - - The maximum number of members in a managed instance group + - instance group manager action name required: False - type: int - min_membership_count: + type: str + max_membership_count: description: - - The minimum number of members in a managed instance group + - The maximum number of members in a managed instance group required: False type: int - default: 1 target_manager: description: - The unique identifier for this instance group manager of type autoscale. @@ -121,34 +121,34 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_group', - 'name', - 'run_at', 'instance_group_manager', + 'run_at', + 'min_membership_count', 'cron_spec', + 'name', 'max_membership_count', - 'min_membership_count', 'target_manager', 'membership_count', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('instance_group', 'str'), + ('name', 'str'), ('instance_group_manager', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'instance_group', + 'name', 'instance_group_manager', ] TL_CONFLICTS_MAP = { 'run_at': ['cron_spec'], + 'min_membership_count': ['membership_count'], 'cron_spec': ['run_at'], 'max_membership_count': ['membership_count'], - 'min_membership_count': ['membership_count'], 'target_manager': ['membership_count'], 'membership_count': ['target_manager', 'max_membership_count', 'min_membership_count'], } @@ -160,22 +160,22 @@ instance_group=dict( required=False, type='str'), - name=dict( + instance_group_manager=dict( required=False, type='str'), run_at=dict( required=False, type='str'), - instance_group_manager=dict( + min_membership_count=dict( required=False, - type='str'), + type='int'), cron_spec=dict( required=False, type='str'), - max_membership_count=dict( + name=dict( required=False, - type='int'), - min_membership_count=dict( + type='str'), + max_membership_count=dict( required=False, type='int'), target_manager=dict( @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_instance_group_manager_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_action_info.py b/plugins/modules/ibm_is_instance_group_manager_action_info.py index 37daa2962..24f9fa5b7 100644 --- a/plugins/modules/ibm_is_instance_group_manager_action_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_action_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + instance_group: description: - - instance group manager action name + - instance group ID required: True type: str - instance_group: + name: description: - - instance group ID + - instance group manager action name required: True type: str instance_group_manager: @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_group', 'str'), + ('name', 'str'), ('instance_group_manager', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'instance_group', + 'name', 'instance_group_manager', ] @@ -89,10 +89,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( + instance_group=dict( required=True, type='str'), - instance_group=dict( + name=dict( required=True, type='str'), instance_group_manager=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_actions_info.py b/plugins/modules/ibm_is_instance_group_manager_actions_info.py index 138e9334c..73285d5d5 100644 --- a/plugins/modules/ibm_is_instance_group_manager_actions_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_actions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_info.py b/plugins/modules/ibm_is_instance_group_manager_info.py index 92eb6cb3c..4f30e615b 100644 --- a/plugins/modules/ibm_is_instance_group_manager_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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: @@ -64,14 +64,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', ] @@ -82,10 +82,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( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 905a190c2..30586eb2e 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policies_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 137f6242d..4d3fe4c9f 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policy.py +++ b/plugins/modules/ibm_is_instance_group_manager_policy.py @@ -18,20 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 @@ -52,6 +42,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. @@ -98,21 +98,21 @@ # 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 @@ -135,12 +135,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'), @@ -153,6 +147,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'), @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b548277fe..13b60245c 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policy_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ac12213ca..2ac5f2084 100644 --- a/plugins/modules/ibm_is_instance_group_managers_info.py +++ b/plugins/modules/ibm_is_instance_group_managers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_managers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_group_managers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_membership.py b/plugins/modules/ibm_is_instance_group_membership.py index 2667e6353..dfa0c1d3f 100644 --- a/plugins/modules/ibm_is_instance_group_membership.py +++ b/plugins/modules/ibm_is_instance_group_membership.py @@ -18,31 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_membership' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + instance_group: description: - - The user-defined name for this instance group membership. Names must be unique within the instance group. - required: False + - (Required for new resource) The instance group identifier. + required: True type: str instance_group_membership: description: - (Required for new resource) The unique identifier for this instance group membership. required: True type: str + name: + description: + - The user-defined name for this instance group membership. Names must be unique within the instance group. + required: False + type: str action_delete: description: - The delete flag for this instance group membership. Must be set to true to delete instance group membership. required: False type: bool default: False - instance_group: - description: - - (Required for new resource) The instance group identifier. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_group_membership', 'str'), ('instance_group', 'str'), + ('instance_group_membership', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'instance_group', 'instance_group_membership', + 'name', 'action_delete', - 'instance_group', ] # Params for Data source @@ -119,18 +119,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( - name=dict( + instance_group=dict( required=False, type='str'), instance_group_membership=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), action_delete=dict( required=False, type='bool'), - instance_group=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_membership_info.py b/plugins/modules/ibm_is_instance_group_membership_info.py index 6b8d68f1c..333167367 100644 --- a/plugins/modules/ibm_is_instance_group_membership_info.py +++ b/plugins/modules/ibm_is_instance_group_membership_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_membership' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_memberships_info.py b/plugins/modules/ibm_is_instance_group_memberships_info.py index a7a75f287..1b9a023ad 100644 --- a/plugins/modules/ibm_is_instance_group_memberships_info.py +++ b/plugins/modules/ibm_is_instance_group_memberships_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_memberships' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_group_memberships', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_groups_info.py b/plugins/modules/ibm_is_instance_groups_info.py index 939f31183..9edd2cc14 100644 --- a/plugins/modules/ibm_is_instance_groups_info.py +++ b/plugins/modules/ibm_is_instance_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_instance_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8167af8cf..ce7dc3283 100644 --- a/plugins/modules/ibm_is_instance_info.py +++ b/plugins/modules/ibm_is_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,16 +26,16 @@ - Passphrase for Instance Private Key file required: False type: str - name: - description: - - Instance name - required: True - type: str private_key: description: - Instance Private Key file required: False type: str + name: + description: + - Instance name + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -75,8 +75,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'passphrase', - 'name', 'private_key', + 'name', ] @@ -90,12 +90,12 @@ passphrase=dict( required=False, type='str'), - name=dict( - required=True, - type='str'), private_key=dict( required=False, 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', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface.py b/plugins/modules/ibm_is_instance_network_interface.py index 5e326fddf..2042de4c9 100644 --- a/plugins/modules/ibm_is_instance_network_interface.py +++ b/plugins/modules/ibm_is_instance_network_interface.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_network_interface' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - subnet: - description: - - (Required for new resource) The unique identifier of the subnet. - required: True - type: str allow_ip_spoofing: description: - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. @@ -38,23 +33,28 @@ - (Required for new resource) The user-defined name for this network interface. If unspecified, the name will be a hyphenated list of randomly-selected words. required: True type: str - instance: - description: - - (Required for new resource) The unique identifier of the instance. - required: True - type: str primary_ip: description: - The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP. required: False type: list elements: dict + instance: + description: + - (Required for new resource) The unique identifier of the instance. + required: True + type: str security_groups: description: - None required: False type: list elements: str + subnet: + description: + - (Required for new resource) The unique identifier of the subnet. + required: True + type: str floating_ip: description: - The ID of the floating IP to attach to this network interface @@ -106,31 +106,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnet', 'str'), ('name', 'str'), ('instance', 'str'), + ('subnet', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnet', 'allow_ip_spoofing', 'name', - 'instance', 'primary_ip', + 'instance', 'security_groups', + 'subnet', 'floating_ip', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('network_interface_name', 'str'), ('instance_name', 'str'), + ('network_interface_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'network_interface_name', 'instance_name', + 'network_interface_name', ] TL_CONFLICTS_MAP = { @@ -140,26 +140,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( - subnet=dict( - required=False, - type='str'), allow_ip_spoofing=dict( required=False, type='bool'), name=dict( required=False, type='str'), - instance=dict( - required=False, - type='str'), primary_ip=dict( required=False, elements='', type='list'), + instance=dict( + required=False, + type='str'), security_groups=dict( required=False, elements='', type='list'), + subnet=dict( + required=False, + type='str'), floating_ip=dict( required=False, type='str'), @@ -240,7 +240,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -249,7 +249,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_network_interface_info.py b/plugins/modules/ibm_is_instance_network_interface_info.py index ece85de7a..14410e4a2 100644 --- a/plugins/modules/ibm_is_instance_network_interface_info.py +++ b/plugins/modules/ibm_is_instance_network_interface_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interface' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_interface_name: + instance_name: description: - - The network interface name. + - The instance name. required: True type: str - instance_name: + network_interface_name: description: - - The instance name. + - The network interface name. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_interface_name', 'str'), ('instance_name', 'str'), + ('network_interface_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_interface_name', 'instance_name', + 'network_interface_name', ] @@ -82,10 +82,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( - network_interface_name=dict( + instance_name=dict( required=True, type='str'), - instance_name=dict( + network_interface_name=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py b/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py index edde9a97f..f1485e4c7 100644 --- a/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py +++ b/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interface_reserved_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py b/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py index fbad69177..c42d8d8a0 100644 --- a/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py +++ b/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interface_reserved_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_interface: + instance: description: - - The instance network interface identifier. + - The instance identifier. required: True type: str - instance: + network_interface: description: - - The instance identifier. + - The instance network interface identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_interface', 'str'), ('instance', 'str'), + ('network_interface', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_interface', 'instance', + 'network_interface', ] @@ -82,10 +82,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( - network_interface=dict( + instance=dict( required=True, type='str'), - instance=dict( + network_interface=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface_reserved_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interfaces_info.py b/plugins/modules/ibm_is_instance_network_interfaces_info.py index 667f61751..3ae874538 100644 --- a/plugins/modules/ibm_is_instance_network_interfaces_info.py +++ b/plugins/modules/ibm_is_instance_network_interfaces_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interfaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_network_interfaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 89e4c0ec6..640912af7 100644 --- a/plugins/modules/ibm_is_instance_profile_info.py +++ b/plugins/modules/ibm_is_instance_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 75c4c795e..2b6b5349b 100644 --- a/plugins/modules/ibm_is_instance_profiles_info.py +++ b/plugins/modules/ibm_is_instance_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_instance_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 75833d66a..54e836a43 100644 --- a/plugins/modules/ibm_is_instance_template.py +++ b/plugins/modules/ibm_is_instance_template.py @@ -18,26 +18,57 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + vpc: + description: + - (Required for new resource) VPC id + required: True + type: str + default_trusted_profile_auto_link: + description: + - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + required: False + type: bool + default_trusted_profile_target: + description: + - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + required: False + type: str dedicated_host_group: description: - Unique Identifier of the Dedicated Host Group where the instance will be placed required: False type: str - boot_volume: + image: + description: + - (Required for new resource) image name + required: True + type: str + network_interfaces: description: - None required: False type: list elements: dict - default_trusted_profile_auto_link: + user_data: description: - - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + - User data given for the instance + required: False + type: str + metadata_service_enabled: + description: + - Indicates whether the metadata service endpoint is available to the virtual server instance required: False type: bool + default: False + zone: + description: + - (Required for new resource) Zone name + required: True + type: str total_volume_bandwidth: description: - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes @@ -48,19 +79,36 @@ - Unique Identifier of the Dedicated Host where the instance will be placed required: False type: str + volume_attachments: + description: + - None + required: False + type: list + elements: dict + primary_network_interface: + description: + - (Required for new resource) Primary Network interface info + required: True + type: list + elements: dict resource_group: description: - Instance template resource group required: False type: str + availability_policy_host_failure: + description: + - The availability policy to use for this virtual server instance + required: False + type: str name: description: - Instance Template name required: False type: str - zone: + profile: description: - - (Required for new resource) Zone name + - (Required for new resource) Profile info required: True type: str keys: @@ -69,65 +117,17 @@ required: True type: list elements: str - primary_network_interface: - description: - - (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 - vpc: - description: - - (Required for new resource) VPC id - required: True - type: str - default_trusted_profile_target: - description: - - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. - required: False - type: str - volume_attachments: - description: - - None - required: False - type: list - elements: dict placement_group: description: - Unique Identifier of the Placement Group for restricting the placement of the instance required: False type: str - network_interfaces: + boot_volume: description: - None required: False type: list elements: dict - user_data: - description: - - User data given for the instance - required: False - type: str - availability_policy_host_failure: - description: - - The availability policy to use for this virtual server instance - required: False - type: str - metadata_service_enabled: - description: - - Indicates whether the metadata service endpoint is available to the virtual server instance - required: False - type: bool - default: False - profile: - description: - - (Required for new resource) Profile info - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -174,36 +174,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('vpc', 'str'), + ('image', 'str'), ('zone', 'str'), - ('keys', 'list'), ('primary_network_interface', 'list'), - ('image', 'str'), - ('vpc', 'str'), ('profile', 'str'), + ('keys', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'dedicated_host_group', - 'boot_volume', + 'vpc', 'default_trusted_profile_auto_link', + 'default_trusted_profile_target', + 'dedicated_host_group', + 'image', + 'network_interfaces', + 'user_data', + 'metadata_service_enabled', + 'zone', 'total_volume_bandwidth', 'dedicated_host', + 'volume_attachments', + 'primary_network_interface', 'resource_group', + 'availability_policy_host_failure', 'name', - 'zone', + 'profile', 'keys', - 'primary_network_interface', - 'image', - 'vpc', - 'default_trusted_profile_target', - 'volume_attachments', 'placement_group', - 'network_interfaces', - 'user_data', - 'availability_policy_host_failure', - 'metadata_service_enabled', - 'profile', + 'boot_volume', ] # Params for Data source @@ -211,8 +211,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -225,32 +225,41 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - dedicated_host_group=dict( + vpc=dict( required=False, type='str'), - boot_volume=dict( - required=False, - elements='', - type='list'), default_trusted_profile_auto_link=dict( required=False, type='bool'), - total_volume_bandwidth=dict( + default_trusted_profile_target=dict( required=False, - type='int'), - dedicated_host=dict( + type='str'), + dedicated_host_group=dict( required=False, type='str'), - resource_group=dict( + image=dict( required=False, type='str'), - name=dict( + network_interfaces=dict( + required=False, + elements='', + type='list'), + user_data=dict( required=False, type='str'), + metadata_service_enabled=dict( + required=False, + type='bool'), zone=dict( required=False, type='str'), - keys=dict( + total_volume_bandwidth=dict( + required=False, + type='int'), + dedicated_host=dict( + required=False, + type='str'), + volume_attachments=dict( required=False, elements='', type='list'), @@ -258,38 +267,29 @@ required=False, elements='', type='list'), - image=dict( + resource_group=dict( required=False, type='str'), - vpc=dict( + availability_policy_host_failure=dict( required=False, type='str'), - default_trusted_profile_target=dict( + name=dict( required=False, type='str'), - volume_attachments=dict( + profile=dict( + required=False, + type='str'), + keys=dict( required=False, elements='', type='list'), placement_group=dict( required=False, type='str'), - network_interfaces=dict( + boot_volume=dict( required=False, elements='', type='list'), - user_data=dict( - required=False, - type='str'), - availability_policy_host_failure=dict( - required=False, - type='str'), - metadata_service_enabled=dict( - required=False, - type='bool'), - profile=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -367,7 +367,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -376,7 +376,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_template_info.py b/plugins/modules/ibm_is_instance_template_info.py index e7109d6a2..57a1139dc 100644 --- a/plugins/modules/ibm_is_instance_template_info.py +++ b/plugins/modules/ibm_is_instance_template_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + identifier: description: - None required: False type: str - identifier: + name: description: - None required: False @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'identifier', + '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( + identifier=dict( required=False, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c0ddc533b..5df057ff9 100644 --- a/plugins/modules/ibm_is_instance_templates_info.py +++ b/plugins/modules/ibm_is_instance_templates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_templates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_instance_templates', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_volume_attachment.py b/plugins/modules/ibm_is_instance_volume_attachment.py index 7359525a9..60685f1c1 100644 --- a/plugins/modules/ibm_is_instance_volume_attachment.py +++ b/plugins/modules/ibm_is_instance_volume_attachment.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_volume_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - encryption_key: + name: description: - - The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. + - The user-defined name for this volume attachment. required: False type: str - name: + volume_name: description: - - The user-defined name for this volume attachment. + - The unique user-defined name for this volume required: False type: str tags: @@ -38,51 +38,51 @@ required: False type: list elements: str - profile: + capacity: description: - - The globally unique name for the volume profile to use for this volume. + - The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. required: False - type: str - instance: + type: int + encryption_key: description: - - (Required for new resource) Instance id - required: True + - The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. + required: False type: str - delete_volume_on_instance_delete: + iops: description: - - If set to true, when deleting the instance the volume will also be deleted. + - The maximum I/O operations per second (IOPS) for the volume. required: False - type: bool - volume_name: + type: int + snapshot: description: - - The unique user-defined name for this volume + - The snapshot of the volume to be attached required: False type: str - capacity: + delete_volume_on_instance_delete: description: - - The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. + - If set to true, when deleting the instance the volume will also be deleted. required: False - type: int + type: bool delete_volume_on_attachment_delete: description: - If set to true, when deleting the attachment, the volume will also be deleted. Default value for this true. required: False type: bool default: True - iops: + volume: description: - - The maximum I/O operations per second (IOPS) for the volume. + - Instance id required: False - type: int - snapshot: + type: str + profile: description: - - The snapshot of the volume to be attached + - The globally unique name for the volume profile to use for this volume. required: False type: str - volume: + instance: description: - - Instance id - required: False + - (Required for new resource) Instance id + required: True type: str id: description: @@ -135,18 +135,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'encryption_key', 'name', - 'tags', - 'profile', - 'instance', - 'delete_volume_on_instance_delete', 'volume_name', + 'tags', 'capacity', - 'delete_volume_on_attachment_delete', + 'encryption_key', 'iops', 'snapshot', + 'delete_volume_on_instance_delete', + 'delete_volume_on_attachment_delete', 'volume', + 'profile', + 'instance', ] # Params for Data source @@ -162,52 +162,52 @@ TL_CONFLICTS_MAP = { 'tags': ['volume'], - 'profile': ['volume'], 'capacity': ['volume'], 'iops': ['volume'], 'snapshot': ['volume'], 'volume': ['iops', 'volume_name', 'profile', 'capacity', 'snapshot', 'tags'], + 'profile': ['volume'], } # 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( - encryption_key=dict( + name=dict( required=False, type='str'), - name=dict( + volume_name=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - profile=dict( + capacity=dict( required=False, - type='str'), - instance=dict( + type='int'), + encryption_key=dict( required=False, type='str'), - delete_volume_on_instance_delete=dict( + iops=dict( required=False, - type='bool'), - volume_name=dict( + type='int'), + snapshot=dict( required=False, type='str'), - capacity=dict( + delete_volume_on_instance_delete=dict( required=False, - type='int'), + type='bool'), delete_volume_on_attachment_delete=dict( required=False, type='bool'), - iops=dict( + volume=dict( required=False, - type='int'), - snapshot=dict( + type='str'), + profile=dict( required=False, type='str'), - volume=dict( + instance=dict( required=False, type='str'), id=dict( @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -296,7 +296,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_volume_attachment_info.py b/plugins/modules/ibm_is_instance_volume_attachment_info.py index 019dcbcf1..84086f97e 100644 --- a/plugins/modules/ibm_is_instance_volume_attachment_info.py +++ b/plugins/modules/ibm_is_instance_volume_attachment_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_volume_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_volume_attachments_info.py b/plugins/modules/ibm_is_instance_volume_attachments_info.py index 23838f3c1..91c8249d8 100644 --- a/plugins/modules/ibm_is_instance_volume_attachments_info.py +++ b/plugins/modules/ibm_is_instance_volume_attachments_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_volume_attachments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachments', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 edea8b37f..16073966e 100644 --- a/plugins/modules/ibm_is_instances_info.py +++ b/plugins/modules/ibm_is_instances_info.py @@ -17,13 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_is_instances' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_group_name: + resource_group: description: - - Instance group name to filter the instances attached to it + - Instance resource group + required: False + type: str + dedicated_host: + description: + - ID of the dedicated host to filter the instances attached to it + required: False + type: str + placement_group_name: + description: + - Name of the placement group to filter the instances attached to it + required: False + type: str + placement_group: + description: + - ID of the placement group to filter the instances attached to it required: False type: str vpc_name: @@ -41,19 +56,14 @@ - VPC CRN to filter the instances attached to it required: False type: str - placement_group_name: - description: - - Name of the placement group to filter the instances attached to it - required: False - type: str instance_group: description: - Instance group ID to filter the instances attached to it required: False type: str - resource_group: + instance_group_name: description: - - Instance resource group + - Instance group name to filter the instances attached to it required: False type: str dedicated_host_name: @@ -61,16 +71,6 @@ - Name of the dedicated host to filter the instances attached to it required: False type: str - dedicated_host: - description: - - ID of the dedicated host to filter the instances attached to it - required: False - type: str - placement_group: - description: - - ID of the placement group to filter the instances attached to it - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -108,63 +108,63 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_group_name', + 'resource_group', + 'dedicated_host', + 'placement_group_name', + 'placement_group', 'vpc_name', 'vpc', 'vpc_crn', - 'placement_group_name', 'instance_group', - 'resource_group', + 'instance_group_name', 'dedicated_host_name', - 'dedicated_host', - 'placement_group', ] TL_CONFLICTS_MAP = { - 'instance_group_name': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group'], + 'dedicated_host': ['dedicated_host_name'], + 'placement_group_name': ['placement_group'], + 'placement_group': ['placement_group_name'], 'vpc_name': ['vpc', 'vpc_crn', 'instance_group'], 'vpc': ['vpc_name', 'vpc_crn', 'instance_group'], 'vpc_crn': ['vpc_name', 'vpc', 'instance_group'], - 'placement_group_name': ['placement_group'], 'instance_group': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group_name'], + 'instance_group_name': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group'], 'dedicated_host_name': ['dedicated_host'], - 'dedicated_host': ['dedicated_host_name'], - 'placement_group': ['placement_group_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( - instance_group_name=dict( + resource_group=dict( required=False, type='str'), - vpc_name=dict( + dedicated_host=dict( required=False, type='str'), - vpc=dict( + placement_group_name=dict( required=False, type='str'), - vpc_crn=dict( + placement_group=dict( required=False, type='str'), - placement_group_name=dict( + vpc_name=dict( required=False, type='str'), - instance_group=dict( + vpc=dict( required=False, type='str'), - resource_group=dict( + vpc_crn=dict( required=False, type='str'), - dedicated_host_name=dict( + instance_group=dict( required=False, type='str'), - dedicated_host=dict( + instance_group_name=dict( required=False, type='str'), - placement_group=dict( + dedicated_host_name=dict( required=False, type='str'), generation=dict( @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_is_instances', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ipsec_policies_info.py b/plugins/modules/ibm_is_ipsec_policies_info.py index 8250b01a0..dd9ee9330 100644 --- a/plugins/modules/ibm_is_ipsec_policies_info.py +++ b/plugins/modules/ibm_is_ipsec_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ipsec_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_ipsec_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bf83c4e5a..18f73a932 100644 --- a/plugins/modules/ibm_is_ipsec_policy.py +++ b/plugins/modules/ibm_is_ipsec_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ipsec_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,11 +27,6 @@ - (Required for new resource) Encryption algorithm required: True type: str - pfs: - description: - - (Required for new resource) PFS info - required: True - type: str resource_group: description: - Resource group info @@ -47,6 +42,11 @@ - (Required for new resource) Authentication alorothm required: True type: str + pfs: + description: + - (Required for new resource) PFS info + required: True + type: str key_lifetime: description: - IPSEC key lifetime @@ -100,18 +100,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('encryption_algorithm', 'str'), - ('pfs', 'str'), ('name', 'str'), ('authentication_algorithm', 'str'), + ('pfs', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'encryption_algorithm', - 'pfs', 'resource_group', 'name', 'authentication_algorithm', + 'pfs', 'key_lifetime', ] @@ -134,9 +134,6 @@ encryption_algorithm=dict( required=False, type='str'), - pfs=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), @@ -146,6 +143,9 @@ authentication_algorithm=dict( required=False, type='str'), + pfs=dict( + required=False, + type='str'), key_lifetime=dict( required=False, type='int'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_ipsec_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_ipsec_policy_info.py b/plugins/modules/ibm_is_ipsec_policy_info.py index dcd44a6ff..27b126d64 100644 --- a/plugins/modules/ibm_is_ipsec_policy_info.py +++ b/plugins/modules/ibm_is_ipsec_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ipsec_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 24870d1a4..e1f173ed5 100644 --- a/plugins/modules/ibm_is_lb.py +++ b/plugins/modules/ibm_is_lb.py @@ -18,31 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + subnets: description: - - (Required for new resource) Load Balancer name + - (Required for new resource) Load Balancer subnets list required: True - type: str - security_groups: - description: - - Load Balancer securitygroups list - required: False type: list elements: str - logging: + security_groups: description: - - Logging of Load Balancer + - Load Balancer securitygroups list required: False - type: bool - default: False - subnets: - description: - - (Required for new resource) Load Balancer subnets list - required: True type: list elements: str tags: @@ -51,6 +40,17 @@ required: False type: list elements: str + route_mode: + description: + - Indicates whether route mode is enabled for this load balancer + required: False + type: bool + default: False + name: + description: + - (Required for new resource) Load Balancer name + required: True + type: str type: description: - Load Balancer type @@ -67,9 +67,9 @@ - None required: False type: str - route_mode: + logging: description: - - Indicates whether route mode is enabled for this load balancer + - Logging of Load Balancer required: False type: bool default: False @@ -119,21 +119,21 @@ # 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 = [ - 'name', - 'security_groups', - 'logging', 'subnets', + 'security_groups', 'tags', + 'route_mode', + 'name', 'type', 'profile', 'resource_group', - 'route_mode', + 'logging', ] # Params for Data source @@ -147,25 +147,19 @@ TL_CONFLICTS_MAP = { 'security_groups': ['profile'], - 'logging': ['profile'], 'profile': ['logging'], + 'logging': ['profile'], } # 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( - name=dict( - required=False, - type='str'), - security_groups=dict( + subnets=dict( required=False, elements='', type='list'), - logging=dict( - required=False, - type='bool'), - subnets=dict( + security_groups=dict( required=False, elements='', type='list'), @@ -173,6 +167,12 @@ required=False, elements='', type='list'), + route_mode=dict( + required=False, + type='bool'), + name=dict( + required=False, + type='str'), type=dict( required=False, type='str'), @@ -182,7 +182,7 @@ resource_group=dict( required=False, type='str'), - route_mode=dict( + logging=dict( required=False, type='bool'), id=dict( @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -271,7 +271,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fc5f0d7dc..190d52c07 100644 --- a/plugins/modules/ibm_is_lb_info.py +++ b/plugins/modules/ibm_is_lb_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b573c8083..34697a5af 100644 --- a/plugins/modules/ibm_is_lb_listener.py +++ b/plugins/modules/ibm_is_lb_listener.py @@ -18,28 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - protocol: - description: - - (Required for new resource) Loadbalancer protocol - required: True - type: str - accept_proxy_protocol: - description: - - Listener will forward proxy protocol - required: False - type: bool - https_redirect_status_code: + certificate_instance: description: - - The HTTP status code to be returned in the redirect response + - certificate instance for the Loadbalancer required: False - type: int - https_redirect_uri: + type: str + default_pool: description: - - Target URI where traffic will be redirected + - Loadbalancer default pool info required: False type: str port: @@ -47,41 +37,51 @@ - Loadbalancer listener port required: False type: int - default_pool: + port_min: description: - - Loadbalancer default pool info + - The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. required: False - type: str - lb: - description: - - (Required for new resource) Loadbalancer listener ID - required: True - type: str + type: int port_max: description: - The inclusive upper bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener required: False type: int - connection_limit: + https_redirect_status_code: description: - - Connection limit for Loadbalancer + - The HTTP status code to be returned in the redirect response required: False type: int - port_min: + accept_proxy_protocol: description: - - The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. + - Listener will forward proxy protocol required: False - type: int - certificate_instance: + type: bool + https_redirect_uri: description: - - certificate instance for the Loadbalancer + - Target URI where traffic will be redirected required: False type: str + lb: + description: + - (Required for new resource) Loadbalancer listener ID + required: True + type: str + protocol: + description: + - (Required for new resource) Loadbalancer protocol + required: True + type: str https_redirect_listener: description: - ID of the listener that will be set as http redirect target required: False type: str + connection_limit: + description: + - Connection limit for Loadbalancer + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -128,24 +128,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('protocol', 'str'), ('lb', 'str'), + ('protocol', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'protocol', - 'accept_proxy_protocol', + 'certificate_instance', + 'default_pool', + 'port', + 'port_min', + 'port_max', 'https_redirect_status_code', + 'accept_proxy_protocol', 'https_redirect_uri', - 'port', - 'default_pool', 'lb', - 'port_max', - 'connection_limit', - 'port_min', - 'certificate_instance', + 'protocol', 'https_redirect_listener', + 'connection_limit', ] # Params for Data source @@ -166,42 +166,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( - protocol=dict( + certificate_instance=dict( required=False, type='str'), - accept_proxy_protocol=dict( - required=False, - type='bool'), - https_redirect_status_code=dict( - required=False, - type='int'), - https_redirect_uri=dict( + default_pool=dict( required=False, type='str'), port=dict( required=False, type='int'), - default_pool=dict( - required=False, - type='str'), - lb=dict( + port_min=dict( required=False, - type='str'), + type='int'), port_max=dict( required=False, type='int'), - connection_limit=dict( + https_redirect_status_code=dict( required=False, type='int'), - port_min=dict( + accept_proxy_protocol=dict( required=False, - type='int'), - certificate_instance=dict( + type='bool'), + https_redirect_uri=dict( + required=False, + type='str'), + lb=dict( + required=False, + type='str'), + protocol=dict( required=False, type='str'), https_redirect_listener=dict( required=False, type='str'), + connection_limit=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_listener_info.py b/plugins/modules/ibm_is_lb_listener_info.py index 884678ace..d2924c3d8 100644 --- a/plugins/modules/ibm_is_lb_listener_info.py +++ b/plugins/modules/ibm_is_lb_listener_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policies_info.py b/plugins/modules/ibm_is_lb_listener_policies_info.py index 814f51a93..d298d25c7 100644 --- a/plugins/modules/ibm_is_lb_listener_policies_info.py +++ b/plugins/modules/ibm_is_lb_listener_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0b41784b6..a15aaa9b7 100644 --- a/plugins/modules/ibm_is_lb_listener_policy.py +++ b/plugins/modules/ibm_is_lb_listener_policy.py @@ -18,13 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - target_id: + target_https_redirect_status_code: description: - - Listener Policy Target ID + - The HTTP status code to be returned in the redirect response + required: False + type: int + target_https_redirect_listener: + description: + - ID of the listener that will be set as http redirect target required: False type: str listener: @@ -32,19 +37,19 @@ - (Required for new resource) Listener ID required: True type: str + action: + description: + - (Required for new resource) Policy Action + required: True + type: str name: description: - Policy name required: False type: str - 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 lb: @@ -52,16 +57,11 @@ - (Required for new resource) Load Balancer Listener Policy required: True type: str - target_https_redirect_status_code: + target_http_status_code: description: - - The HTTP status code to be returned in the redirect response + - Listener Policy target HTTPS Status code. required: False type: int - target_https_redirect_listener: - description: - - ID of the listener that will be set as http redirect target - required: False - type: str priority: description: - (Required for new resource) Listener Policy Priority @@ -73,15 +73,15 @@ required: False type: list elements: dict - target_https_redirect_uri: + target_url: description: - - Target URI where traffic will be redirected + - Policy Target URL required: False type: str - action: + target_https_redirect_uri: description: - - (Required for new resource) Policy Action - required: True + - Target URI where traffic will be redirected + required: False type: str id: description: @@ -130,38 +130,38 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('listener', 'str'), + ('action', 'str'), ('lb', 'str'), ('priority', 'int'), - ('action', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target_id', + 'target_https_redirect_status_code', + 'target_https_redirect_listener', 'listener', + 'action', 'name', - 'target_http_status_code', - 'target_url', + 'target_id', 'lb', - 'target_https_redirect_status_code', - 'target_https_redirect_listener', + 'target_http_status_code', 'priority', 'rules', + 'target_url', 'target_https_redirect_uri', - 'action', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('listener', 'str'), - ('policy_id', 'str'), ('lb', 'str'), + ('policy_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'listener', - 'policy_id', 'lb', + 'policy_id', ] TL_CONFLICTS_MAP = { @@ -171,30 +171,30 @@ 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_id=dict( + target_https_redirect_status_code=dict( + required=False, + type='int'), + target_https_redirect_listener=dict( required=False, type='str'), listener=dict( required=False, type='str'), - name=dict( + action=dict( required=False, type='str'), - target_http_status_code=dict( + name=dict( required=False, - type='int'), - target_url=dict( + type='str'), + target_id=dict( required=False, type='str'), lb=dict( required=False, type='str'), - target_https_redirect_status_code=dict( + target_http_status_code=dict( required=False, type='int'), - target_https_redirect_listener=dict( - required=False, - type='str'), priority=dict( required=False, type='int'), @@ -202,10 +202,10 @@ required=False, elements='', type='list'), - target_https_redirect_uri=dict( + target_url=dict( required=False, type='str'), - action=dict( + target_https_redirect_uri=dict( required=False, type='str'), id=dict( @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_listener_policy_info.py b/plugins/modules/ibm_is_lb_listener_policy_info.py index 1a4e2fa89..ef309dd3a 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - The listener identifier. required: True type: str - policy_id: + lb: description: - - The policy identifier. + - The load balancer identifier. required: True type: str - lb: + policy_id: description: - - The load balancer identifier. + - The policy identifier. required: True type: str generation: @@ -70,15 +70,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('listener', 'str'), - ('policy_id', 'str'), ('lb', 'str'), + ('policy_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'listener', - 'policy_id', 'lb', + 'policy_id', ] @@ -92,10 +92,10 @@ listener=dict( required=True, type='str'), - policy_id=dict( + lb=dict( required=True, type='str'), - lb=dict( + policy_id=dict( required=True, type='str'), generation=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7cc18e528..322056d44 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule.py @@ -18,18 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - value: + lb: description: - - (Required for new resource) policy rule value info + - (Required for new resource) Loadbalancer ID required: True type: str - policy: + type: description: - - (Required for new resource) Listener Policy ID + - (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 listener: @@ -37,14 +42,14 @@ - (Required for new resource) Listener ID. required: True type: str - condition: + policy: description: - - (Required for new resource) Condition info of the rule. + - (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: @@ -52,11 +57,6 @@ - None required: False type: str - lb: - description: - - (Required for new resource) Loadbalancer ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,23 +103,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('lb', 'str'), + ('type', 'str'), ('value', 'str'), - ('policy', 'str'), ('listener', 'str'), + ('policy', 'str'), ('condition', 'str'), - ('type', 'str'), - ('lb', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'lb', + 'type', 'value', - 'policy', 'listener', + 'policy', 'condition', - 'type', 'field', - 'lb', ] # Params for Data source @@ -144,25 +144,25 @@ 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( + lb=dict( required=False, type='str'), - policy=dict( + type=dict( required=False, type='str'), - listener=dict( + value=dict( required=False, type='str'), - condition=dict( + listener=dict( required=False, type='str'), - type=dict( + policy=dict( required=False, type='str'), - field=dict( + condition=dict( required=False, type='str'), - lb=dict( + field=dict( required=False, type='str'), id=dict( @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -251,7 +251,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_listener_policy_rule_info.py b/plugins/modules/ibm_is_lb_listener_policy_rule_info.py index a2118aec0..e058fcd2e 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -154,7 +154,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policy_rules_info.py b/plugins/modules/ibm_is_lb_listener_policy_rules_info.py index d3d0f32f6..8e04a7e8d 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rules_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listeners_info.py b/plugins/modules/ibm_is_lb_listeners_info.py index daa88e077..6bba5ca17 100644 --- a/plugins/modules/ibm_is_lb_listeners_info.py +++ b/plugins/modules/ibm_is_lb_listeners_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listeners' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_lb_listeners', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 846013644..14df37869 100644 --- a/plugins/modules/ibm_is_lb_pool.py +++ b/plugins/modules/ibm_is_lb_pool.py @@ -18,23 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - proxy_protocol: - description: - - PROXY protocol setting for this pool - required: False - type: str - lb: + health_delay: description: - - (Required for new resource) Load Balancer ID + - (Required for new resource) Load Blancer health delay time period required: True - type: str - health_timeout: + type: int + health_retries: description: - - (Required for new resource) Load Balancer health timeout interval + - (Required for new resource) Load Balancer health retry count required: True type: int health_monitor_url: @@ -42,50 +37,55 @@ - Health monitor URL of LB Pool required: False type: str - session_persistence_type: + health_monitor_port: description: - - Load Balancer Pool session persisence type. + - Health monitor Port the LB Pool required: False - type: str - health_type: + type: int + lb: description: - - (Required for new resource) Load Balancer health type + - (Required for new resource) Load Balancer ID required: True type: str - name: + protocol: description: - - (Required for new resource) Load Balancer Pool name + - (Required for new resource) Load Balancer Protocol required: True type: str - health_delay: + health_type: description: - - (Required for new resource) Load Blancer health delay time period + - (Required for new resource) Load Balancer health type required: True - type: int - health_retries: + type: str + session_persistence_type: description: - - (Required for new resource) Load Balancer health retry count - required: True - type: int + - Load Balancer Pool session persisence type. + required: False + type: str session_persistence_app_cookie_name: description: - Load Balancer Pool session persisence app cookie name. required: False type: str - algorithm: + proxy_protocol: description: - - (Required for new resource) Load Balancer Pool algorithm + - PROXY protocol setting for this pool + required: False + type: str + name: + description: + - (Required for new resource) Load Balancer Pool name required: True type: str - protocol: + algorithm: description: - - (Required for new resource) Load Balancer Protocol + - (Required for new resource) Load Balancer Pool algorithm required: True type: str - health_monitor_port: + health_timeout: description: - - Health monitor Port the LB Pool - required: False + - (Required for new resource) Load Balancer health timeout interval + required: True type: int id: description: @@ -133,31 +133,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('health_delay', 'int'), + ('health_retries', 'int'), ('lb', 'str'), - ('health_timeout', 'int'), + ('protocol', 'str'), ('health_type', 'str'), ('name', 'str'), - ('health_delay', 'int'), - ('health_retries', 'int'), ('algorithm', 'str'), - ('protocol', 'str'), + ('health_timeout', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'proxy_protocol', - 'lb', - 'health_timeout', - 'health_monitor_url', - 'session_persistence_type', - 'health_type', - 'name', 'health_delay', 'health_retries', + 'health_monitor_url', + 'health_monitor_port', + 'lb', + 'protocol', + 'health_type', + 'session_persistence_type', 'session_persistence_app_cookie_name', + 'proxy_protocol', + 'name', 'algorithm', - 'protocol', - 'health_monitor_port', + 'health_timeout', ] # Params for Data source @@ -166,8 +166,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'lb', + 'identifier', 'name', ] @@ -178,43 +178,43 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - proxy_protocol=dict( + health_delay=dict( required=False, - type='str'), - lb=dict( + type='int'), + health_retries=dict( + required=False, + type='int'), + health_monitor_url=dict( required=False, type='str'), - health_timeout=dict( + health_monitor_port=dict( required=False, type='int'), - health_monitor_url=dict( + lb=dict( required=False, type='str'), - session_persistence_type=dict( + protocol=dict( required=False, type='str'), health_type=dict( required=False, type='str'), - name=dict( + session_persistence_type=dict( required=False, type='str'), - health_delay=dict( - required=False, - type='int'), - health_retries=dict( - required=False, - type='int'), session_persistence_app_cookie_name=dict( required=False, type='str'), - algorithm=dict( + proxy_protocol=dict( required=False, type='str'), - protocol=dict( + name=dict( required=False, type='str'), - health_monitor_port=dict( + algorithm=dict( + required=False, + type='str'), + health_timeout=dict( required=False, type='int'), id=dict( @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -303,7 +303,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_pool_info.py b/plugins/modules/ibm_is_lb_pool_info.py index ba10b320f..608ad539b 100644 --- a/plugins/modules/ibm_is_lb_pool_info.py +++ b/plugins/modules/ibm_is_lb_pool_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - identifier: - description: - - The pool identifier. - required: False - type: str lb: description: - The load balancer identifier. required: True type: str + identifier: + description: + - The pool identifier. + required: False + type: str name: description: - The user-defined name for this load balancer pool. @@ -74,8 +74,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'lb', + 'identifier', 'name', ] @@ -87,12 +87,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( - identifier=dict( - required=False, - type='str'), lb=dict( required=True, type='str'), + identifier=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bb3766c53..318561db6 100644 --- a/plugins/modules/ibm_is_lb_pool_member.py +++ b/plugins/modules/ibm_is_lb_pool_member.py @@ -18,40 +18,40 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool_member' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - target_address: - description: - - Load balancer pool member target address - required: False - type: str - pool: - description: - - (Required for new resource) Loadblancer Poold ID - required: True - type: str lb: description: - (Required for new resource) Load balancer ID required: True type: str - weight: - description: - - Load balcner pool member weight - required: False - type: int port: description: - (Required for new resource) Load Balancer Pool port required: True type: int + target_address: + description: + - Load balancer pool member target address + required: False + type: str target_id: description: - Load balancer pool member target id required: False type: str + weight: + description: + - Load balcner pool member weight + required: False + type: int + pool: + description: + - (Required for new resource) Loadblancer Poold ID + required: True + type: 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 = [ - ('pool', 'str'), ('lb', 'str'), ('port', 'int'), + ('pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target_address', - 'pool', 'lb', - 'weight', 'port', + 'target_address', 'target_id', + 'weight', + 'pool', ] # Params for Data source @@ -133,22 +133,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( - target_address=dict( + lb=dict( required=False, type='str'), - pool=dict( + port=dict( + required=False, + type='int'), + target_address=dict( required=False, type='str'), - lb=dict( + target_id=dict( required=False, type='str'), weight=dict( required=False, type='int'), - port=dict( - required=False, - type='int'), - target_id=dict( + pool=dict( required=False, type='str'), id=dict( @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_lb_pool_member', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_pool_member_info.py b/plugins/modules/ibm_is_lb_pool_member_info.py index 823ab5fba..973c7f2d0 100644 --- a/plugins/modules/ibm_is_lb_pool_member_info.py +++ b/plugins/modules/ibm_is_lb_pool_member_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool_member' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pool_members_info.py b/plugins/modules/ibm_is_lb_pool_members_info.py index b7dbfc271..78b29739c 100644 --- a/plugins/modules/ibm_is_lb_pool_members_info.py +++ b/plugins/modules/ibm_is_lb_pool_members_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool_members' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_pool_members', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pools_info.py b/plugins/modules/ibm_is_lb_pools_info.py index 86a6d7f13..df2f93e99 100644 --- a/plugins/modules/ibm_is_lb_pools_info.py +++ b/plugins/modules/ibm_is_lb_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_lb_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 3d7379c44..de5ea27b6 100644 --- a/plugins/modules/ibm_is_lb_profiles_info.py +++ b/plugins/modules/ibm_is_lb_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_lb_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c05eb09d5..f292ebcc6 100644 --- a/plugins/modules/ibm_is_lbs_info.py +++ b/plugins/modules/ibm_is_lbs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lbs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_lbs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d1cbb94b9..71d87e6cc 100644 --- a/plugins/modules/ibm_is_network_acl.py +++ b/plugins/modules/ibm_is_network_acl.py @@ -18,16 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: + vpc: description: - - List of tags + - Network ACL VPC name required: False - type: list - elements: str + type: str rules: description: - None @@ -44,11 +43,12 @@ - Resource group ID for the network ACL required: False type: str - vpc: + tags: description: - - Network ACL VPC name + - List of tags required: False - type: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,11 +100,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', + 'vpc', 'rules', 'name', 'resource_group', - 'vpc', + 'tags', ] # Params for Data source @@ -112,9 +112,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpc_name', 'network_acl', 'name', + 'vpc_name', ] TL_CONFLICTS_MAP = { @@ -124,10 +124,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( - tags=dict( + vpc=dict( required=False, - elements='', - type='list'), + type='str'), rules=dict( required=False, elements='', @@ -138,9 +137,10 @@ resource_group=dict( required=False, type='str'), - vpc=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_network_acl_info.py b/plugins/modules/ibm_is_network_acl_info.py index 542b9be55..d52a45486 100644 --- a/plugins/modules/ibm_is_network_acl_info.py +++ b/plugins/modules/ibm_is_network_acl_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpc_name: - description: - - The name of the vpc the network acl resides in. - required: False - type: str network_acl: description: - The network acl id. @@ -36,6 +31,11 @@ - The network acl name. required: False type: str + vpc_name: + description: + - The name of the vpc the network acl resides in. + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc_name', 'network_acl', 'name', + 'vpc_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( - vpc_name=dict( - required=False, - type='str'), network_acl=dict( required=False, type='str'), name=dict( required=False, type='str'), + vpc_name=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acl_rule.py b/plugins/modules/ibm_is_network_acl_rule.py index 9cc7626f7..157d63e9f 100644 --- a/plugins/modules/ibm_is_network_acl_rule.py +++ b/plugins/modules/ibm_is_network_acl_rule.py @@ -18,21 +18,11 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_acl: - description: - - (Required for new resource) Network ACL id - required: True - type: str - direction: - description: - - (Required for new resource) Direction of traffic to enforce, either inbound or outbound - required: True - type: str - tcp: + icmp: description: - None required: False @@ -44,22 +34,27 @@ required: False type: list elements: dict - action: - description: - - (Required for new resource) Whether to allow or deny matching traffic - required: True - type: str - source: + network_acl: description: - - (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + - (Required for new resource) Network ACL id required: True type: str - icmp: + tcp: description: - None required: False type: list elements: dict + name: + description: + - The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: False + type: str + action: + description: + - (Required for new resource) Whether to allow or deny matching traffic + required: True + type: str destination: description: - (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. @@ -70,10 +65,15 @@ - The rule that this rule is immediately before. If absent, this is the last rule. required: False type: str - name: + source: description: - - The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. - required: False + - (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + 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: @@ -122,54 +122,48 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('network_acl', 'str'), - ('direction', 'str'), ('action', 'str'), - ('source', 'str'), ('destination', 'str'), + ('source', 'str'), + ('direction', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'icmp', + 'udp', 'network_acl', - 'direction', 'tcp', - 'udp', + 'name', 'action', - 'source', - 'icmp', 'destination', 'before', - 'name', + 'source', + 'direction', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('network_acl', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'network_acl', + 'name', ] TL_CONFLICTS_MAP = { - 'tcp': ['icmp', 'udp'], - 'udp': ['icmp', 'tcp'], 'icmp': ['tcp', 'udp'], + 'udp': ['icmp', 'tcp'], + 'tcp': ['icmp', 'udp'], } # 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( - network_acl=dict( - required=False, - type='str'), - direction=dict( - required=False, - type='str'), - tcp=dict( + icmp=dict( required=False, elements='', type='list'), @@ -177,23 +171,29 @@ required=False, elements='', type='list'), - action=dict( - required=False, - type='str'), - source=dict( + network_acl=dict( required=False, type='str'), - icmp=dict( + tcp=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + action=dict( + required=False, + type='str'), destination=dict( required=False, type='str'), before=dict( required=False, type='str'), - name=dict( + source=dict( + required=False, + type='str'), + direction=dict( required=False, type='str'), id=dict( @@ -273,7 +273,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -282,7 +282,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_network_acl_rule_info.py b/plugins/modules/ibm_is_network_acl_rule_info.py index bcee1138a..538b90a29 100644 --- a/plugins/modules/ibm_is_network_acl_rule_info.py +++ b/plugins/modules/ibm_is_network_acl_rule_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + network_acl: description: - - The user-defined name for this rule + - Network ACL id required: True type: str - network_acl: + name: description: - - Network ACL id + - The user-defined name for this rule required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('network_acl', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'network_acl', + 'name', ] @@ -82,10 +82,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( + network_acl=dict( required=True, type='str'), - network_acl=dict( + name=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acl_rules_info.py b/plugins/modules/ibm_is_network_acl_rules_info.py index c8b16f5c1..74b58c47c 100644 --- a/plugins/modules/ibm_is_network_acl_rules_info.py +++ b/plugins/modules/ibm_is_network_acl_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_network_acl_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acls_info.py b/plugins/modules/ibm_is_network_acls_info.py index c68052459..24c8ed62e 100644 --- a/plugins/modules/ibm_is_network_acls_info.py +++ b/plugins/modules/ibm_is_network_acls_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acls' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_network_acls', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_operating_system_info.py b/plugins/modules/ibm_is_operating_system_info.py index ab8cbda77..c773ac98e 100644 --- a/plugins/modules/ibm_is_operating_system_info.py +++ b/plugins/modules/ibm_is_operating_system_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_operating_system' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_operating_system', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_operating_systems_info.py b/plugins/modules/ibm_is_operating_systems_info.py index 110a18e61..f356df3a4 100644 --- a/plugins/modules/ibm_is_operating_systems_info.py +++ b/plugins/modules/ibm_is_operating_systems_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_operating_systems' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_operating_systems', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_placement_group.py b/plugins/modules/ibm_is_placement_group.py index 11746df64..fee604d2f 100644 --- a/plugins/modules/ibm_is_placement_group.py +++ b/plugins/modules/ibm_is_placement_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,14 +27,9 @@ - (Required for new resource) The strategy for this placement group- `host_spread`: place on different compute hosts- `power_spread`: place on compute hosts that use different power sourcesThe enumerated values for this property may expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the placement group on which the unexpected strategy was encountered. required: True type: str - resource_group: - description: - - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - required: False - type: str - tags: + access_tags: description: - - List of tags + - List of access management tags required: False type: list elements: str @@ -43,9 +38,14 @@ - (Required for new resource) The unique user-defined name for this placement group. If unspecified, the name will be a hyphenated list of randomly-selected words. required: True type: str - access_tags: + resource_group: description: - - List of access management tags + - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + required: False + type: str + tags: + description: + - List of tags required: False type: list elements: str @@ -102,10 +102,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'strategy', + 'access_tags', + 'name', 'resource_group', 'tags', - 'name', - 'access_tags', ] # Params for Data source @@ -127,17 +127,17 @@ strategy=dict( required=False, type='str'), - resource_group=dict( - required=False, - type='str'), - tags=dict( + access_tags=dict( required=False, elements='', type='list'), name=dict( required=False, type='str'), - access_tags=dict( + resource_group=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_placement_group_info.py b/plugins/modules/ibm_is_placement_group_info.py index 8be593ce7..111aa8472 100644 --- a/plugins/modules/ibm_is_placement_group_info.py +++ b/plugins/modules/ibm_is_placement_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_placement_groups_info.py b/plugins/modules/ibm_is_placement_groups_info.py index ef28383c5..9f1f625af 100644 --- a/plugins/modules/ibm_is_placement_groups_info.py +++ b/plugins/modules/ibm_is_placement_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_placement_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_placement_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 3c9354b43..2aa57caf8 100644 --- a/plugins/modules/ibm_is_public_gateway.py +++ b/plugins/modules/ibm_is_public_gateway.py @@ -18,14 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_is_public_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_group: + vpc: description: - - Public gateway resource group info - required: False + - (Required for new resource) Public gateway VPC info + required: True type: str tags: description: @@ -43,10 +43,10 @@ - None required: False type: dict - vpc: + resource_group: description: - - (Required for new resource) Public gateway VPC info - required: True + - Public gateway resource group info + required: False type: str zone: description: @@ -99,18 +99,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('vpc', 'str'), + ('name', 'str'), ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', + 'vpc', 'tags', 'name', 'floating_ip', - 'vpc', + 'resource_group', 'zone', ] @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group', 'name', + 'resource_group', ] TL_CONFLICTS_MAP = { @@ -131,7 +131,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( - resource_group=dict( + vpc=dict( required=False, type='str'), tags=dict( @@ -144,7 +144,7 @@ floating_ip=dict( required=False, type='dict'), - vpc=dict( + resource_group=dict( required=False, type='str'), zone=dict( @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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.47.1', + ibm_provider_version='1.48.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 3a7c56fdf..09e32e046 100644 --- a/plugins/modules/ibm_is_public_gateway_info.py +++ b/plugins/modules/ibm_is_public_gateway_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_public_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_group: - description: - - Public gateway resource group info - required: False - type: str name: description: - Public gateway Name required: True type: str + resource_group: + description: + - Public gateway resource group info + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'name', + 'resource_group', ] @@ -81,12 +81,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( - resource_group=dict( - required=False, - type='str'), name=dict( required=True, type='str'), + resource_group=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_public_gateways_info.py b/plugins/modules/ibm_is_public_gateways_info.py index e28443904..1fc9f23e9 100644 --- a/plugins/modules/ibm_is_public_gateways_info.py +++ b/plugins/modules/ibm_is_public_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_public_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_public_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ea5d44824..36c9bdcc6 100644 --- a/plugins/modules/ibm_is_region_info.py +++ b/plugins/modules/ibm_is_region_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_region' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_region', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_regions_info.py b/plugins/modules/ibm_is_regions_info.py index 4e9caad91..033fccc3b 100644 --- a/plugins/modules/ibm_is_regions_info.py +++ b/plugins/modules/ibm_is_regions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_regions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_regions', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2cb1bd470..dca11d1fe 100644 --- a/plugins/modules/ibm_is_security_group.py +++ b/plugins/modules/ibm_is_security_group.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 - required: True - type: str resource_group: description: - Resource Group ID @@ -43,6 +33,16 @@ required: False type: list elements: str + vpc: + description: + - (Required for new resource) Security group's resource group id + required: True + type: str + name: + description: + - Security group name + required: False + 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 = [ - 'name', - 'vpc', 'resource_group', 'tags', + 'vpc', + 'name', ] # Params for Data source @@ -116,12 +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( - name=dict( - required=False, - type='str'), - vpc=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), @@ -129,6 +123,12 @@ required=False, elements='', type='list'), + vpc=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5e48ce8f9..f4ce12c0d 100644 --- a/plugins/modules/ibm_is_security_group_info.py +++ b/plugins/modules/ibm_is_security_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0e87976ef..a27084ea9 100644 --- a/plugins/modules/ibm_is_security_group_network_interface_attachment.py +++ b/plugins/modules/ibm_is_security_group_network_interface_attachment.py @@ -18,18 +18,18 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_interface: + security_group: description: - - (Required for new resource) security group network interface attachment NIC ID + - (Required for new resource) security group network interface attachment group ID required: True type: str - security_group: + network_interface: description: - - (Required for new resource) security group network interface attachment group ID + - (Required for new resource) security group network interface attachment NIC ID required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_interface', 'str'), ('security_group', 'str'), + ('network_interface', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_interface', 'security_group', + 'network_interface', ] # Params for Data source @@ -102,10 +102,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( - network_interface=dict( + security_group=dict( required=False, type='str'), - security_group=dict( + network_interface=dict( required=False, type='str'), id=dict( @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_security_group_network_interface_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 daccf77d6..7fff0e121 100644 --- a/plugins/modules/ibm_is_security_group_rule.py +++ b/plugins/modules/ibm_is_security_group_rule.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + 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 @@ -33,21 +39,14 @@ required: False type: str default: ipv4 - icmp: - description: - - protocol=icmp - required: False - type: list - elements: dict - tcp: + remote: description: - - protocol=tcp + - Security group id: an IP address, a CIDR block, or a single security group identifier required: False - type: list - elements: dict - udp: + type: str + icmp: description: - - protocol=udp + - protocol=icmp required: False type: list elements: dict @@ -56,11 +55,12 @@ - (Required for new resource) Security group id required: True type: str - remote: + tcp: description: - - Security group id: an IP address, a CIDR block, or a single security group identifier + - protocol=tcp required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,13 +113,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'udp', 'direction', 'ip_version', + 'remote', 'icmp', - 'tcp', - 'udp', 'group', - 'remote', + 'tcp', ] # Params for Data source @@ -134,39 +134,39 @@ ] 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( + udp=dict( + required=False, + elements='', + type='list'), direction=dict( required=False, type='str'), ip_version=dict( required=False, type='str'), - icmp=dict( - required=False, - elements='', - type='list'), - tcp=dict( + remote=dict( required=False, - elements='', - type='list'), - udp=dict( + type='str'), + icmp=dict( required=False, elements='', type='list'), group=dict( required=False, type='str'), - remote=dict( + tcp=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_security_group_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_security_group_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_rule_info.py b/plugins/modules/ibm_is_security_group_rule_info.py index 9cbf18385..91f6e4a7e 100644 --- a/plugins/modules/ibm_is_security_group_rule_info.py +++ b/plugins/modules/ibm_is_security_group_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_security_group_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_rules_info.py b/plugins/modules/ibm_is_security_group_rules_info.py index 7b31c31b4..3623a7509 100644 --- a/plugins/modules/ibm_is_security_group_rules_info.py +++ b/plugins/modules/ibm_is_security_group_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_security_group_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_target.py b/plugins/modules/ibm_is_security_group_target.py index 65bb1fd03..bc2890624 100644 --- a/plugins/modules/ibm_is_security_group_target.py +++ b/plugins/modules/ibm_is_security_group_target.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_target' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - target: + security_group: description: - - (Required for new resource) security group target identifier + - (Required for new resource) Security group id required: True type: str - security_group: + target: description: - - (Required for new resource) Security group id + - (Required for new resource) security group target identifier required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('target', 'str'), ('security_group', 'str'), + ('target', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target', 'security_group', + 'target', ] # Params for Data source @@ -106,10 +106,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( - target=dict( + security_group=dict( required=False, type='str'), - security_group=dict( + target=dict( required=False, type='str'), id=dict( @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_target_info.py b/plugins/modules/ibm_is_security_group_target_info.py index 32f9883bd..06015cc6a 100644 --- a/plugins/modules/ibm_is_security_group_target_info.py +++ b/plugins/modules/ibm_is_security_group_target_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_target' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_targets_info.py b/plugins/modules/ibm_is_security_group_targets_info.py index 647a02c04..55883a080 100644 --- a/plugins/modules/ibm_is_security_group_targets_info.py +++ b/plugins/modules/ibm_is_security_group_targets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_targets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_security_group_targets', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_groups_info.py b/plugins/modules/ibm_is_security_groups_info.py index f64408919..4ecf31c4f 100644 --- a/plugins/modules/ibm_is_security_groups_info.py +++ b/plugins/modules/ibm_is_security_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_security_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_snapshot.py b/plugins/modules/ibm_is_snapshot.py index 87f79b5a8..55c0a1325 100644 --- a/plugins/modules/ibm_is_snapshot.py +++ b/plugins/modules/ibm_is_snapshot.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_snapshot' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,9 +27,14 @@ - Resource group info required: False type: str - tags: + source_volume: description: - - User Tags for the snapshot + - (Required for new resource) Snapshot source volume + required: True + type: str + access_tags: + description: + - List of access management tags required: False type: list elements: str @@ -38,11 +43,12 @@ - Snapshot name required: False type: str - source_volume: + tags: description: - - (Required for new resource) Snapshot source volume - required: True - type: str + - User Tags for the snapshot + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,9 +101,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group', - 'tags', - 'name', 'source_volume', + 'access_tags', + 'name', + 'tags', ] # Params for Data source @@ -119,16 +126,20 @@ resource_group=dict( required=False, type='str'), - tags=dict( + source_volume=dict( + required=False, + type='str'), + access_tags=dict( required=False, elements='', type='list'), name=dict( required=False, type='str'), - source_volume=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -206,7 +217,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +226,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_snapshot_info.py b/plugins/modules/ibm_is_snapshot_info.py index cd490b7ac..e56e5bcb4 100644 --- a/plugins/modules/ibm_is_snapshot_info.py +++ b/plugins/modules/ibm_is_snapshot_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_snapshot' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_snapshots_info.py b/plugins/modules/ibm_is_snapshots_info.py index 3295a45e9..593afdc7c 100644 --- a/plugins/modules/ibm_is_snapshots_info.py +++ b/plugins/modules/ibm_is_snapshots_info.py @@ -17,38 +17,38 @@ description: - Retrieve an IBM Cloud 'ibm_is_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - backup_policy_plan_id: + name: description: - - Filters the collection to backup policy jobs with the backup plan with the specified identifier + - Filters the snapshot collection by snapshot name required: False type: str - tag: + source_image: description: - - Filters the collection to resources with the exact tag value + - Filters the snapshot collection by source image id required: False type: str - resource_group: + source_volume: description: - - Filters the snapshot collection by resources group id + - Filters the snapshot collection by source volume id required: False type: str - name: + backup_policy_plan_id: description: - - Filters the snapshot collection by snapshot name + - Filters the collection to backup policy jobs with the backup plan with the specified identifier required: False type: str - source_image: + tag: description: - - Filters the snapshot collection by source image id + - Filters the collection to resources with the exact tag value required: False type: str - source_volume: + resource_group: description: - - Filters the snapshot collection by source volume id + - Filters the snapshot collection by resources group id required: False type: str generation: @@ -88,12 +88,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'backup_policy_plan_id', - 'tag', - 'resource_group', 'name', 'source_image', 'source_volume', + 'backup_policy_plan_id', + 'tag', + 'resource_group', ] @@ -104,22 +104,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( - backup_policy_plan_id=dict( + name=dict( required=False, type='str'), - tag=dict( + source_image=dict( required=False, type='str'), - resource_group=dict( + source_volume=dict( required=False, type='str'), - name=dict( + backup_policy_plan_id=dict( required=False, type='str'), - source_image=dict( + tag=dict( required=False, type='str'), - source_volume=dict( + resource_group=dict( required=False, type='str'), generation=dict( @@ -168,7 +168,7 @@ def run_module(): resource_type='ibm_is_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 27cbf2e58..fe61764db 100644 --- a/plugins/modules/ibm_is_ssh_key.py +++ b/plugins/modules/ibm_is_ssh_key.py @@ -18,31 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - public_key: + resource_group: description: - - (Required for new resource) SSH Public key data - required: True + - 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 tags: description: - List of tags for SSH key required: False type: list elements: str - resource_group: - description: - - Resource group ID - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('public_key', 'str'), ('name', 'str'), + ('public_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'public_key', + 'resource_group', 'name', + 'public_key', 'tags', - 'resource_group', ] # Params for Data source @@ -107,8 +107,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group', 'name', + 'resource_group', ] TL_CONFLICTS_MAP = { @@ -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( - public_key=dict( + resource_group=dict( required=False, type='str'), name=dict( required=False, type='str'), + public_key=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - resource_group=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8e8614357..b49fb2fd2 100644 --- a/plugins/modules/ibm_is_ssh_key_info.py +++ b/plugins/modules/ibm_is_ssh_key_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_ssh_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_group: - description: - - Resource group ID - required: False - type: str name: description: - The name of the ssh key required: True type: str + resource_group: + description: + - Resource group ID + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'name', + 'resource_group', ] @@ -81,12 +81,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( - resource_group=dict( - required=False, - type='str'), name=dict( required=True, type='str'), + resource_group=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ssh_keys_info.py b/plugins/modules/ibm_is_ssh_keys_info.py index f7b81d666..3aa9bfc4a 100644 --- a/plugins/modules/ibm_is_ssh_keys_info.py +++ b/plugins/modules/ibm_is_ssh_keys_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ssh_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_ssh_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2c3db7968..64e6a9b84 100644 --- a/plugins/modules/ibm_is_subnet.py +++ b/plugins/modules/ibm_is_subnet.py @@ -18,73 +18,73 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpc: + public_gateway: description: - - (Required for new resource) VPC instance ID - required: True + - Public Gateway of the subnet + required: False type: str - zone: + ipv4_cidr_block: description: - - (Required for new resource) Subnet zone info - required: True + - IPV4 subnet - CIDR block + required: False type: str - network_acl: + ip_version: description: - - The network ACL for this subnet + - The IP version(s) to support for this subnet. required: False type: str + default: ipv4 name: description: - (Required for new resource) Subnet name required: True type: str - access_tags: + resource_group: description: - - List of access management tags + - The resource group for this subnet required: False - type: list - elements: str + type: str routing_table: description: - routing table id that is associated with the subnet required: False type: str - ipv4_cidr_block: - description: - - IPV4 subnet - CIDR block - required: False - type: str - total_ipv4_address_count: - description: - - The total number of IPv4 addresses in this subnet. - required: False - type: int tags: description: - List of tags required: False type: list elements: str - public_gateway: + access_tags: description: - - Public Gateway of the subnet + - List of access management tags required: False - type: str - resource_group: + type: list + elements: str + network_acl: description: - - The resource group for this subnet + - The network ACL for this subnet required: False type: str - ip_version: + vpc: description: - - The IP version(s) to support for this subnet. - required: False + - (Required for new resource) VPC instance ID + required: True type: str - default: ipv4 + zone: + description: + - (Required for new resource) Subnet zone info + required: True + type: str + total_ipv4_address_count: + description: + - The total number of IPv4 addresses in this subnet. + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -131,25 +131,25 @@ # 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 = [ - 'vpc', - 'zone', - 'network_acl', + 'public_gateway', + 'ipv4_cidr_block', + 'ip_version', 'name', - 'access_tags', + 'resource_group', 'routing_table', - 'ipv4_cidr_block', - 'total_ipv4_address_count', 'tags', - 'public_gateway', - 'resource_group', - 'ip_version', + 'access_tags', + 'network_acl', + 'vpc', + 'zone', + 'total_ipv4_address_count', ] # Params for Data source @@ -157,8 +157,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -170,44 +170,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( - vpc=dict( + public_gateway=dict( required=False, type='str'), - zone=dict( + ipv4_cidr_block=dict( required=False, type='str'), - network_acl=dict( + ip_version=dict( required=False, type='str'), name=dict( required=False, type='str'), - access_tags=dict( - required=False, - elements='', - type='list'), - routing_table=dict( + resource_group=dict( required=False, type='str'), - ipv4_cidr_block=dict( + routing_table=dict( required=False, type='str'), - total_ipv4_address_count=dict( - required=False, - type='int'), tags=dict( required=False, elements='', type='list'), - public_gateway=dict( + access_tags=dict( + required=False, + elements='', + type='list'), + network_acl=dict( required=False, type='str'), - resource_group=dict( + vpc=dict( required=False, type='str'), - ip_version=dict( + zone=dict( required=False, type='str'), + total_ipv4_address_count=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c96d3a81e..1d32a04a8 100644 --- a/plugins/modules/ibm_is_subnet_info.py +++ b/plugins/modules/ibm_is_subnet_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - identifier: + name: description: - None required: False type: str - name: + identifier: description: - None required: False @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] @@ -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( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9e761c792..35a862b84 100644 --- a/plugins/modules/ibm_is_subnet_network_acl_attachment.py +++ b/plugins/modules/ibm_is_subnet_network_acl_attachment.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_subnet_network_acl_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_public_gateway_attachment.py b/plugins/modules/ibm_is_subnet_public_gateway_attachment.py index a4fee64dd..2e3532baa 100644 --- a/plugins/modules/ibm_is_subnet_public_gateway_attachment.py +++ b/plugins/modules/ibm_is_subnet_public_gateway_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_public_gateway_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_subnet_public_gateway_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_reserved_ip.py b/plugins/modules/ibm_is_subnet_reserved_ip.py index 5684c7c74..76cf1d5de 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ip.py +++ b/plugins/modules/ibm_is_subnet_reserved_ip.py @@ -18,35 +18,35 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_reserved_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - The user-defined or system-provided name for this reserved IP. + required: False + type: str + address: + description: + - The address for this reserved IP. + required: False + type: str subnet: description: - (Required for new resource) The subnet identifier. required: True type: str - auto_delete: - description: - - If set to true, this reserved IP will be automatically deleted - required: False - type: bool target: description: - The unique identifier for target. required: False type: str - address: - description: - - The address for this reserved IP. - required: False - type: str - name: + auto_delete: description: - - The user-defined or system-provided name for this reserved IP. + - If set to true, this reserved IP will be automatically deleted required: False - type: str + type: bool 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 = [ + 'name', + 'address', 'subnet', - 'auto_delete', 'target', - 'address', - 'name', + 'auto_delete', ] # Params for Data source @@ -123,21 +123,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( - subnet=dict( + name=dict( required=False, type='str'), - auto_delete=dict( - required=False, - type='bool'), - target=dict( + address=dict( required=False, type='str'), - address=dict( + subnet=dict( required=False, type='str'), - name=dict( + target=dict( required=False, type='str'), + auto_delete=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_subnet_reserved_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_reserved_ip_info.py b/plugins/modules/ibm_is_subnet_reserved_ip_info.py index d768fe7f3..f23df4194 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ip_info.py +++ b/plugins/modules/ibm_is_subnet_reserved_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet_reserved_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_reserved_ips_info.py b/plugins/modules/ibm_is_subnet_reserved_ips_info.py index 5851155f7..bf0abdece 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ips_info.py +++ b/plugins/modules/ibm_is_subnet_reserved_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet_reserved_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_routing_table_attachment.py b/plugins/modules/ibm_is_subnet_routing_table_attachment.py index 7cd2a8de6..c0a664f10 100644 --- a/plugins/modules/ibm_is_subnet_routing_table_attachment.py +++ b/plugins/modules/ibm_is_subnet_routing_table_attachment.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_routing_table_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - subnet: + routing_table: description: - - (Required for new resource) The subnet identifier + - (Required for new resource) The unique identifier of routing table required: True type: str - routing_table: + subnet: description: - - (Required for new resource) The unique identifier of routing table + - (Required for new resource) The subnet identifier required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnet', 'str'), ('routing_table', 'str'), + ('subnet', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnet', 'routing_table', + 'subnet', ] # Params for Data source @@ -102,10 +102,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( - subnet=dict( + routing_table=dict( required=False, type='str'), - routing_table=dict( + subnet=dict( required=False, type='str'), id=dict( @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_subnet_routing_table_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 3cb615c01..21b5341f5 100644 --- a/plugins/modules/ibm_is_subnets_info.py +++ b/plugins/modules/ibm_is_subnets_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_group: + description: + - Resource Group ID + required: False + type: str routing_table_name: description: - Name of the routing table @@ -31,11 +36,6 @@ - ID of the routing table required: False type: str - resource_group: - description: - - Resource Group ID - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group', 'routing_table_name', 'routing_table', - 'resource_group', ] @@ -86,13 +86,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( - routing_table_name=dict( + resource_group=dict( required=False, type='str'), - routing_table=dict( + routing_table_name=dict( required=False, type='str'), - resource_group=dict( + routing_table=dict( required=False, type='str'), generation=dict( @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_subnets', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 9b5c109d1..a5840453c 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway.py @@ -18,10 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Endpoint gateway name + required: True + type: str + target: + description: + - (Required for new resource) Endpoint gateway target + required: True + type: list + elements: dict vpc: description: - (Required for new resource) The VPC id @@ -33,11 +44,6 @@ required: False type: list elements: str - name: - description: - - (Required for new resource) Endpoint gateway name - required: True - type: str resource_group: description: - The resource group id @@ -55,12 +61,6 @@ required: False type: list elements: dict - target: - description: - - (Required for new resource) Endpoint gateway target - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,20 +107,20 @@ # 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', + 'target', 'vpc', 'tags', - 'name', 'resource_group', 'security_groups', 'ips', - 'target', ] # Params for Data source @@ -139,16 +139,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( - vpc=dict( + name=dict( required=False, type='str'), - tags=dict( + target=dict( required=False, elements='', type='list'), - name=dict( + vpc=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), resource_group=dict( required=False, type='str'), @@ -160,10 +164,6 @@ required=False, elements='', type='list'), - target=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8267b9d4a..efe53c24c 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 597654c80..f5551df13 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py @@ -18,18 +18,18 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - reserved_ip: + gateway: description: - - (Required for new resource) Endpoint gateway IP id + - (Required for new resource) Endpoint gateway ID required: True type: str - gateway: + reserved_ip: description: - - (Required for new resource) Endpoint gateway ID + - (Required for new resource) Endpoint gateway IP id required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('reserved_ip', 'str'), ('gateway', 'str'), + ('reserved_ip', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'reserved_ip', 'gateway', + 'reserved_ip', ] # Params for Data source @@ -102,10 +102,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( - reserved_ip=dict( + gateway=dict( required=False, type='str'), - gateway=dict( + reserved_ip=dict( required=False, type='str'), id=dict( @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 4303bf80d..1d82446d9 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateway_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 50b72746b..003da95da 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 8643cc8a7..6cec6ae6a 100644 --- a/plugins/modules/ibm_is_volume.py +++ b/plugins/modules/ibm_is_volume.py @@ -18,56 +18,62 @@ - Create, update or destroy an IBM Cloud 'ibm_is_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - zone: + name: description: - - (Required for new resource) Zone name + - (Required for new resource) Volume name required: True type: str - resource_group: + profile: description: - - Resource group name - required: False + - (Required for new resource) Volume profile name + required: True type: str - delete_all_snapshots: + iops: description: - - Deletes all snapshots created from this volume + - IOPS value for the Volume required: False - type: bool + type: int tags: description: - UserTags for the volume instance required: False type: list elements: str - name: - description: - - (Required for new resource) Volume name - required: True - type: str capacity: description: - Volume capacity value required: False type: int default: 100 + delete_all_snapshots: + description: + - Deletes all snapshots created from this volume + required: False + type: bool + access_tags: + description: + - Access management tags for the volume instance + required: False + type: list + elements: str + zone: + description: + - (Required for new resource) Zone name + required: True + type: str encryption_key: description: - Volume encryption key info required: False type: str - iops: + resource_group: description: - - IOPS value for the Volume + - Resource group name required: False - type: int - profile: - description: - - (Required for new resource) Volume profile name - required: True type: str id: description: @@ -115,22 +121,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone', 'str'), ('name', 'str'), ('profile', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', - 'resource_group', - 'delete_all_snapshots', - 'tags', 'name', + 'profile', + 'iops', + 'tags', 'capacity', + 'delete_all_snapshots', + 'access_tags', + 'zone', 'encryption_key', - 'iops', - 'profile', + 'resource_group', ] # Params for Data source @@ -150,32 +157,36 @@ 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( + name=dict( required=False, type='str'), - resource_group=dict( + profile=dict( required=False, type='str'), - delete_all_snapshots=dict( + iops=dict( required=False, - type='bool'), + type='int'), tags=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), capacity=dict( required=False, type='int'), - encryption_key=dict( + delete_all_snapshots=dict( + required=False, + type='bool'), + access_tags=dict( + required=False, + elements='', + type='list'), + zone=dict( required=False, type='str'), - iops=dict( + encryption_key=dict( required=False, - type='int'), - profile=dict( + type='str'), + resource_group=dict( required=False, type='str'), id=dict( @@ -255,7 +266,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +275,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b34e37a18..6cbb593b9 100644 --- a/plugins/modules/ibm_is_volume_info.py +++ b/plugins/modules/ibm_is_volume_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volume_profile_info.py b/plugins/modules/ibm_is_volume_profile_info.py index 30e8eeadc..9ee100c91 100644 --- a/plugins/modules/ibm_is_volume_profile_info.py +++ b/plugins/modules/ibm_is_volume_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_volume_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volume_profiles_info.py b/plugins/modules/ibm_is_volume_profiles_info.py index 2bb07255e..bbddfe7e8 100644 --- a/plugins/modules/ibm_is_volume_profiles_info.py +++ b/plugins/modules/ibm_is_volume_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_volume_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volumes_info.py b/plugins/modules/ibm_is_volumes_info.py index c99e98b54..431381519 100644 --- a/plugins/modules/ibm_is_volumes_info.py +++ b/plugins/modules/ibm_is_volumes_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_volumes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - volume_name: + zone_name: description: - - Volume name identifier. + - Zone name identifier. required: False type: str - zone_name: + volume_name: description: - - Zone name identifier. + - Volume name identifier. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'volume_name', 'zone_name', + 'volume_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( - volume_name=dict( + zone_name=dict( required=False, type='str'), - zone_name=dict( + volume_name=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_volumes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 cc3f74509..f78f80361 100644 --- a/plugins/modules/ibm_is_vpc.py +++ b/plugins/modules/ibm_is_vpc.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -28,6 +28,23 @@ required: False type: bool default: False + default_routing_table_name: + description: + - Default routing table name + required: False + type: str + address_prefix_management: + description: + - Address Prefix management value + required: False + type: str + default: auto + tags: + description: + - List of tags + required: False + type: list + elements: str name: description: - (Required for new resource) VPC name @@ -43,28 +60,11 @@ - Default security group name required: False type: str - address_prefix_management: - description: - - Address Prefix management value - required: False - type: str - default: auto - default_routing_table_name: - description: - - Default routing table name - required: False - type: str resource_group: description: - Resource group info required: False type: str - tags: - description: - - List of tags - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,13 +117,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'classic_access', + 'default_routing_table_name', + 'address_prefix_management', + 'tags', 'name', 'default_network_acl_name', 'default_security_group_name', - 'address_prefix_management', - 'default_routing_table_name', 'resource_group', - 'tags', ] # Params for Data source @@ -131,8 +131,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -145,28 +145,28 @@ classic_access=dict( required=False, type='bool'), - name=dict( + default_routing_table_name=dict( required=False, type='str'), - default_network_acl_name=dict( + address_prefix_management=dict( required=False, type='str'), - default_security_group_name=dict( + tags=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), - address_prefix_management=dict( + default_network_acl_name=dict( required=False, type='str'), - default_routing_table_name=dict( + default_security_group_name=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_vpc', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c5e4dd27b..37275c836 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix.py +++ b/plugins/modules/ibm_is_vpc_address_prefix.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_address_prefix' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,10 +114,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpc_name', - 'address_prefix', 'vpc', + 'address_prefix', 'address_prefix_name', + 'vpc_name', ] TL_CONFLICTS_MAP = { @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_info.py b/plugins/modules/ibm_is_vpc_address_prefix_info.py index 9d34790aa..170b105db 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix_info.py +++ b/plugins/modules/ibm_is_vpc_address_prefix_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_address_prefix' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpc_name: + vpc: description: - - The VPC name. + - The VPC identifier. required: False type: str address_prefix: @@ -31,14 +31,14 @@ - The address prefix identifier. required: False type: str - vpc: + address_prefix_name: description: - - The VPC identifier. + - The address prefix name. required: False type: str - address_prefix_name: + vpc_name: description: - - The address prefix name. + - The VPC name. required: False type: str generation: @@ -78,10 +78,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc_name', - 'address_prefix', 'vpc', + 'address_prefix', 'address_prefix_name', + 'vpc_name', ] @@ -92,16 +92,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( - vpc_name=dict( + vpc=dict( required=False, type='str'), address_prefix=dict( required=False, type='str'), - vpc=dict( + address_prefix_name=dict( required=False, type='str'), - address_prefix_name=dict( + vpc_name=dict( required=False, type='str'), generation=dict( @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_address_prefixes_info.py b/plugins/modules/ibm_is_vpc_address_prefixes_info.py index c382f7c84..0a7cea51b 100644 --- a/plugins/modules/ibm_is_vpc_address_prefixes_info.py +++ b/plugins/modules/ibm_is_vpc_address_prefixes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_address_prefixes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefixes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0826b4776..0788ef568 100644 --- a/plugins/modules/ibm_is_vpc_default_routing_table_info.py +++ b/plugins/modules/ibm_is_vpc_default_routing_table_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_default_routing_table' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpc_default_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b9b957623..9c49872ca 100644 --- a/plugins/modules/ibm_is_vpc_info.py +++ b/plugins/modules/ibm_is_vpc_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - identifier: + name: description: - None required: False type: str - name: + identifier: description: - None required: False @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] @@ -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( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 62f8130d6..9837f6319 100644 --- a/plugins/modules/ibm_is_vpc_route.py +++ b/plugins/modules/ibm_is_vpc_route.py @@ -18,33 +18,33 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + vpc: description: - - (Required for new resource) VPC route name + - (Required for new resource) VPC instance ID required: True type: str - zone: + next_hop: description: - - (Required for new resource) VPC route location + - (Required for new resource) VPC route next hop value required: True type: str - destination: + name: description: - - (Required for new resource) VPC route destination CIDR value + - (Required for new resource) VPC route name required: True type: str - vpc: + zone: description: - - (Required for new resource) VPC instance ID + - (Required for new resource) VPC route location required: True type: str - next_hop: + destination: description: - - (Required for new resource) VPC route next hop value + - (Required for new resource) VPC route destination CIDR value required: True type: str id: @@ -93,20 +93,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'), - ('next_hop', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'vpc', + 'next_hop', 'name', 'zone', 'destination', - 'vpc', - 'next_hop', ] # Params for Data source @@ -123,19 +123,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( - name=dict( + vpc=dict( required=False, type='str'), - zone=dict( + next_hop=dict( required=False, type='str'), - destination=dict( + name=dict( required=False, type='str'), - vpc=dict( + zone=dict( required=False, type='str'), - next_hop=dict( + destination=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_vpc_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 78cef4b89..a5fd3fa2c 100644 --- a/plugins/modules/ibm_is_vpc_routing_table.py +++ b/plugins/modules/ibm_is_vpc_routing_table.py @@ -18,44 +18,50 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + route_internet_ingress: + description: + - If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true. + required: False + type: bool + default: False vpc: description: - (Required for new resource) The VPC identifier. required: True 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 route_vpc_zone_ingress: description: - If set to true, this routing table will be used to route traffic that originates from subnets in other zones in this VPC. required: False type: bool default: False - name: - description: - - The user-defined name for this routing table. - required: False - type: str accept_routes_from_resource_type: description: - The filters specifying the resources that may create routes in this routing table, The resource type: vpn_gateway or vpn_server required: False type: list elements: 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 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 + name: + description: + - The user-defined name for this routing table. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,12 +113,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'route_internet_ingress', 'vpc', - 'route_direct_link_ingress', 'route_vpc_zone_ingress', - 'name', 'accept_routes_from_resource_type', + 'route_direct_link_ingress', 'route_transit_gateway_ingress', + 'name', ] # Params for Data source @@ -133,25 +140,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( + route_internet_ingress=dict( + required=False, + type='bool'), vpc=dict( required=False, type='str'), - route_direct_link_ingress=dict( - required=False, - type='bool'), route_vpc_zone_ingress=dict( required=False, type='bool'), - name=dict( - required=False, - type='str'), accept_routes_from_resource_type=dict( required=False, elements='', type='list'), + route_direct_link_ingress=dict( + required=False, + type='bool'), route_transit_gateway_ingress=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -229,7 +239,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -238,7 +248,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_routing_table_info.py b/plugins/modules/ibm_is_vpc_routing_table_info.py index 30232774c..657815a89 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d76bc3184..44c74eb60 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route.py @@ -18,39 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpc: + destination: description: - - (Required for new resource) The VPC identifier. + - (Required for new resource) The destination of the route. required: True type: str - action: - description: - - The action to perform with a packet matching the route. - required: False - type: str - default: deliver next_hop: 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: True type: str - name: + action: description: - - The user-defined name for this route. + - 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 - destination: + vpc: description: - - (Required for new resource) The destination of the route. + - (Required for new resource) The VPC identifier. required: True type: str zone: @@ -58,6 +53,11 @@ - (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 + name: + description: + - The user-defined name for this route. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,35 +104,35 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vpc', 'str'), + ('destination', 'str'), ('next_hop', 'str'), ('routing_table', 'str'), - ('destination', 'str'), + ('vpc', 'str'), ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc', - 'action', + 'destination', 'next_hop', - 'name', + 'action', 'routing_table', - 'destination', + 'vpc', 'zone', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('routing_table', 'str'), ('vpc', 'str'), + ('routing_table', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'routing_table', - 'route_id', 'vpc', 'name', + 'routing_table', + 'route_id', ] TL_CONFLICTS_MAP = { @@ -142,27 +142,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( - vpc=dict( - required=False, - type='str'), - action=dict( + destination=dict( required=False, type='str'), next_hop=dict( required=False, type='str'), - name=dict( + action=dict( required=False, type='str'), routing_table=dict( required=False, type='str'), - destination=dict( + vpc=dict( required=False, type='str'), zone=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -240,7 +240,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -249,7 +249,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_routing_table_route_info.py b/plugins/modules/ibm_is_vpc_routing_table_route_info.py index 5616edbff..c7cecb7fa 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - routing_table: + vpc: description: - - The routing table identifier. + - The VPC identifier. required: True type: str - route_id: + name: description: - - The VPC routing table route identifier. + - The user-defined name for this route. required: False type: str - vpc: + routing_table: description: - - The VPC identifier. + - The routing table identifier. required: True type: str - name: + route_id: description: - - The user-defined name for this route. + - The VPC routing table route identifier. required: False type: str generation: @@ -74,38 +74,38 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('routing_table', 'str'), ('vpc', 'str'), + ('routing_table', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'routing_table', - 'route_id', 'vpc', 'name', + 'routing_table', + 'route_id', ] TL_CONFLICTS_MAP = { - 'route_id': ['name'], 'name': ['route_id'], + 'route_id': ['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( - routing_table=dict( + vpc=dict( required=True, type='str'), - route_id=dict( + name=dict( required=False, type='str'), - vpc=dict( + routing_table=dict( required=True, type='str'), - name=dict( + route_id=dict( required=False, type='str'), generation=dict( @@ -154,7 +154,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0adb6f58d..c561d6581 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_routes_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_routes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 85152852a..06b212125 100644 --- a/plugins/modules/ibm_is_vpc_routing_tables_info.py +++ b/plugins/modules/ibm_is_vpc_routing_tables_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_tables' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_tables', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpcs_info.py b/plugins/modules/ibm_is_vpcs_info.py index 0eee0797e..8e0aee1dd 100644 --- a/plugins/modules/ibm_is_vpcs_info.py +++ b/plugins/modules/ibm_is_vpcs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpcs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_vpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 26468b796..fa3b0b151 100644 --- a/plugins/modules/ibm_is_vpn_gateway.py +++ b/plugins/modules/ibm_is_vpn_gateway.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,28 +27,28 @@ - (Required for new resource) VPNGateway subnet info required: True type: str - resource_group: + name: description: - - The resource group for this VPN gateway - required: False + - (Required for new resource) VPN Gateway instance name + required: True type: str - mode: + resource_group: description: - - mode in VPN gateway(route/policy) + - The resource group for this VPN gateway required: False type: str - default: route tags: description: - VPN Gateway tags list required: False type: list elements: str - name: + mode: description: - - (Required for new resource) VPN Gateway instance name - required: True + - mode in VPN gateway(route/policy) + required: False type: str + default: route id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,10 +102,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'subnet', + 'name', 'resource_group', - 'mode', 'tags', - 'name', + 'mode', ] # Params for Data source @@ -127,17 +127,17 @@ subnet=dict( required=False, type='str'), - resource_group=dict( + name=dict( required=False, type='str'), - mode=dict( + resource_group=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - name=dict( + mode=dict( required=False, type='str'), id=dict( @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_gateway_connection.py b/plugins/modules/ibm_is_vpn_gateway_connection.py index 7427d6d30..eea656410 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection.py @@ -18,76 +18,76 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway_connection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + ike_policy: + description: + - VPN gateway connection IKE Policy + required: False + type: str name: description: - (Required for new resource) VPN Gateway connection name required: True type: str - vpn_gateway: + peer_address: description: - - (Required for new resource) VPN Gateway info + - (Required for new resource) VPN gateway connection peer address required: True type: str - action: - description: - - Action detection for dead peer detection action - required: False - type: str - default: restart - interval: - description: - - Interval for dead peer detection interval - required: False - type: int - default: 2 preshared_key: description: - (Required for new resource) vpn gateway required: True type: str - local_cidrs: + peer_cidrs: description: - - VPN gateway connection local CIDRs + - VPN gateway connection peer CIDRs required: False type: list elements: str - timeout: + action: description: - - Timeout for dead peer detection + - Action detection for dead peer detection action required: False - type: int - default: 10 + type: str + default: restart ipsec_policy: description: - IP security policy for vpn gateway connection required: False type: str - ike_policy: + vpn_gateway: description: - - VPN gateway connection IKE Policy - required: False + - (Required for new resource) VPN Gateway info + required: True type: str + timeout: + description: + - Timeout for dead peer detection + required: False + type: int + default: 10 admin_state_up: description: - VPN gateway connection admin state required: False type: bool default: False - peer_address: - description: - - (Required for new resource) VPN gateway connection peer address - required: True - type: str - peer_cidrs: + local_cidrs: description: - - VPN gateway connection peer CIDRs + - VPN gateway connection local CIDRs required: False type: list elements: str + interval: + description: + - Interval for dead peer detection interval + required: False + type: int + default: 2 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,25 +135,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('vpn_gateway', 'str'), - ('preshared_key', 'str'), ('peer_address', 'str'), + ('preshared_key', 'str'), + ('vpn_gateway', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'ike_policy', 'name', - 'vpn_gateway', - 'action', - 'interval', + 'peer_address', 'preshared_key', - 'local_cidrs', - 'timeout', + 'peer_cidrs', + 'action', 'ipsec_policy', - 'ike_policy', + 'vpn_gateway', + 'timeout', 'admin_state_up', - 'peer_address', - 'peer_cidrs', + 'local_cidrs', + 'interval', ] # Params for Data source @@ -161,10 +161,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpn_gateway', + 'vpn_gateway_name', 'vpn_gateway_connection_name', + 'vpn_gateway', 'vpn_gateway_connection', - 'vpn_gateway_name', ] TL_CONFLICTS_MAP = { @@ -174,44 +174,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( - name=dict( + ike_policy=dict( required=False, type='str'), - vpn_gateway=dict( + name=dict( required=False, type='str'), - action=dict( + peer_address=dict( required=False, type='str'), - interval=dict( - required=False, - type='int'), preshared_key=dict( required=False, type='str'), - local_cidrs=dict( + peer_cidrs=dict( required=False, elements='', type='list'), - timeout=dict( + action=dict( required=False, - type='int'), + type='str'), ipsec_policy=dict( required=False, type='str'), - ike_policy=dict( + vpn_gateway=dict( required=False, type='str'), + timeout=dict( + required=False, + type='int'), admin_state_up=dict( required=False, type='bool'), - peer_address=dict( - required=False, - type='str'), - peer_cidrs=dict( + local_cidrs=dict( required=False, elements='', type='list'), + interval=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -298,7 +298,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_gateway_connection_info.py b/plugins/modules/ibm_is_vpn_gateway_connection_info.py index 0fef22bf1..14b33841b 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpn_gateway: + vpn_gateway_name: description: - - The VPN gateway identifier. + - The VPN gateway name. required: False type: str vpn_gateway_connection_name: @@ -31,14 +31,14 @@ - The VPN gateway connection name. required: False type: str - vpn_gateway_connection: + vpn_gateway: description: - - The VPN gateway connection identifier. + - The VPN gateway identifier. required: False type: str - vpn_gateway_name: + vpn_gateway_connection: description: - - The VPN gateway name. + - The VPN gateway connection identifier. required: False type: str generation: @@ -78,10 +78,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpn_gateway', + 'vpn_gateway_name', 'vpn_gateway_connection_name', + 'vpn_gateway', 'vpn_gateway_connection', - 'vpn_gateway_name', ] @@ -92,16 +92,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( - vpn_gateway=dict( + vpn_gateway_name=dict( required=False, type='str'), vpn_gateway_connection_name=dict( required=False, type='str'), - vpn_gateway_connection=dict( + vpn_gateway=dict( required=False, type='str'), - vpn_gateway_name=dict( + vpn_gateway_connection=dict( required=False, type='str'), generation=dict( @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 3028852fc..b0c106168 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connections_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_connections_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway_connections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connections', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway_info.py b/plugins/modules/ibm_is_vpn_gateway_info.py index 165c491ae..82fb080cb 100644 --- a/plugins/modules/ibm_is_vpn_gateway_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 890d26797..27d7cf09b 100644 --- a/plugins/modules/ibm_is_vpn_gateways_info.py +++ b/plugins/modules/ibm_is_vpn_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_vpn_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server.py b/plugins/modules/ibm_is_vpn_server.py index 63fdad4b4..3c5494c46 100644 --- a/plugins/modules/ibm_is_vpn_server.py +++ b/plugins/modules/ibm_is_vpn_server.py @@ -18,49 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - security_groups: - description: - - The unique identifier for this security group. The security groups to use for this VPN server. If unspecified, the VPC's default security group is used. - required: False - type: list - elements: str - client_authentication: - description: - - (Required for new resource) The methods used to authenticate VPN clients to this VPN server. VPN clients must authenticate against all provided methods. - required: True - type: list - elements: dict - client_ip_pool: - description: - - (Required for new resource) The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address prefixes in the VPC or any of the following reserved address ranges: - `127.0.0.0/8` (IPv4 loopback addresses) - `161.26.0.0/16` (IBM services) - `166.8.0.0/14` (Cloud Service Endpoints) - `169.254.0.0/16` (IPv4 link-local addresses) - `224.0.0.0/4` (IPv4 multicast addresses)The prefix length of the client IP address pool's CIDR must be between`/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses that are required to enable the maximum number of concurrent connections is recommended. - required: True - type: str protocol: description: - The transport protocol to use for this VPN server. required: False type: str default: udp - enable_split_tunneling: + resource_group: description: - - Indicates whether the split tunneling is enabled on this VPN server. + - The unique identifier for this resource group. The resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. required: False - type: bool - default: False - subnets: - description: - - (Required for new resource) The unique identifier for this subnet. The subnets to provision this VPN server in. Use subnets in different zones for high availability. - required: True - type: list - elements: str - certificate_crn: - description: - - (Required for new resource) The crn of certificate instance for this VPN server. - required: True type: str client_dns_server_ips: description: @@ -68,34 +39,63 @@ required: False type: list elements: str + enable_split_tunneling: + description: + - Indicates whether the split tunneling is enabled on this VPN server. + required: False + type: bool + default: False port: description: - The port number to use for this VPN server. required: False type: int default: 443 + security_groups: + description: + - The unique identifier for this security group. The security groups to use for this VPN server. If unspecified, the VPC's default security group is used. + required: False + type: list + elements: str + client_idle_timeout: + description: + - The seconds a VPN client can be idle before this VPN server will disconnect it. Specify `0` to prevent the server from disconnecting idle clients. + required: False + type: int + default: 600 resource_type: description: - The type of resource referenced. required: False type: str default: vpn_server - name: + certificate_crn: description: - - The user-defined name for this VPN server. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPC this VPN server is serving. - required: False + - (Required for new resource) The crn of certificate instance for this VPN server. + required: True type: str - client_idle_timeout: + client_authentication: description: - - The seconds a VPN client can be idle before this VPN server will disconnect it. Specify `0` to prevent the server from disconnecting idle clients. - required: False - type: int - default: 600 - resource_group: + - (Required for new resource) The methods used to authenticate VPN clients to this VPN server. VPN clients must authenticate against all provided methods. + required: True + type: list + elements: dict + client_ip_pool: description: - - The unique identifier for this resource group. The resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + - (Required for new resource) The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address prefixes in the VPC or any of the following reserved address ranges: - `127.0.0.0/8` (IPv4 loopback addresses) - `161.26.0.0/16` (IBM services) - `166.8.0.0/14` (Cloud Service Endpoints) - `169.254.0.0/16` (IPv4 link-local addresses) - `224.0.0.0/4` (IPv4 multicast addresses)The prefix length of the client IP address pool's CIDR must be between`/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses that are required to enable the maximum number of concurrent connections is recommended. + required: True + type: str + name: + description: + - The user-defined name for this VPN server. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPC this VPN server is serving. required: False type: str + subnets: + description: + - (Required for new resource) The unique identifier for this subnet. The subnets to provision this VPN server in. Use subnets in different zones for high availability. + required: True + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -142,27 +142,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('certificate_crn', 'str'), ('client_authentication', 'list'), ('client_ip_pool', 'str'), ('subnets', 'list'), - ('certificate_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_groups', - 'client_authentication', - 'client_ip_pool', 'protocol', - 'enable_split_tunneling', - 'subnets', - 'certificate_crn', + 'resource_group', 'client_dns_server_ips', + 'enable_split_tunneling', 'port', + 'security_groups', + 'client_idle_timeout', 'resource_type', + 'certificate_crn', + 'client_authentication', + 'client_ip_pool', 'name', - 'client_idle_timeout', - 'resource_group', + 'subnets', ] # 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( - security_groups=dict( - required=False, - elements='', - type='list'), - client_authentication=dict( - required=False, - elements='', - type='list'), - client_ip_pool=dict( + protocol=dict( required=False, type='str'), - protocol=dict( + resource_group=dict( required=False, type='str'), + client_dns_server_ips=dict( + required=False, + elements='', + type='list'), enable_split_tunneling=dict( required=False, type='bool'), - subnets=dict( + port=dict( + required=False, + type='int'), + security_groups=dict( required=False, elements='', type='list'), + client_idle_timeout=dict( + required=False, + type='int'), + resource_type=dict( + required=False, + type='str'), certificate_crn=dict( required=False, type='str'), - client_dns_server_ips=dict( + client_authentication=dict( required=False, elements='', type='list'), - port=dict( - required=False, - type='int'), - resource_type=dict( + client_ip_pool=dict( required=False, type='str'), name=dict( required=False, type='str'), - client_idle_timeout=dict( - required=False, - type='int'), - resource_group=dict( + subnets=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -301,7 +301,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -310,7 +310,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_server_client.py b/plugins/modules/ibm_is_vpn_server_client.py index 57635e4ff..41ad8be07 100644 --- a/plugins/modules/ibm_is_vpn_server_client.py +++ b/plugins/modules/ibm_is_vpn_server_client.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server_client' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_server_client_configuration_info.py b/plugins/modules/ibm_is_vpn_server_client_configuration_info.py index bae6a116b..c92266a15 100644 --- a/plugins/modules/ibm_is_vpn_server_client_configuration_info.py +++ b/plugins/modules/ibm_is_vpn_server_client_configuration_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_client_configuration' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client_configuration', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_client_info.py b/plugins/modules/ibm_is_vpn_server_client_info.py index 42635f61f..7d6fecb14 100644 --- a/plugins/modules/ibm_is_vpn_server_client_info.py +++ b/plugins/modules/ibm_is_vpn_server_client_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_client' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_clients_info.py b/plugins/modules/ibm_is_vpn_server_clients_info.py index c126739ac..a9d2c37b2 100644 --- a/plugins/modules/ibm_is_vpn_server_clients_info.py +++ b/plugins/modules/ibm_is_vpn_server_clients_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_clients' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpn_server_clients', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_info.py b/plugins/modules/ibm_is_vpn_server_info.py index cb5438b5f..5d69e3fda 100644 --- a/plugins/modules/ibm_is_vpn_server_info.py +++ b/plugins/modules/ibm_is_vpn_server_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_route.py b/plugins/modules/ibm_is_vpn_server_route.py index af4708dc1..e666003e9 100644 --- a/plugins/modules/ibm_is_vpn_server_route.py +++ b/plugins/modules/ibm_is_vpn_server_route.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPN server the VPN route resides in. - required: False - type: str vpn_server: description: - (Required for new resource) The VPN server identifier. @@ -43,6 +38,11 @@ required: False type: str default: deliver + name: + description: + - The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPN server the VPN route resides in. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,10 +95,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'vpn_server', 'destination', 'action', + 'name', ] # Params for Data source @@ -107,9 +107,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpn_server', 'identifier', 'name', + 'vpn_server', ] TL_CONFLICTS_MAP = { @@ -119,9 +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( - name=dict( - required=False, - type='str'), vpn_server=dict( required=False, type='str'), @@ -131,6 +128,9 @@ action=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_server_route_info.py b/plugins/modules/ibm_is_vpn_server_route_info.py index 656a1e58f..706a5c47b 100644 --- a/plugins/modules/ibm_is_vpn_server_route_info.py +++ b/plugins/modules/ibm_is_vpn_server_route_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - vpn_server: - description: - - The VPN server identifier. - required: True - type: str identifier: description: - The unique identifier for this VPN server route @@ -36,6 +31,11 @@ - The unique user-defined name for this VPN server route required: False type: str + vpn_server: + description: + - The VPN server identifier. + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpn_server', 'identifier', 'name', + 'vpn_server', ] @@ -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( - vpn_server=dict( - required=True, - type='str'), identifier=dict( required=False, type='str'), name=dict( required=False, type='str'), + vpn_server=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_routes_info.py b/plugins/modules/ibm_is_vpn_server_routes_info.py index 8677e7061..d2beeabfb 100644 --- a/plugins/modules/ibm_is_vpn_server_routes_info.py +++ b/plugins/modules/ibm_is_vpn_server_routes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpn_server_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_servers_info.py b/plugins/modules/ibm_is_vpn_servers_info.py index 5e694dc7c..506923a42 100644 --- a/plugins/modules/ibm_is_vpn_servers_info.py +++ b/plugins/modules/ibm_is_vpn_servers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_servers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_vpn_servers', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 c2a9c128c..e3b68f696 100644 --- a/plugins/modules/ibm_is_zone_info.py +++ b/plugins/modules/ibm_is_zone_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_zone' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7b771636c..b1fbcb061 100644 --- a/plugins/modules/ibm_is_zones_info.py +++ b/plugins/modules/ibm_is_zones_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_instance_policies.py b/plugins/modules/ibm_kms_instance_policies.py new file mode 100644 index 000000000..c0de026af --- /dev/null +++ b/plugins/modules/ibm_kms_instance_policies.py @@ -0,0 +1,239 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_kms_instance_policies +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/kms_instance_policies + +short_description: Configure IBM Cloud 'ibm_kms_instance_policies' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_kms_instance_policies' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - (Required for new resource) Key protect or hpcs instance GUID or CRN + required: True + type: str + dual_auth_delete: + description: + - Data associated with the dual authorization delete policy for instance + required: False + type: list + elements: dict + rotation: + description: + - Data associated with the rotation policy for instance + required: False + type: list + elements: dict + key_create_import_access: + description: + - Data associated with the key create import access policy for the instance + required: False + type: list + elements: dict + metrics: + description: + - Data associated with the metric policy for instance + required: False + type: list + elements: dict + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'dual_auth_delete', + 'rotation', + 'key_create_import_access', + 'metrics', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'policy_type', +] + +TL_CONFLICTS_MAP = { +} + +# 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( + instance_id=dict( + required=False, + type='str'), + dual_auth_delete=dict( + required=False, + elements='', + type='list'), + rotation=dict( + required=False, + elements='', + type='list'), + key_create_import_access=dict( + required=False, + elements='', + type='list'), + metrics=dict( + required=False, + elements='', + type='list'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result_ds = ibmcloud_terraform( + resource_type='ibm_kms_instance_policies', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS_DS, + tl_all_params=TL_ALL_PARAMETERS_DS) + + if result_ds['rc'] != 0 or (result_ds['rc'] == 0 and (module.params['id'] is not None or module.params['state'] == 'absent')): + result = ibmcloud_terraform( + resource_type='ibm_kms_instance_policies', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + else: + module.exit_json(**result_ds) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_kms_instance_policies_info.py b/plugins/modules/ibm_kms_instance_policies_info.py new file mode 100644 index 000000000..c2a5b950b --- /dev/null +++ b/plugins/modules/ibm_kms_instance_policies_info.py @@ -0,0 +1,140 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_kms_instance_policies_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/kms_instance_policies + +short_description: Retrieve IBM Cloud 'ibm_kms_instance_policies' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_kms_instance_policies' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - Key protect or hpcs instance GUID or CRN + required: True + type: str + policy_type: + description: + - Type of Policy to be Retrieved + required: False + type: str + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'policy_type', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + instance_id=dict( + required=True, + type='str'), + policy_type=dict( + required=False, + type='str'), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_kms_instance_policies', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_kms_key.py b/plugins/modules/ibm_kms_key.py index 12506a643..d22e17444 100644 --- a/plugins/modules/ibm_kms_key.py +++ b/plugins/modules/ibm_kms_key.py @@ -18,26 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - force_delete: + instance_id: description: - - set to true to force delete the key + - (Required for new resource) Key protect or hpcs instance GUID or CRN + required: True + type: str + iv_value: + description: + - Only for imported root key + required: False + type: str + standard_key: + description: + - Standard key type required: False type: bool default: False - expiration_date: + force_delete: 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 + - set to true to force delete the key required: False - type: str - instance_id: - description: - - (Required for new resource) Key protect or hpcs instance GUID or CRN - required: True - type: str + type: bool + default: False key_name: description: - (Required for new resource) Key name @@ -48,31 +54,25 @@ - public or private required: False type: str - standard_key: - description: - - Standard key type - required: False - type: bool - default: False payload: description: - None required: False type: str - key_ring_id: + encrypted_nonce: description: - - Key Ring for the Key + - Only for imported root key required: False type: str - default: default - encrypted_nonce: + key_ring_id: description: - - Only for imported root key + - Key Ring for the Key required: False type: str - iv_value: + default: default + expiration_date: description: - - Only for imported root key + - 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: @@ -127,16 +127,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'force_delete', - 'expiration_date', 'instance_id', + 'iv_value', + 'standard_key', + 'force_delete', 'key_name', 'endpoint_type', - 'standard_key', 'payload', - 'key_ring_id', 'encrypted_nonce', - 'iv_value', + 'key_ring_id', + 'expiration_date', ] # Params for Data source @@ -145,12 +145,12 @@ ] TL_ALL_PARAMETERS_DS = [ - 'key_name', - 'alias', - 'endpoint_type', 'instance_id', 'limit', 'key_id', + 'key_name', + 'alias', + 'endpoint_type', ] TL_CONFLICTS_MAP = { @@ -160,34 +160,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( - force_delete=dict( - required=False, - type='bool'), - expiration_date=dict( + instance_id=dict( required=False, type='str'), - instance_id=dict( + iv_value=dict( required=False, type='str'), + standard_key=dict( + required=False, + type='bool'), + force_delete=dict( + required=False, + type='bool'), key_name=dict( required=False, type='str'), endpoint_type=dict( required=False, type='str'), - standard_key=dict( - required=False, - type='bool'), payload=dict( required=False, type='str'), - key_ring_id=dict( + encrypted_nonce=dict( required=False, type='str'), - encrypted_nonce=dict( + key_ring_id=dict( required=False, type='str'), - iv_value=dict( + expiration_date=dict( required=False, type='str'), id=dict( @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_alias.py b/plugins/modules/ibm_kms_key_alias.py index 684effe17..b57caa9fb 100644 --- a/plugins/modules/ibm_kms_key_alias.py +++ b/plugins/modules/ibm_kms_key_alias.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_alias' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + existing_alias: + description: + - Existing Alias of the Key + required: False + type: str + endpoint_type: + description: + - public or private + required: False + type: str instance_id: description: - (Required for new resource) Key ID @@ -37,16 +47,6 @@ - Key ID required: False type: str - existing_alias: - description: - - Existing Alias of the Key - required: False - type: str - endpoint_type: - description: - - public or private - 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 = [ + 'existing_alias', + 'endpoint_type', 'instance_id', 'alias', 'key_id', - 'existing_alias', - 'endpoint_type', ] # Params for Data source @@ -120,19 +120,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( - instance_id=dict( + existing_alias=dict( required=False, type='str'), - alias=dict( + endpoint_type=dict( required=False, type='str'), - key_id=dict( + instance_id=dict( required=False, type='str'), - existing_alias=dict( + alias=dict( required=False, type='str'), - endpoint_type=dict( + key_id=dict( required=False, type='str'), id=dict( @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_kms_key_alias', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_info.py b/plugins/modules/ibm_kms_key_info.py index 05cba03cd..ac678158c 100644 --- a/plugins/modules/ibm_kms_key_info.py +++ b/plugins/modules/ibm_kms_key_info.py @@ -17,10 +17,25 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + instance_id: + description: + - Key protect or hpcs instance GUID + required: True + type: str + limit: + description: + - Limit till the keys to be fetched + required: False + type: int + key_id: + description: + - None + required: False + type: str key_name: description: - The name of the key to be fetched @@ -37,21 +52,6 @@ required: False type: str default: public - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str - limit: - description: - - Limit till the keys to be fetched - required: False - type: int - key_id: - description: - - None - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -90,12 +90,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key_name', - 'alias', - 'endpoint_type', 'instance_id', 'limit', 'key_id', + 'key_name', + 'alias', + 'endpoint_type', ] @@ -106,15 +106,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( - key_name=dict( - required=False, - type='str'), - alias=dict( - required=False, - type='str'), - endpoint_type=dict( - required=False, - type='str'), instance_id=dict( required=True, type='str'), @@ -124,6 +115,15 @@ key_id=dict( required=False, type='str'), + key_name=dict( + required=False, + type='str'), + alias=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -158,7 +158,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_policies.py b/plugins/modules/ibm_kms_key_policies.py index 760cbcc9a..53405b6d3 100644 --- a/plugins/modules/ibm_kms_key_policies.py +++ b/plugins/modules/ibm_kms_key_policies.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_policies' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - alias: - description: - - None - required: False - type: str - endpoint_type: - description: - - public or private - required: False - type: str - default: public instance_id: description: - (Required for new resource) Key protect or hpcs instance GUID @@ -43,6 +32,11 @@ - Key ID required: False type: str + alias: + description: + - None + required: False + type: str rotation: description: - Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 @@ -55,6 +49,12 @@ required: False type: list elements: dict + endpoint_type: + description: + - public or private + required: False + type: str + default: public id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,12 +106,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'alias', - 'endpoint_type', 'instance_id', 'key_id', + 'alias', 'rotation', 'dual_auth_delete', + 'endpoint_type', ] # Params for Data source @@ -120,11 +120,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'alias', - 'policies', - 'instance_id', 'endpoint_type', 'key_id', + 'alias', + 'instance_id', ] TL_CONFLICTS_MAP = { @@ -134,18 +133,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( - alias=dict( - required=False, - type='str'), - endpoint_type=dict( - required=False, - type='str'), instance_id=dict( required=False, type='str'), key_id=dict( required=False, type='str'), + alias=dict( + required=False, + type='str'), rotation=dict( required=False, elements='', @@ -154,6 +150,9 @@ required=False, elements='', type='list'), + endpoint_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -219,7 +218,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -228,7 +227,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_policies_info.py b/plugins/modules/ibm_kms_key_policies_info.py index 23a924f5a..1bbed864e 100644 --- a/plugins/modules/ibm_kms_key_policies_info.py +++ b/plugins/modules/ibm_kms_key_policies_info.py @@ -17,26 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - alias: - description: - - Alias of the 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: - - Key protect or hpcs instance GUID - required: True - type: str endpoint_type: description: - public or private @@ -48,6 +32,16 @@ - Key ID of the Key required: False type: str + alias: + description: + - Alias of the Key + required: False + type: str + instance_id: + description: + - Key protect or hpcs instance GUID + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -86,11 +80,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'alias', - 'policies', - 'instance_id', 'endpoint_type', 'key_id', + 'alias', + 'instance_id', ] @@ -101,21 +94,17 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - alias=dict( + endpoint_type=dict( required=False, type='str'), - policies=dict( + key_id=dict( required=False, - elements='', - type='list'), - instance_id=dict( - required=True, type='str'), - endpoint_type=dict( + alias=dict( required=False, type='str'), - key_id=dict( - required=False, + instance_id=dict( + required=True, type='str'), iaas_classic_username=dict( type='str', @@ -151,7 +140,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_rings.py b/plugins/modules/ibm_kms_key_rings.py index 751c1a300..291f4e3b9 100644 --- a/plugins/modules/ibm_kms_key_rings.py +++ b/plugins/modules/ibm_kms_key_rings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_rings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -100,8 +100,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'endpoint_type', 'instance_id', + 'endpoint_type', ] TL_CONFLICTS_MAP = { @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_rings_info.py b/plugins/modules/ibm_kms_key_rings_info.py index 045f511e6..39305035e 100644 --- a/plugins/modules/ibm_kms_key_rings_info.py +++ b/plugins/modules/ibm_kms_key_rings_info.py @@ -17,21 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key_rings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + instance_id: + description: + - Key protect or hpcs instance GUID + required: True + type: str endpoint_type: description: - public or private required: False type: str default: public - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -70,8 +70,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'endpoint_type', 'instance_id', + 'endpoint_type', ] @@ -82,12 +82,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( - endpoint_type=dict( - required=False, - type='str'), instance_id=dict( required=True, type='str'), + endpoint_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_with_policy_overrides.py b/plugins/modules/ibm_kms_key_with_policy_overrides.py new file mode 100644 index 000000000..f71b804d8 --- /dev/null +++ b/plugins/modules/ibm_kms_key_with_policy_overrides.py @@ -0,0 +1,289 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_kms_key_with_policy_overrides +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/kms_key_with_policy_overrides + +short_description: Configure IBM Cloud 'ibm_kms_key_with_policy_overrides' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_kms_key_with_policy_overrides' resource + - This module does not support idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + iv_value: + description: + - Only for imported root key + required: False + 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 + instance_id: + description: + - (Required for new resource) Key protect or HPCS instance GUID or CRN + required: True + type: str + standard_key: + description: + - Standard key type + required: False + type: bool + default: False + payload: + description: + - None + required: False + type: str + encrypted_nonce: + description: + - Only for imported root key + required: False + type: str + rotation: + description: + - Data associated with the key rotation policy + required: False + type: list + elements: dict + dual_auth_delete: + description: + - Data associated with the dual authorization delete policy. + required: False + type: list + elements: dict + key_ring_id: + description: + - Key Ring for the Key + required: False + type: str + default: default + endpoint_type: + description: + - Public or Private + required: False + type: str + force_delete: + description: + - set to true to force delete the key + required: False + type: bool + default: False + key_name: + description: + - (Required for new resource) Key name + required: True + type: str + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('instance_id', 'str'), + ('key_name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'iv_value', + 'expiration_date', + 'instance_id', + 'standard_key', + 'payload', + 'encrypted_nonce', + 'rotation', + 'dual_auth_delete', + 'key_ring_id', + 'endpoint_type', + 'force_delete', + 'key_name', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ +] + +TL_ALL_PARAMETERS_DS = [ +] + +TL_CONFLICTS_MAP = { +} + +# 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( + iv_value=dict( + required=False, + type='str'), + expiration_date=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + standard_key=dict( + required=False, + type='bool'), + payload=dict( + required=False, + type='str'), + encrypted_nonce=dict( + required=False, + type='str'), + rotation=dict( + required=False, + elements='', + type='list'), + dual_auth_delete=dict( + required=False, + elements='', + type='list'), + key_ring_id=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + force_delete=dict( + required=False, + type='bool'), + key_name=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result = ibmcloud_terraform( + resource_type='ibm_kms_key_with_policy_overrides', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_kms_keys_info.py b/plugins/modules/ibm_kms_keys_info.py index fa52a74ad..ad6f78619 100644 --- a/plugins/modules/ibm_kms_keys_info.py +++ b/plugins/modules/ibm_kms_keys_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 @@ -52,6 +46,12 @@ - None 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 @@ -90,12 +90,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'endpoint_type', 'instance_id', 'key_name', 'limit', 'alias', 'key_id', + 'endpoint_type', ] @@ -109,9 +109,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( - endpoint_type=dict( - required=False, - type='str'), instance_id=dict( required=True, type='str'), @@ -127,6 +124,9 @@ key_id=dict( required=False, type='str'), + endpoint_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_kms_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 1338e67dd..e372340fd 100644 --- a/plugins/modules/ibm_kp_key.py +++ b/plugins/modules/ibm_kp_key.py @@ -18,15 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_kp_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - payload: + standard_key: description: - - None + - Standard key type required: False - type: str + type: bool + default: False encrypted_nonce: description: - Only for imported root key @@ -47,12 +48,11 @@ - (Required for new resource) Key name required: True type: str - standard_key: + payload: description: - - Standard key type + - None required: False - type: bool - default: False + type: str force_delete: description: - set to true to force delete the key @@ -111,12 +111,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'payload', + 'standard_key', 'encrypted_nonce', 'iv_value', 'key_protect_id', 'key_name', - 'standard_key', + 'payload', 'force_delete', ] @@ -137,9 +137,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( - payload=dict( + standard_key=dict( required=False, - type='str'), + type='bool'), encrypted_nonce=dict( required=False, type='str'), @@ -152,9 +152,9 @@ key_name=dict( required=False, type='str'), - standard_key=dict( + payload=dict( required=False, - type='bool'), + type='str'), force_delete=dict( required=False, type='bool'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 90a37cc8e..4acb1b832 100644 --- a/plugins/modules/ibm_kp_key_info.py +++ b/plugins/modules/ibm_kp_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_kp_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 4386fe310..002ea02f9 100644 --- a/plugins/modules/ibm_lb.py +++ b/plugins/modules/ibm_lb.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_lb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - datacenter: - description: - - (Required for new resource) Datacenter name info - required: True - type: str security_certificate_id: description: - Security certificate ID @@ -44,11 +39,11 @@ required: False type: bool default: False - connections: + datacenter: description: - - (Required for new resource) Connections value + - (Required for new resource) Datacenter name info required: True - type: int + type: str ha_enabled: description: - true if High availability is enabled @@ -61,6 +56,11 @@ required: False type: list elements: str + connections: + description: + - (Required for new resource) Connections value + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,13 +113,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', 'security_certificate_id', 'dedicated', 'ssl_offload', - 'connections', + 'datacenter', 'ha_enabled', 'tags', + 'connections', ] # Params for Data source @@ -136,9 +136,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( - datacenter=dict( - required=False, - type='str'), security_certificate_id=dict( required=False, type='int'), @@ -148,9 +145,9 @@ ssl_offload=dict( required=False, type='bool'), - connections=dict( + datacenter=dict( required=False, - type='int'), + type='str'), ha_enabled=dict( required=False, type='bool'), @@ -158,6 +155,9 @@ required=False, elements='', type='list'), + connections=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 09bfe2798..1c1b5b2a4 100644 --- a/plugins/modules/ibm_lb_service.py +++ b/plugins/modules/ibm_lb_service.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_service' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + weight: + description: + - (Required for new resource) Weight value + required: True + type: int tags: description: - Tags for the resource @@ -53,11 +58,6 @@ - (Required for new resource) health check type required: True type: str - weight: - description: - - (Required for new resource) Weight value - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,23 +104,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('weight', 'int'), ('service_group_id', 'int'), ('ip_address_id', 'int'), ('port', 'int'), ('enabled', 'bool'), ('health_check_type', 'str'), - ('weight', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'weight', 'tags', 'service_group_id', 'ip_address_id', 'port', 'enabled', 'health_check_type', - 'weight', ] # Params for Data source @@ -137,6 +137,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( + weight=dict( + required=False, + type='int'), tags=dict( required=False, elements='', @@ -156,9 +159,6 @@ health_check_type=dict( required=False, type='str'), - weight=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_lb_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fa536558f..79138a672 100644 --- a/plugins/modules/ibm_lb_service_group.py +++ b/plugins/modules/ibm_lb_service_group.py @@ -18,13 +18,13 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - routing_type: + routing_method: description: - - (Required for new resource) Routing type + - (Required for new resource) Routing method required: True type: str tags: @@ -33,6 +33,11 @@ required: False type: list elements: str + load_balancer_id: + description: + - (Required for new resource) Loadbalancer ID + required: True + type: int allocation: description: - (Required for new resource) Allocation type @@ -43,21 +48,16 @@ - (Required for new resource) Port number required: True type: int - routing_method: - description: - - (Required for new resource) Routing method - required: True - type: str timeout: description: - Timeout value required: False type: int - load_balancer_id: + routing_type: description: - - (Required for new resource) Loadbalancer ID + - (Required for new resource) Routing type required: True - type: int + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('routing_type', 'str'), - ('allocation', 'int'), - ('port', 'int'), ('routing_method', 'str'), ('load_balancer_id', 'int'), + ('allocation', 'int'), + ('port', 'int'), + ('routing_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'routing_type', + 'routing_method', 'tags', + 'load_balancer_id', 'allocation', 'port', - 'routing_method', 'timeout', - 'load_balancer_id', + 'routing_type', ] # Params for Data source @@ -136,28 +136,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( - routing_type=dict( + routing_method=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), + load_balancer_id=dict( + required=False, + type='int'), allocation=dict( required=False, type='int'), port=dict( required=False, type='int'), - routing_method=dict( - required=False, - type='str'), timeout=dict( required=False, type='int'), - load_balancer_id=dict( + routing_type=dict( required=False, - type='int'), + type='str'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_lb_service_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 578cb2f9a..bc8a854cb 100644 --- a/plugins/modules/ibm_lb_vpx.py +++ b/plugins/modules/ibm_lb_vpx.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,27 +27,32 @@ - (Required for new resource) version info required: True type: str - public_vlan_id: + ip_count: description: - - Piblic VLAN id - required: False + - (Required for new resource) IP address count + required: True type: int - private_subnet: - description: - - Private 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 speed: description: - (Required for new resource) Speed value required: True type: int + private_subnet: + description: + - Private subnet + required: False + type: str public_subnet: description: - Public subnet @@ -63,15 +68,10 @@ - (Required for new resource) Plan info required: True type: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - ip_count: + public_vlan_id: description: - - (Required for new resource) IP address count - required: True + - Piblic VLAN id + required: False type: int id: description: @@ -120,24 +120,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('version', 'str'), + ('ip_count', 'int'), + ('datacenter', 'str'), ('speed', 'int'), ('plan', 'str'), - ('datacenter', 'str'), - ('ip_count', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'version', - 'public_vlan_id', - 'private_subnet', + 'ip_count', 'tags', + 'datacenter', 'speed', + 'private_subnet', 'public_subnet', 'private_vlan_id', 'plan', - 'datacenter', - 'ip_count', + 'public_vlan_id', ] # Params for Data source @@ -157,19 +157,22 @@ version=dict( required=False, type='str'), - public_vlan_id=dict( + ip_count=dict( required=False, type='int'), - private_subnet=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), + datacenter=dict( + required=False, + type='str'), speed=dict( required=False, type='int'), + private_subnet=dict( + required=False, + type='str'), public_subnet=dict( required=False, type='str'), @@ -179,10 +182,7 @@ plan=dict( required=False, type='str'), - datacenter=dict( - required=False, - type='str'), - ip_count=dict( + public_vlan_id=dict( required=False, type='int'), id=dict( @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_lb_vpx', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 4371eb181..f723239e7 100644 --- a/plugins/modules/ibm_lb_vpx_ha.py +++ b/plugins/modules/ibm_lb_vpx_ha.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + secondary_id: + description: + - (Required for new resource) Secondary ID + required: True + type: int stay_secondary: description: - Boolean value for stay secondary @@ -38,11 +43,6 @@ - (Required for new resource) primary ID required: True type: int - secondary_id: - description: - - (Required for new resource) Secondary ID - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('primary_id', 'int'), ('secondary_id', 'int'), + ('primary_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'secondary_id', 'stay_secondary', 'tags', 'primary_id', - 'secondary_id', ] # Params for Data source @@ -115,6 +115,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( + secondary_id=dict( + required=False, + type='int'), stay_secondary=dict( required=False, type='bool'), @@ -125,9 +128,6 @@ primary_id=dict( required=False, type='int'), - secondary_id=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_lb_vpx_ha', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d77fdcef2..0eb4e0ccf 100644 --- a/plugins/modules/ibm_lb_vpx_service.py +++ b/plugins/modules/ibm_lb_vpx_service.py @@ -18,15 +18,25 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + vip_id: + description: + - (Required for new resource) VIP id + required: True + type: str destination_port: description: - (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 @@ -37,38 +47,28 @@ - (Required for new resource) Health check info required: True type: str - usip: + tags: description: - - usip info + - list of tags associated with the resource required: False - type: str - default: NO - destination_ip_address: - description: - - (Required for new resource) Destination IP Address - required: True - type: str + type: list + elements: str name: description: - (Required for new resource) name required: True type: str - weight: + destination_ip_address: description: - - (Required for new resource) Weight value + - (Required for new resource) Destination IP Address required: True - type: int - tags: + type: str + usip: description: - - list of tags associated with the resource + - usip info required: False - type: list - elements: str - vip_id: - description: - - (Required for new resource) VIP id - required: True type: str + default: NO id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,26 +115,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('vip_id', 'str'), ('destination_port', 'int'), + ('weight', 'int'), ('connection_limit', 'int'), ('health_check', 'str'), - ('destination_ip_address', 'str'), ('name', 'str'), - ('weight', 'int'), - ('vip_id', 'str'), + ('destination_ip_address', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'vip_id', 'destination_port', + 'weight', 'connection_limit', 'health_check', - 'usip', - 'destination_ip_address', - 'name', - 'weight', 'tags', - 'vip_id', + 'name', + 'destination_ip_address', + 'usip', ] # Params for Data source @@ -151,32 +151,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( + vip_id=dict( + required=False, + type='str'), destination_port=dict( required=False, type='int'), + weight=dict( + required=False, + type='int'), connection_limit=dict( required=False, type='int'), health_check=dict( required=False, type='str'), - usip=dict( - required=False, - type='str'), - destination_ip_address=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), name=dict( required=False, type='str'), - weight=dict( - required=False, - type='int'), - tags=dict( + destination_ip_address=dict( required=False, - elements='', - type='list'), - vip_id=dict( + type='str'), + usip=dict( required=False, type='str'), id=dict( @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_lb_vpx_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 118da0925..b35987aa3 100644 --- a/plugins/modules/ibm_lb_vpx_vip.py +++ b/plugins/modules/ibm_lb_vpx_vip.py @@ -18,36 +18,40 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - load_balancing_method: + type: description: - - (Required for new resource) Load balancing method + - (Required for new resource) Type required: True type: str - persistence: + security_certificate_id: description: - - Persistance value + - security certificate ID required: False - type: str + 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: + description: + - Persistance value + required: False + type: str name: description: - (Required for new resource) Name @@ -58,16 +62,12 @@ - (Required for new resource) Source Port number required: True type: int - type: - description: - - (Required for new resource) Type - required: True - type: str - security_certificate_id: + tags: description: - - security certificate ID + - List of tags required: False - type: int + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,25 +114,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('load_balancing_method', 'str'), + ('type', 'str'), ('virtual_ip_address', 'str'), ('nad_controller_id', 'int'), + ('load_balancing_method', 'str'), ('name', 'str'), ('source_port', 'int'), - ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'load_balancing_method', - 'persistence', + 'type', + 'security_certificate_id', 'virtual_ip_address', - 'tags', 'nad_controller_id', + 'load_balancing_method', + 'persistence', 'name', 'source_port', - 'type', - 'security_certificate_id', + 'tags', ] # Params for Data source @@ -149,34 +149,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( - load_balancing_method=dict( + type=dict( required=False, type='str'), - persistence=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'), - name=dict( + load_balancing_method=dict( required=False, type='str'), - source_port=dict( + persistence=dict( required=False, - type='int'), - type=dict( + type='str'), + name=dict( required=False, type='str'), - security_certificate_id=dict( + source_port=dict( required=False, type='int'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_lb_vpx_vip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5bb9369b2..34ad03ef6 100644 --- a/plugins/modules/ibm_lbaas.py +++ b/plugins/modules/ibm_lbaas.py @@ -18,16 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - subnets: + type: description: - - (Required for new resource) The subnet where this Load Balancer will be provisioned. - required: True - type: list - elements: int + - Specifies if a load balancer is public or private + required: False + type: str + default: PUBLIC use_system_public_ip_pool: description: - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet." @@ -39,34 +39,34 @@ required: False type: list elements: dict - type: + ssl_ciphers: description: - - Specifies if a load balancer is public or private + - None required: False - type: str - default: PUBLIC + type: list + elements: str + wait_time_minutes: + description: + - None + required: False + type: int + default: 90 description: description: - Description of a load balancer. required: False type: str - ssl_ciphers: + subnets: description: - - None - required: False + - (Required for new resource) The subnet where this Load Balancer will be provisioned. + required: True type: list - elements: str + elements: int 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -119,14 +119,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnets', + 'type', 'use_system_public_ip_pool', 'protocols', - 'type', - 'description', 'ssl_ciphers', - 'name', 'wait_time_minutes', + 'description', + 'subnets', + 'name', ] # Params for Data source @@ -145,10 +145,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( - subnets=dict( + type=dict( required=False, - elements='', - type='list'), + type='str'), use_system_public_ip_pool=dict( required=False, type='bool'), @@ -156,22 +155,23 @@ required=False, elements='', type='list'), - type=dict( + ssl_ciphers=dict( required=False, - type='str'), + elements='', + type='list'), + wait_time_minutes=dict( + required=False, + type='int'), description=dict( required=False, type='str'), - ssl_ciphers=dict( + subnets=dict( required=False, elements='', type='list'), name=dict( required=False, type='str'), - wait_time_minutes=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b67a98dc4..037c23d7c 100644 --- a/plugins/modules/ibm_lbaas_health_monitor.py +++ b/plugins/modules/ibm_lbaas_health_monitor.py @@ -18,10 +18,21 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + 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 @@ -55,17 +66,6 @@ - (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. @@ -112,22 +112,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('port', 'int'), ('monitor_id', 'str'), ('lbaas_id', 'str'), ('protocol', 'str'), - ('port', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'port', + 'interval', 'max_retries', 'timeout', 'url_path', 'monitor_id', 'lbaas_id', 'protocol', - 'port', - 'interval', ] # Params for Data source @@ -144,6 +144,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( + port=dict( + required=False, + type='int'), + interval=dict( + required=False, + type='int'), max_retries=dict( required=False, type='int'), @@ -162,12 +168,6 @@ protocol=dict( required=False, type='str'), - port=dict( - required=False, - type='int'), - interval=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_lbaas_health_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ae9a53bdb..f42ca6c16 100644 --- a/plugins/modules/ibm_lbaas_info.py +++ b/plugins/modules/ibm_lbaas_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_lbaas' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 212778171..7cf4ffc71 100644 --- a/plugins/modules/ibm_lbaas_server_instance_attachment.py +++ b/plugins/modules/ibm_lbaas_server_instance_attachment.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_lbaas_server_instance_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fea77f1f1..2d3832e2f 100644 --- a/plugins/modules/ibm_multi_vlan_firewall.py +++ b/plugins/modules/ibm_multi_vlan_firewall.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,6 +27,16 @@ - (Required for new resource) POD 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 addon_configuration: description: - High Availability - [Web Filtering Add-on, NGFW Add-on, AV Add-on] or [Web Filtering Add-on, NGFW Add-on, AV Add-on] @@ -38,16 +48,6 @@ - (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. @@ -95,18 +95,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('pod', 'str'), - ('datacenter', 'str'), ('name', 'str'), ('firewall_type', 'str'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pod', - 'addon_configuration', - 'datacenter', 'name', 'firewall_type', + 'addon_configuration', + 'datacenter', ] # Params for Data source @@ -126,6 +126,12 @@ pod=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + firewall_type=dict( + required=False, + type='str'), addon_configuration=dict( required=False, elements='', @@ -133,12 +139,6 @@ 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'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_multi_vlan_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5b9864d46..196318136 100644 --- a/plugins/modules/ibm_network_gateway.py +++ b/plugins/modules/ibm_network_gateway.py @@ -18,16 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_network_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - ssh_key_ids: + post_install_script_uri: description: - None required: False - type: list - elements: int + type: str name: description: - (Required for new resource) The name of the gateway @@ -39,11 +38,12 @@ required: True type: list elements: dict - post_install_script_uri: + ssh_key_ids: description: - None required: False - type: str + type: list + elements: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,10 +96,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ssh_key_ids', + 'post_install_script_uri', 'name', 'members', - 'post_install_script_uri', + 'ssh_key_ids', ] # Params for Data source @@ -116,10 +116,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( - ssh_key_ids=dict( + post_install_script_uri=dict( required=False, - elements='', - type='list'), + type='str'), name=dict( required=False, type='str'), @@ -127,9 +126,10 @@ required=False, elements='', type='list'), - post_install_script_uri=dict( + ssh_key_ids=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_network_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e85d360c8..fe8b072ef 100644 --- a/plugins/modules/ibm_network_gateway_vlan_association.py +++ b/plugins/modules/ibm_network_gateway_vlan_association.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_gateway_vlan_association', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2810d0e45..948cb512a 100644 --- a/plugins/modules/ibm_network_interface_sg_attachment.py +++ b/plugins/modules/ibm_network_interface_sg_attachment.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + security_group_id: + description: + - (Required for new resource) Security group ID + required: True + type: int network_interface_id: description: - (Required for new resource) Network interface ID @@ -33,11 +38,6 @@ required: False type: bool default: True - security_group_id: - description: - - (Required for new resource) Security group ID - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_interface_id', 'int'), ('security_group_id', 'int'), + ('network_interface_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'security_group_id', 'network_interface_id', 'soft_reboot', - 'security_group_id', ] # Params for Data source @@ -109,15 +109,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( + security_group_id=dict( + required=False, + type='int'), network_interface_id=dict( required=False, type='int'), soft_reboot=dict( required=False, type='bool'), - security_group_id=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_interface_sg_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0184e360d..55e6c43ea 100644 --- a/plugins/modules/ibm_network_public_ip.py +++ b/plugins/modules/ibm_network_public_ip.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + routes_to: + description: + - (Required for new resource) Route info + required: True + type: str tags: description: - List of tags @@ -33,11 +38,6 @@ - Additional notes required: False type: str - routes_to: - description: - - (Required for new resource) Route info - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'routes_to', 'tags', 'notes', - 'routes_to', ] # Params for Data source @@ -108,6 +108,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( + routes_to=dict( + required=False, + type='str'), tags=dict( required=False, elements='', @@ -115,9 +118,6 @@ notes=dict( required=False, type='str'), - routes_to=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_public_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fe70d360a..44380b660 100644 --- a/plugins/modules/ibm_network_vlan.py +++ b/plugins/modules/ibm_network_vlan.py @@ -18,36 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_network_vlan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str type: description: - (Required for new resource) VLAN type required: True type: str - name: - description: - - VLAN name - required: False - type: str router_hostname: description: - router host name required: False type: str + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str tags: description: - List of tags required: False type: list elements: str + name: + description: + - VLAN name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,17 +94,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', 'type', - 'name', 'router_hostname', + 'datacenter', 'tags', + 'name', ] # Params for Data source @@ -112,9 +112,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'number', 'router_hostname', - 'name', ] TL_CONFLICTS_MAP = { @@ -124,22 +124,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( - datacenter=dict( - required=False, - type='str'), type=dict( required=False, type='str'), - name=dict( + router_hostname=dict( required=False, type='str'), - router_hostname=dict( + datacenter=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_network_vlan', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2a4f44119..5e638054d 100644 --- a/plugins/modules/ibm_network_vlan_info.py +++ b/plugins/modules/ibm_network_vlan_info.py @@ -17,21 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_network_vlan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'number', 'router_hostname', - '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=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, @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 cc308b868..7ae328fdb 100644 --- a/plugins/modules/ibm_network_vlan_spanning.py +++ b/plugins/modules/ibm_network_vlan_spanning.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_network_vlan_spanning', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ob_logging.py b/plugins/modules/ibm_ob_logging.py index 71366487c..6da3ea0d1 100644 --- a/plugins/modules/ibm_ob_logging.py +++ b/plugins/modules/ibm_ob_logging.py @@ -18,25 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_ob_logging' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - private_endpoint: + instance_id: description: - - Add this option to connect to your LogDNA service instance through the private service endpoint - required: False - type: bool + - (Required for new resource) ID of the LogDNA service instance to latch + required: True + type: str cluster: description: - (Required for new resource) Name or ID of the cluster to be used. required: True type: str - instance_id: + private_endpoint: description: - - (Required for new resource) ID of the LogDNA service instance to latch - required: True - type: str + - Add this option to connect to your LogDNA service instance through the private service endpoint + required: False + type: bool logdna_ingestion_key: description: - LogDNA ingestion key @@ -88,15 +88,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('instance_id', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'private_endpoint', - 'cluster', 'instance_id', + 'cluster', + 'private_endpoint', 'logdna_ingestion_key', ] @@ -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( - private_endpoint=dict( + instance_id=dict( required=False, - type='bool'), + type='str'), cluster=dict( required=False, type='str'), - instance_id=dict( + private_endpoint=dict( required=False, - type='str'), + type='bool'), logdna_ingestion_key=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_ob_logging', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ob_monitoring.py b/plugins/modules/ibm_ob_monitoring.py index 5d966809a..c81d13e1e 100644 --- a/plugins/modules/ibm_ob_monitoring.py +++ b/plugins/modules/ibm_ob_monitoring.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_ob_monitoring' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cluster: - description: - - (Required for new resource) Name or ID of the cluster to be used. - required: True - type: str instance_id: description: - (Required for new resource) ID of the Sysdig service instance to latch @@ -37,6 +32,11 @@ - Sysdig ingestion key required: False type: str + cluster: + description: + - (Required for new resource) Name or ID of the cluster to be used. + required: True + type: str private_endpoint: description: - Add this option to connect to your Sysdig service instance through the private service endpoint @@ -88,15 +88,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('instance_id', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'instance_id', 'sysdig_access_key', + 'cluster', 'private_endpoint', ] @@ -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( - cluster=dict( - required=False, - type='str'), instance_id=dict( required=False, type='str'), sysdig_access_key=dict( required=False, type='str'), + cluster=dict( + required=False, + type='str'), private_endpoint=dict( required=False, type='bool'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_ob_monitoring', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 e5b6af7a1..5a64fea5c 100644 --- a/plugins/modules/ibm_object_storage_account.py +++ b/plugins/modules/ibm_object_storage_account.py @@ -18,7 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_object_storage_account', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 748777fe7..7ac86a7f5 100644 --- a/plugins/modules/ibm_org.py +++ b/plugins/modules/ibm_org.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_org' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_org', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_org', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 196cef562..c5f32320b 100644 --- a/plugins/modules/ibm_org_info.py +++ b/plugins/modules/ibm_org_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_org' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_org', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0f627a4ef..df8452a57 100644 --- a/plugins/modules/ibm_org_quota_info.py +++ b/plugins/modules/ibm_org_quota_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_org_quota' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_org_quota', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 234d947df..67c13ccc5 100644 --- a/plugins/modules/ibm_pi_capture.py +++ b/plugins/modules/ibm_pi_capture.py @@ -18,30 +18,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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_capture_destination: - description: - - (Required for new resource) Destination for the deployable image - required: True - 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 required: False type: str - pi_capture_storage_image_path: - description: - - Cloud Storage Image Path (bucket-name [/folder/../..]) - required: False - type: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -52,22 +37,37 @@ - (Required for new resource) Name of the capture to create. Note : this must be unique required: True type: str + pi_capture_volume_ids: + description: + - List of Data volume IDs + required: False + type: list + elements: 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_instance_name: description: - (Required for new resource) Instance Name of the Power VM required: True type: str - pi_capture_volume_ids: + pi_capture_destination: description: - - List of Data volume IDs + - (Required for new resource) Destination for the deployable image + required: True + type: str + pi_capture_storage_image_path: + description: + - Cloud Storage Image Path (bucket-name [/folder/../..]) required: False - type: list - elements: str + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,23 +110,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_capture_destination', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_capture_name', 'str'), ('pi_instance_name', 'str'), + ('pi_capture_destination', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_capture_destination', - 'pi_capture_cloud_storage_access_key', 'pi_capture_cloud_storage_secret_key', - 'pi_capture_storage_image_path', 'pi_cloud_instance_id', 'pi_capture_name', + 'pi_capture_volume_ids', 'pi_capture_cloud_storage_region', + 'pi_capture_cloud_storage_access_key', 'pi_instance_name', - 'pi_capture_volume_ids', + 'pi_capture_destination', + 'pi_capture_storage_image_path', ] # Params for Data source @@ -143,34 +143,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( - pi_capture_destination=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'), - pi_capture_storage_image_path=dict( - required=False, - type='str'), pi_cloud_instance_id=dict( required=False, type='str'), pi_capture_name=dict( required=False, type='str'), + pi_capture_volume_ids=dict( + required=False, + elements='', + type='list'), pi_capture_cloud_storage_region=dict( required=False, type='str'), + pi_capture_cloud_storage_access_key=dict( + required=False, + type='str'), pi_instance_name=dict( required=False, type='str'), - pi_capture_volume_ids=dict( + pi_capture_destination=dict( required=False, - elements='', - type='list'), + type='str'), + pi_capture_storage_image_path=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_pi_capture', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_catalog_images_info.py b/plugins/modules/ibm_pi_catalog_images_info.py index 05f23258f..41d1843a8 100644 --- a/plugins/modules/ibm_pi_catalog_images_info.py +++ b/plugins/modules/ibm_pi_catalog_images_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_catalog_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_pi_catalog_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_connection.py b/plugins/modules/ibm_pi_cloud_connection.py index a48fddd8f..da0eee12c 100644 --- a/plugins/modules/ibm_pi_cloud_connection.py +++ b/plugins/modules/ibm_pi_cloud_connection.py @@ -18,51 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_cloud_connection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_cloud_connection_speed: - description: - - (Required for new resource) Speed of the cloud connection (speed in megabits per second) - required: True - type: int - pi_cloud_connection_networks: - description: - - Set of Networks to attach to this cloud connection - required: False - type: list - elements: str - pi_cloud_connection_gre_destination_address: + pi_cloud_connection_transit_enabled: description: - - GRE destination IP address + - Enable transit gateway for this cloud connection required: False - type: str + type: bool + default: False pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID required: True type: str - pi_cloud_connection_name: - description: - - (Required for new resource) Name of the cloud connection - required: True - type: str - pi_cloud_connection_vpc_enabled: + pi_cloud_connection_global_routing: description: - - Enable VPC for this cloud connection + - Enable global routing for this cloud connection required: False type: bool default: False - pi_cloud_connection_vpc_crns: + pi_cloud_connection_networks: description: - - Set of VPCs to attach to this cloud connection + - Set of Networks to attach to this cloud connection required: False type: list elements: str - pi_cloud_connection_metered: + pi_cloud_connection_classic_enabled: description: - - Enable metered for this cloud connection + - Enable classic endpoint destination required: False type: bool default: False @@ -71,21 +56,36 @@ - GRE network in CIDR notation required: False type: str - pi_cloud_connection_global_routing: + pi_cloud_connection_vpc_crns: description: - - Enable global routing for this cloud connection + - Set of VPCs to attach to this cloud connection required: False - type: bool - default: False - pi_cloud_connection_classic_enabled: + type: list + elements: str + pi_cloud_connection_name: description: - - Enable classic endpoint destination + - (Required for new resource) Name of the cloud connection + required: True + type: str + pi_cloud_connection_speed: + description: + - (Required for new resource) Speed of the cloud connection (speed in megabits per second) + required: True + type: int + pi_cloud_connection_metered: + description: + - Enable metered for this cloud connection required: False type: bool default: False - pi_cloud_connection_transit_enabled: + pi_cloud_connection_gre_destination_address: description: - - Enable transit gateway for this cloud connection + - GRE destination IP address + required: False + type: str + pi_cloud_connection_vpc_enabled: + description: + - Enable VPC for this cloud connection required: False type: bool default: False @@ -131,36 +131,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_connection_speed', 'int'), ('pi_cloud_instance_id', 'str'), ('pi_cloud_connection_name', 'str'), + ('pi_cloud_connection_speed', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_connection_speed', - 'pi_cloud_connection_networks', - 'pi_cloud_connection_gre_destination_address', + 'pi_cloud_connection_transit_enabled', 'pi_cloud_instance_id', - 'pi_cloud_connection_name', - 'pi_cloud_connection_vpc_enabled', - 'pi_cloud_connection_vpc_crns', - 'pi_cloud_connection_metered', - 'pi_cloud_connection_gre_cidr', 'pi_cloud_connection_global_routing', + 'pi_cloud_connection_networks', 'pi_cloud_connection_classic_enabled', - 'pi_cloud_connection_transit_enabled', + 'pi_cloud_connection_gre_cidr', + 'pi_cloud_connection_vpc_crns', + 'pi_cloud_connection_name', + 'pi_cloud_connection_speed', + 'pi_cloud_connection_metered', + 'pi_cloud_connection_gre_destination_address', + 'pi_cloud_connection_vpc_enabled', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_instance_id', 'str'), ('pi_cloud_connection_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_instance_id', 'pi_cloud_connection_name', + 'pi_cloud_instance_id', ] TL_CONFLICTS_MAP = { @@ -170,42 +170,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( - pi_cloud_connection_speed=dict( - required=False, - type='int'), - pi_cloud_connection_networks=dict( - required=False, - elements='', - type='list'), - pi_cloud_connection_gre_destination_address=dict( + pi_cloud_connection_transit_enabled=dict( required=False, - type='str'), + type='bool'), pi_cloud_instance_id=dict( required=False, type='str'), - pi_cloud_connection_name=dict( - required=False, - type='str'), - pi_cloud_connection_vpc_enabled=dict( + pi_cloud_connection_global_routing=dict( required=False, type='bool'), - pi_cloud_connection_vpc_crns=dict( + pi_cloud_connection_networks=dict( required=False, elements='', type='list'), - pi_cloud_connection_metered=dict( + pi_cloud_connection_classic_enabled=dict( required=False, type='bool'), pi_cloud_connection_gre_cidr=dict( required=False, type='str'), - pi_cloud_connection_global_routing=dict( + pi_cloud_connection_vpc_crns=dict( required=False, - type='bool'), - pi_cloud_connection_classic_enabled=dict( + elements='', + type='list'), + pi_cloud_connection_name=dict( + required=False, + type='str'), + pi_cloud_connection_speed=dict( + required=False, + type='int'), + pi_cloud_connection_metered=dict( required=False, type='bool'), - pi_cloud_connection_transit_enabled=dict( + pi_cloud_connection_gre_destination_address=dict( + required=False, + type='str'), + pi_cloud_connection_vpc_enabled=dict( required=False, type='bool'), id=dict( @@ -266,7 +266,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_cloud_connection_info.py b/plugins/modules/ibm_pi_cloud_connection_info.py index b5462d311..07e024c44 100644 --- a/plugins/modules/ibm_pi_cloud_connection_info.py +++ b/plugins/modules/ibm_pi_cloud_connection_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_cloud_connection_name: description: - - None + - Cloud Connection Name to be used required: True type: str - pi_cloud_connection_name: + pi_cloud_instance_id: description: - - Cloud Connection Name to be used + - None required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_cloud_connection_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_cloud_connection_name', + 'pi_cloud_instance_id', ] @@ -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( - pi_cloud_instance_id=dict( + pi_cloud_connection_name=dict( required=True, type='str'), - pi_cloud_connection_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_connection_network_attach.py b/plugins/modules/ibm_pi_cloud_connection_network_attach.py index c3728e4a0..d4d70cb31 100644 --- a/plugins/modules/ibm_pi_cloud_connection_network_attach.py +++ b/plugins/modules/ibm_pi_cloud_connection_network_attach.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_cloud_connection_network_attach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection_network_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_connections_info.py b/plugins/modules/ibm_pi_cloud_connections_info.py index d787dd732..5e5ea46d8 100644 --- a/plugins/modules/ibm_pi_cloud_connections_info.py +++ b/plugins/modules/ibm_pi_cloud_connections_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_connections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_cloud_connections', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2851472d8..f8accc62f 100644 --- a/plugins/modules/ibm_pi_cloud_instance_info.py +++ b/plugins/modules/ibm_pi_cloud_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_cloud_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_console_language.py b/plugins/modules/ibm_pi_console_language.py index 7bcdd8665..d2e61caa3 100644 --- a/plugins/modules/ibm_pi_console_language.py +++ b/plugins/modules/ibm_pi_console_language.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_console_language' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str pi_instance_name: description: - (Required for new resource) The unique identifier or name of the instance @@ -32,11 +37,6 @@ - (Required for new resource) Language code 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. @@ -79,16 +79,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), ('pi_language_code', 'str'), - ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', 'pi_instance_name', 'pi_language_code', - 'pi_cloud_instance_id', ] # Params for Data source @@ -105,13 +105,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_instance_name=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_language_code=dict( + pi_instance_name=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_language_code=dict( required=False, type='str'), id=dict( @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_console_language', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_console_languages_info.py b/plugins/modules/ibm_pi_console_languages_info.py index d6ae128ad..7e23a82de 100644 --- a/plugins/modules/ibm_pi_console_languages_info.py +++ b/plugins/modules/ibm_pi_console_languages_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_console_languages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_instance_name: + pi_cloud_instance_id: description: - - The unique identifier or name of the instance + - None required: True type: str - pi_cloud_instance_id: + pi_instance_name: description: - - None + - The unique identifier or name of the instance required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_instance_name', 'pi_cloud_instance_id', + 'pi_instance_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( - pi_instance_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_instance_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_console_languages', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_dhcp.py b/plugins/modules/ibm_pi_dhcp.py index 991f3f3f9..a4ce87966 100644 --- a/plugins/modules/ibm_pi_dhcp.py +++ b/plugins/modules/ibm_pi_dhcp.py @@ -18,24 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_dhcp' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_dhcp_name: + pi_cloud_instance_id: description: - - Optional name of DHCP Service (will be prefixed by DHCP identifier) - required: False + - (Required for new resource) PI cloud instance ID + required: True type: str - pi_dhcp_snat_enabled: + pi_cloud_connection_id: description: - - Indicates if SNAT will be enabled for the DHCP service + - Optional cloud connection uuid to connect with DHCP private network required: False - type: bool - default: True - pi_dns_server: + type: str + pi_dhcp_name: description: - - Optional DNS Server for DHCP service + - Optional name of DHCP Service (will be prefixed by DHCP identifier) required: False type: str pi_cidr: @@ -43,16 +42,17 @@ - Optional cidr for DHCP private network required: False type: str - pi_cloud_connection_id: + pi_dns_server: description: - - Optional cloud connection uuid to connect with DHCP private network + - Optional DNS Server for DHCP service required: False type: str - pi_cloud_instance_id: + pi_dhcp_snat_enabled: description: - - (Required for new resource) PI cloud instance ID - required: True - type: str + - Indicates if SNAT will be enabled for the DHCP service + required: False + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,12 +100,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', + 'pi_cloud_connection_id', 'pi_dhcp_name', - 'pi_dhcp_snat_enabled', - 'pi_dns_server', 'pi_cidr', - 'pi_cloud_connection_id', - 'pi_cloud_instance_id', + 'pi_dns_server', + 'pi_dhcp_snat_enabled', ] # Params for Data source @@ -126,24 +126,24 @@ 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_dhcp_name=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_dhcp_snat_enabled=dict( + pi_cloud_connection_id=dict( required=False, - type='bool'), - pi_dns_server=dict( + type='str'), + pi_dhcp_name=dict( required=False, type='str'), pi_cidr=dict( required=False, type='str'), - pi_cloud_connection_id=dict( + pi_dns_server=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_dhcp_snat_enabled=dict( required=False, - type='str'), + type='bool'), id=dict( required=False, type='str'), @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_dhcp_info.py b/plugins/modules/ibm_pi_dhcp_info.py index 3f5f1bb46..621ad719e 100644 --- a/plugins/modules/ibm_pi_dhcp_info.py +++ b/plugins/modules/ibm_pi_dhcp_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_dhcp' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_dhcps_info.py b/plugins/modules/ibm_pi_dhcps_info.py index c8cb31649..9471f1402 100644 --- a/plugins/modules/ibm_pi_dhcps_info.py +++ b/plugins/modules/ibm_pi_dhcps_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_dhcps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_dhcps', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_disaster_recovery_location_info.py b/plugins/modules/ibm_pi_disaster_recovery_location_info.py new file mode 100644 index 000000000..2e375f1d6 --- /dev/null +++ b/plugins/modules/ibm_pi_disaster_recovery_location_info.py @@ -0,0 +1,120 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_disaster_recovery_location_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_disaster_recovery_location + +short_description: Retrieve IBM Cloud 'ibm_pi_disaster_recovery_location' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_disaster_recovery_location' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_disaster_recovery_location', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_disaster_recovery_locations_info.py b/plugins/modules/ibm_pi_disaster_recovery_locations_info.py new file mode 100644 index 000000000..2dcceee06 --- /dev/null +++ b/plugins/modules/ibm_pi_disaster_recovery_locations_info.py @@ -0,0 +1,110 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_disaster_recovery_locations_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_disaster_recovery_locations + +short_description: Retrieve IBM Cloud 'ibm_pi_disaster_recovery_locations' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_disaster_recovery_locations' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_disaster_recovery_locations', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_ike_policy.py b/plugins/modules/ibm_pi_ike_policy.py index 6938c73ac..7211058fa 100644 --- a/plugins/modules/ibm_pi_ike_policy.py +++ b/plugins/modules/ibm_pi_ike_policy.py @@ -18,15 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_ike_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + pi_policy_encryption: + description: + - (Required for new resource) Encryption of the IKE Policy + required: True + type: str pi_policy_key_lifetime: description: - (Required for new resource) Policy key lifetime required: True type: int + pi_policy_version: + description: + - (Required for new resource) Version of the IKE Policy + required: True + type: int pi_policy_preshared_key: description: - (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) @@ -38,11 +48,6 @@ required: False type: str default: none - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str pi_policy_name: description: - (Required for new resource) Name of the IKE Policy @@ -53,16 +58,11 @@ - (Required for new resource) DH group of the IKE Policy required: True type: int - pi_policy_encryption: + pi_cloud_instance_id: description: - - (Required for new resource) Encryption of the IKE Policy + - (Required for new resource) PI cloud instance ID required: True type: str - pi_policy_version: - description: - - (Required for new resource) Version of the IKE Policy - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,25 +105,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_policy_encryption', 'str'), ('pi_policy_key_lifetime', 'int'), + ('pi_policy_version', 'int'), ('pi_policy_preshared_key', 'str'), - ('pi_cloud_instance_id', 'str'), ('pi_policy_name', 'str'), ('pi_policy_dh_group', 'int'), - ('pi_policy_encryption', 'str'), - ('pi_policy_version', 'int'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_policy_encryption', 'pi_policy_key_lifetime', + 'pi_policy_version', 'pi_policy_preshared_key', 'pi_policy_authentication', - 'pi_cloud_instance_id', 'pi_policy_name', 'pi_policy_dh_group', - 'pi_policy_encryption', - 'pi_policy_version', + 'pi_cloud_instance_id', ] # Params for Data source @@ -140,30 +140,30 @@ 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_policy_encryption=dict( + required=False, + type='str'), pi_policy_key_lifetime=dict( required=False, type='int'), + pi_policy_version=dict( + required=False, + type='int'), pi_policy_preshared_key=dict( required=False, type='str'), pi_policy_authentication=dict( required=False, type='str'), - pi_cloud_instance_id=dict( - required=False, - type='str'), pi_policy_name=dict( required=False, type='str'), pi_policy_dh_group=dict( required=False, type='int'), - pi_policy_encryption=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_policy_version=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_pi_ike_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 30a1baa7c..d576b1fcd 100644 --- a/plugins/modules/ibm_pi_image.py +++ b/plugins/modules/ibm_pi_image.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_affinity_instance: + pi_image_bucket_name: description: - - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + - Cloud Object Storage bucket name; bucket-name[/optional/folder] required: False type: str pi_image_bucket_region: @@ -32,65 +32,55 @@ - Cloud Object Storage region required: False type: str - pi_image_bucket_file_name: + pi_image_secret_key: description: - - Cloud Object Storage image filename + - Cloud Object Storage secret key; required for buckets with private access required: False type: str - pi_image_storage_type: + pi_affinity_volume: description: - - Type of storage + - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided required: False type: str - pi_affinity_policy: + pi_cloud_instance_id: description: - - Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - required: False + - (Required for new resource) PI cloud instance ID + required: True type: str - pi_image_bucket_name: + pi_image_access_key: description: - - Cloud Object Storage bucket name; bucket-name[/optional/folder] + - Cloud Object Storage access key; required for buckets with private access required: False type: str - pi_image_storage_pool: + pi_image_storage_type: description: - - Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored + - Type of storage required: False type: str - pi_affinity_volume: + pi_affinity_instance: description: - - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided required: False type: str - 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 required: True type: str - pi_image_id: - description: - - Instance image id - required: False - type: str - pi_image_secret_key: - description: - - Cloud Object Storage secret key; required for buckets with private access - required: False - type: str pi_image_bucket_access: description: - Indicates if the bucket has public or private access required: False type: str default: public - pi_image_access_key: + pi_image_storage_pool: description: - - Cloud Object Storage access key; required for buckets with private access + - Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored + required: False + type: str + pi_affinity_policy: + description: + - Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified required: False type: str pi_anti_affinity_volumes: @@ -105,6 +95,16 @@ required: False type: list elements: str + pi_image_id: + description: + - Instance image id + required: False + type: str + pi_image_bucket_file_name: + description: + - Cloud Object Storage image filename + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -153,22 +153,22 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_affinity_instance', - 'pi_image_bucket_region', - 'pi_image_bucket_file_name', - 'pi_image_storage_type', - 'pi_affinity_policy', 'pi_image_bucket_name', - 'pi_image_storage_pool', + 'pi_image_bucket_region', + 'pi_image_secret_key', 'pi_affinity_volume', 'pi_cloud_instance_id', + 'pi_image_access_key', + 'pi_image_storage_type', + 'pi_affinity_instance', 'pi_image_name', - 'pi_image_id', - 'pi_image_secret_key', 'pi_image_bucket_access', - 'pi_image_access_key', + 'pi_image_storage_pool', + 'pi_affinity_policy', 'pi_anti_affinity_volumes', 'pi_anti_affinity_instances', + 'pi_image_id', + 'pi_image_bucket_file_name', ] # Params for Data source @@ -183,61 +183,55 @@ ] TL_CONFLICTS_MAP = { - 'pi_affinity_instance': ['pi_affinity_volume'], - 'pi_image_bucket_region': ['pi_image_id'], - 'pi_image_bucket_file_name': ['pi_image_id'], 'pi_image_bucket_name': ['pi_image_id'], + 'pi_image_bucket_region': ['pi_image_id'], 'pi_affinity_volume': ['pi_affinity_instance'], - 'pi_image_id': ['pi_image_bucket_name'], + 'pi_affinity_instance': ['pi_affinity_volume'], 'pi_image_bucket_access': ['pi_image_id'], 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], + 'pi_image_id': ['pi_image_bucket_name'], + 'pi_image_bucket_file_name': ['pi_image_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( - pi_affinity_instance=dict( + pi_image_bucket_name=dict( required=False, type='str'), pi_image_bucket_region=dict( required=False, type='str'), - pi_image_bucket_file_name=dict( - required=False, - type='str'), - pi_image_storage_type=dict( + pi_image_secret_key=dict( required=False, type='str'), - pi_affinity_policy=dict( + pi_affinity_volume=dict( required=False, type='str'), - pi_image_bucket_name=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_image_storage_pool=dict( + pi_image_access_key=dict( required=False, type='str'), - pi_affinity_volume=dict( + pi_image_storage_type=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_affinity_instance=dict( required=False, type='str'), pi_image_name=dict( required=False, type='str'), - pi_image_id=dict( - required=False, - type='str'), - pi_image_secret_key=dict( + pi_image_bucket_access=dict( required=False, type='str'), - pi_image_bucket_access=dict( + pi_image_storage_pool=dict( required=False, type='str'), - pi_image_access_key=dict( + pi_affinity_policy=dict( required=False, type='str'), pi_anti_affinity_volumes=dict( @@ -248,6 +242,12 @@ required=False, elements='', type='list'), + pi_image_id=dict( + required=False, + type='str'), + pi_image_bucket_file_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -306,7 +306,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -315,7 +315,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_export.py b/plugins/modules/ibm_pi_image_export.py index 890469c95..f5bb7f8c0 100644 --- a/plugins/modules/ibm_pi_image_export.py +++ b/plugins/modules/ibm_pi_image_export.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_image_export' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + pi_image_bucket_region: + description: + - (Required for new resource) Cloud Object Storage region + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID @@ -47,11 +52,6 @@ - (Required for new resource) Cloud Object Storage secret key; required for buckets with private access required: True type: str - pi_image_bucket_region: - description: - - (Required for new resource) Cloud Object Storage region - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,22 +94,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_image_bucket_region', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_image_id', 'str'), ('pi_image_bucket_name', 'str'), ('pi_image_access_key', 'str'), ('pi_image_secret_key', 'str'), - ('pi_image_bucket_region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_image_bucket_region', 'pi_cloud_instance_id', 'pi_image_id', 'pi_image_bucket_name', 'pi_image_access_key', 'pi_image_secret_key', - 'pi_image_bucket_region', ] # Params for Data source @@ -126,6 +126,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_image_bucket_region=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -141,9 +144,6 @@ pi_image_secret_key=dict( required=False, type='str'), - pi_image_bucket_region=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_pi_image_export', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_image_info.py b/plugins/modules/ibm_pi_image_info.py index 0c82f1dda..201d188ec 100644 --- a/plugins/modules/ibm_pi_image_info.py +++ b/plugins/modules/ibm_pi_image_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_image' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5e2831f19..fa2001ba0 100644 --- a/plugins/modules/ibm_pi_images_info.py +++ b/plugins/modules/ibm_pi_images_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 67075f022..3b7464be4 100644 --- a/plugins/modules/ibm_pi_instance.py +++ b/plugins/modules/ibm_pi_instance.py @@ -18,99 +18,92 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_image_id: + pi_user_data: description: - - (Required for new resource) PI instance image id - required: True + - Base64 encoded data to be passed in for invoking a cloud init script + required: False type: str - pi_pin_policy: + pi_storage_connection: description: - - Pin Policy of the instance + - Storage Connectivity Group for server deployment required: False type: str - default: none - pi_deployment_type: + pi_sap_deployment_type: description: - - Custom Deployment Type Information + - Custom SAP Deployment Type Information + required: False + type: str + 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_migratable: description: - set to true to enable migration of the PI instance required: False type: bool - pi_user_data: + pi_volume_ids: description: - - Base64 encoded data to be passed in for invoking a cloud init script + - List of PI volumes required: False + type: list + elements: str + pi_instance_name: + description: + - (Required for new resource) PI Instance name + required: True type: str pi_key_pair_name: description: - SSH key name required: False type: str - pi_memory: - description: - - Memory size - required: False - type: float - pi_proc_type: + pi_storage_pool: description: - - Instance processor type + - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored required: False type: str - pi_volume_ids: - description: - - List of PI volumes - required: False - type: list - elements: str - pi_anti_affinity_volumes: + pi_affinity_policy: description: - - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified required: False - type: list - elements: str - pi_anti_affinity_instances: + type: str + pi_network: description: - - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided - required: False + - (Required for new resource) List of one or more networks to attach to the instance + required: True type: list - elements: str - pi_storage_pool_affinity: + elements: dict + pi_replicants: description: - - Indicates if all volumes attached to the server must reside in the same storage pool + - PI Instance replicas count required: False - type: bool - default: True + type: int + default: 1 pi_license_repository_capacity: description: - The VTL license repository capacity TB value required: False type: int - pi_placement_group_id: + pi_storage_type: description: - - Placement group ID + - Storage type for server deployment required: False type: str - pi_replicants: - description: - - PI Instance replicas count - required: False - type: int - default: 1 - pi_virtual_cores_assigned: + pi_shared_processor_pool: description: - - Virtual Cores Assigned to the PVMInstance + - Shared Processor Pool the instance is deployed on required: False - type: int - pi_cloud_instance_id: + type: str + pi_image_id: description: - - (Required for new resource) This is the Power Instance id that is assigned to the account + - (Required for new resource) PI instance image id required: True type: str pi_sap_profile_id: @@ -118,85 +111,92 @@ - SAP Profile ID for the amount of cores and memory required: False type: str - pi_sap_deployment_type: + pi_replication_policy: description: - - Custom SAP Deployment Type Information + - Replication policy for the PI Instance required: False type: str - pi_health_status: + default: none + pi_anti_affinity_instances: description: - - Allow the user to set the status of the lpar so that they can connect to it faster + - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided required: False - type: str - default: OK + type: list + elements: str pi_processors: description: - Processors count required: False type: float - pi_instance_name: + pi_sys_type: description: - - (Required for new resource) PI Instance name - required: True + - PI Instance system type + required: False type: str - pi_storage_type: + pi_replication_scheme: description: - - Storage type for server deployment + - Replication scheme required: False type: str - pi_affinity_volume: + default: suffix + pi_anti_affinity_volumes: description: - - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + required: False + type: list + elements: str + pi_proc_type: + description: + - Instance processor type required: False type: str - pi_network: + pi_cloud_instance_id: description: - - (Required for new resource) List of one or more networks to attach to the instance + - (Required for new resource) This is the Power Instance id that is assigned to the account required: True - type: list - elements: dict - pi_shared_processor_pool: + type: str + pi_affinity_instance: description: - - Shared Processor Pool the instance is deployed on + - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided required: False type: str - pi_replication_scheme: + pi_storage_pool_affinity: description: - - Replication scheme + - Indicates if all volumes attached to the server must reside in the same storage pool required: False - type: str - default: suffix - pi_storage_pool: + type: bool + default: True + pi_placement_group_id: description: - - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored + - Placement group ID required: False type: str - pi_affinity_instance: + pi_memory: description: - - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + - Memory size required: False - type: str - pi_storage_connection: + type: float + pi_deployment_type: description: - - Storage Connectivity Group for server deployment + - Custom Deployment Type Information required: False type: str - pi_replication_policy: + pi_virtual_cores_assigned: description: - - Replication policy for the PI Instance + - Virtual Cores Assigned to the PVMInstance required: False - type: str - default: none - pi_affinity_policy: + type: int + pi_affinity_volume: description: - - Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified + - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided required: False type: str - pi_sys_type: + pi_pin_policy: description: - - PI Instance system type + - Pin Policy of the instance required: False type: str + default: none id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -239,177 +239,177 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_image_id', 'str'), - ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), ('pi_network', 'list'), + ('pi_image_id', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_image_id', - 'pi_pin_policy', - 'pi_deployment_type', - 'pi_migratable', 'pi_user_data', - 'pi_key_pair_name', - 'pi_memory', - 'pi_proc_type', - 'pi_volume_ids', - 'pi_anti_affinity_volumes', - 'pi_anti_affinity_instances', - 'pi_storage_pool_affinity', - 'pi_license_repository_capacity', - 'pi_placement_group_id', - 'pi_replicants', - 'pi_virtual_cores_assigned', - 'pi_cloud_instance_id', - 'pi_sap_profile_id', + 'pi_storage_connection', 'pi_sap_deployment_type', 'pi_health_status', - 'pi_processors', + 'pi_migratable', + 'pi_volume_ids', 'pi_instance_name', - 'pi_storage_type', - 'pi_affinity_volume', + 'pi_key_pair_name', + 'pi_storage_pool', + 'pi_affinity_policy', 'pi_network', + 'pi_replicants', + 'pi_license_repository_capacity', + 'pi_storage_type', 'pi_shared_processor_pool', - 'pi_replication_scheme', - 'pi_storage_pool', - 'pi_affinity_instance', - 'pi_storage_connection', + 'pi_image_id', + 'pi_sap_profile_id', 'pi_replication_policy', - 'pi_affinity_policy', + 'pi_anti_affinity_instances', + 'pi_processors', 'pi_sys_type', + 'pi_replication_scheme', + 'pi_anti_affinity_volumes', + 'pi_proc_type', + 'pi_cloud_instance_id', + 'pi_affinity_instance', + 'pi_storage_pool_affinity', + 'pi_placement_group_id', + 'pi_memory', + 'pi_deployment_type', + 'pi_virtual_cores_assigned', + 'pi_affinity_volume', + 'pi_pin_policy', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_instance_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_instance_name', 'pi_cloud_instance_id', + 'pi_instance_name', ] TL_CONFLICTS_MAP = { - 'pi_memory': ['pi_sap_profile_id'], - 'pi_proc_type': ['pi_sap_profile_id'], - 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], - 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], + 'pi_shared_processor_pool': ['pi_sap_profile_id'], 'pi_sap_profile_id': ['pi_processors', 'pi_memory', 'pi_proc_type'], + 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], 'pi_processors': ['pi_sap_profile_id'], - 'pi_affinity_volume': ['pi_affinity_instance'], - 'pi_shared_processor_pool': ['pi_sap_profile_id'], + 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], + 'pi_proc_type': ['pi_sap_profile_id'], 'pi_affinity_instance': ['pi_affinity_volume'], + 'pi_memory': ['pi_sap_profile_id'], + 'pi_affinity_volume': ['pi_affinity_instance'], } # 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( - pi_image_id=dict( + pi_user_data=dict( required=False, type='str'), - pi_pin_policy=dict( + pi_storage_connection=dict( required=False, type='str'), - pi_deployment_type=dict( + pi_sap_deployment_type=dict( + required=False, + type='str'), + pi_health_status=dict( required=False, type='str'), pi_migratable=dict( required=False, type='bool'), - pi_user_data=dict( + pi_volume_ids=dict( + required=False, + elements='', + type='list'), + pi_instance_name=dict( required=False, type='str'), pi_key_pair_name=dict( required=False, type='str'), - pi_memory=dict( - required=False, - type='float'), - pi_proc_type=dict( + pi_storage_pool=dict( required=False, type='str'), - pi_volume_ids=dict( - required=False, - elements='', - type='list'), - pi_anti_affinity_volumes=dict( + pi_affinity_policy=dict( required=False, - elements='', - type='list'), - pi_anti_affinity_instances=dict( + type='str'), + pi_network=dict( required=False, elements='', type='list'), - pi_storage_pool_affinity=dict( + pi_replicants=dict( required=False, - type='bool'), + type='int'), pi_license_repository_capacity=dict( required=False, type='int'), - pi_placement_group_id=dict( + pi_storage_type=dict( required=False, type='str'), - pi_replicants=dict( - required=False, - type='int'), - pi_virtual_cores_assigned=dict( + pi_shared_processor_pool=dict( required=False, - type='int'), - pi_cloud_instance_id=dict( + type='str'), + pi_image_id=dict( required=False, type='str'), pi_sap_profile_id=dict( required=False, type='str'), - pi_sap_deployment_type=dict( + pi_replication_policy=dict( required=False, type='str'), - pi_health_status=dict( + pi_anti_affinity_instances=dict( required=False, - type='str'), + elements='', + type='list'), pi_processors=dict( required=False, type='float'), - pi_instance_name=dict( - required=False, - type='str'), - pi_storage_type=dict( + pi_sys_type=dict( required=False, type='str'), - pi_affinity_volume=dict( + pi_replication_scheme=dict( required=False, type='str'), - pi_network=dict( + pi_anti_affinity_volumes=dict( required=False, elements='', type='list'), - pi_shared_processor_pool=dict( - required=False, - type='str'), - pi_replication_scheme=dict( + pi_proc_type=dict( required=False, type='str'), - pi_storage_pool=dict( + pi_cloud_instance_id=dict( required=False, type='str'), pi_affinity_instance=dict( required=False, type='str'), - pi_storage_connection=dict( + pi_storage_pool_affinity=dict( + required=False, + type='bool'), + pi_placement_group_id=dict( required=False, type='str'), - pi_replication_policy=dict( + pi_memory=dict( + required=False, + type='float'), + pi_deployment_type=dict( required=False, type='str'), - pi_affinity_policy=dict( + pi_virtual_cores_assigned=dict( + required=False, + type='int'), + pi_affinity_volume=dict( required=False, type='str'), - pi_sys_type=dict( + pi_pin_policy=dict( required=False, type='str'), id=dict( @@ -470,7 +470,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -479,7 +479,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_action.py b/plugins/modules/ibm_pi_instance_action.py index c8cbd17bf..1297057e5 100644 --- a/plugins/modules/ibm_pi_instance_action.py +++ b/plugins/modules/ibm_pi_instance_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_instance_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_pi_instance_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_info.py b/plugins/modules/ibm_pi_instance_info.py index a41c3957a..8ca8a58b5 100644 --- a/plugins/modules/ibm_pi_instance_info.py +++ b/plugins/modules/ibm_pi_instance_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_instance_name: + pi_cloud_instance_id: description: - - Server Name to be used for pvminstances + - None required: True type: str - pi_cloud_instance_id: + pi_instance_name: description: - - None + - Server Name to be used for pvminstances required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_instance_name', 'pi_cloud_instance_id', + 'pi_instance_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( - pi_instance_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_instance_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 285c9f7fa..33e1322ed 100644 --- a/plugins/modules/ibm_pi_instance_ip_info.py +++ b/plugins/modules/ibm_pi_instance_ip_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_instance_name: description: - - None + - Server Name to be used for pvminstances required: True type: str - pi_instance_name: + pi_cloud_instance_id: description: - - Server Name to be used for pvminstances + - None required: True type: str pi_network_name: @@ -65,15 +65,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), + ('pi_cloud_instance_id', 'str'), ('pi_network_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_instance_name', + 'pi_cloud_instance_id', 'pi_network_name', ] @@ -85,10 +85,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_cloud_instance_id=dict( + pi_instance_name=dict( required=True, type='str'), - pi_instance_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), pi_network_name=dict( @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_pi_instance_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 18d97b90b..d389eb81a 100644 --- a/plugins/modules/ibm_pi_instance_snapshots_info.py +++ b/plugins/modules/ibm_pi_instance_snapshots_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_instance_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 17a2432d8..c76f2773b 100644 --- a/plugins/modules/ibm_pi_instance_volumes_info.py +++ b/plugins/modules/ibm_pi_instance_volumes_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_volumes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_instance_name: + pi_cloud_instance_id: description: - - Instance Name to be used for pvminstances + - None required: True type: str - pi_cloud_instance_id: + pi_instance_name: description: - - None + - Instance Name to be used for pvminstances required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_instance_name', 'pi_cloud_instance_id', + 'pi_instance_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( - pi_instance_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_instance_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_instance_volumes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instances_info.py b/plugins/modules/ibm_pi_instances_info.py index 60e081674..fbe5e81f6 100644 --- a/plugins/modules/ibm_pi_instances_info.py +++ b/plugins/modules/ibm_pi_instances_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instances' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_instances', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_ipsec_policy.py b/plugins/modules/ibm_pi_ipsec_policy.py index f0e1da4a1..baa130957 100644 --- a/plugins/modules/ibm_pi_ipsec_policy.py +++ b/plugins/modules/ibm_pi_ipsec_policy.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_ipsec_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + pi_policy_pfs: + description: + - (Required for new resource) Perfect Forward Secrecy + required: True + type: bool pi_policy_authentication: description: - Authentication for the IPSec Policy @@ -53,11 +58,6 @@ - (Required for new resource) Policy key lifetime required: True type: int - pi_policy_pfs: - description: - - (Required for new resource) Perfect Forward Secrecy - required: True - type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,23 +100,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_policy_pfs', 'bool'), ('pi_cloud_instance_id', 'str'), ('pi_policy_name', 'str'), ('pi_policy_dh_group', 'int'), ('pi_policy_encryption', 'str'), ('pi_policy_key_lifetime', 'int'), - ('pi_policy_pfs', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_policy_pfs', 'pi_policy_authentication', 'pi_cloud_instance_id', 'pi_policy_name', 'pi_policy_dh_group', 'pi_policy_encryption', 'pi_policy_key_lifetime', - 'pi_policy_pfs', ] # Params for Data source @@ -133,6 +133,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_policy_pfs=dict( + required=False, + type='bool'), pi_policy_authentication=dict( required=False, type='str'), @@ -151,9 +154,6 @@ pi_policy_key_lifetime=dict( required=False, type='int'), - pi_policy_pfs=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_pi_ipsec_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 692c573a3..873dec607 100644 --- a/plugins/modules/ibm_pi_key.py +++ b/plugins/modules/ibm_pi_key.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b6c6c495c..a7d9276f8 100644 --- a/plugins/modules/ibm_pi_key_info.py +++ b/plugins/modules/ibm_pi_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_keys_info.py b/plugins/modules/ibm_pi_keys_info.py index e98084b88..41f093995 100644 --- a/plugins/modules/ibm_pi_keys_info.py +++ b/plugins/modules/ibm_pi_keys_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7fe49994b..87d6d59d4 100644 --- a/plugins/modules/ibm_pi_network.py +++ b/plugins/modules/ibm_pi_network.py @@ -18,30 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_network_type: - description: - - (Required for new resource) PI network type - required: True - type: str pi_cidr: description: - PI network CIDR required: False type: str - pi_gateway: - description: - - PI network gateway - required: False - type: str - pi_network_jumbo: - description: - - PI network enable MTU Jumbo option - required: False - type: bool pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID @@ -53,6 +38,11 @@ required: False type: list elements: dict + 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 @@ -64,6 +54,16 @@ required: False type: list elements: str + pi_gateway: + description: + - PI network gateway + required: False + type: str + pi_network_jumbo: + description: + - PI network enable MTU Jumbo option + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,21 +106,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_network_type', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_network_type', 'str'), ('pi_network_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_network_type', 'pi_cidr', - 'pi_gateway', - 'pi_network_jumbo', 'pi_cloud_instance_id', 'pi_ipaddress_range', + 'pi_network_type', 'pi_network_name', 'pi_dns', + 'pi_gateway', + 'pi_network_jumbo', ] # Params for Data source @@ -141,18 +141,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_type=dict( - required=False, - type='str'), pi_cidr=dict( required=False, type='str'), - pi_gateway=dict( - required=False, - type='str'), - pi_network_jumbo=dict( - required=False, - type='bool'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -160,6 +151,9 @@ required=False, elements='', type='list'), + pi_network_type=dict( + required=False, + type='str'), pi_network_name=dict( required=False, type='str'), @@ -167,6 +161,12 @@ required=False, elements='', type='list'), + pi_gateway=dict( + required=False, + type='str'), + pi_network_jumbo=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_pi_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2a98f1812..363407dec 100644 --- a/plugins/modules/ibm_pi_network_info.py +++ b/plugins/modules/ibm_pi_network_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 fe1b95ff3..2f91cf0aa 100644 --- a/plugins/modules/ibm_pi_network_port.py +++ b/plugins/modules/ibm_pi_network_port.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network_port' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_pi_network_port', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 5a1ce5852..4859877e5 100644 --- a/plugins/modules/ibm_pi_network_port_attach.py +++ b/plugins/modules/ibm_pi_network_port_attach.py @@ -18,7 +18,7 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -37,17 +37,17 @@ - (Required for new resource) Network Name - This is the subnet name in the Cloud instance required: True type: str - pi_network_port_ipaddress: - description: - - None - required: False - type: str pi_network_port_description: description: - A human readable description for this network Port required: False type: str default: Port Created via Terraform + pi_network_port_ipaddress: + description: + - None + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,8 +100,8 @@ 'pi_cloud_instance_id', 'pi_instance_id', 'pi_network_name', - 'pi_network_port_ipaddress', 'pi_network_port_description', + 'pi_network_port_ipaddress', ] # Params for Data source @@ -127,10 +127,10 @@ pi_network_name=dict( required=False, type='str'), - pi_network_port_ipaddress=dict( + pi_network_port_description=dict( required=False, type='str'), - pi_network_port_description=dict( + pi_network_port_ipaddress=dict( required=False, type='str'), id=dict( @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_pi_network_port_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 0c42222b9..b5eecfd0f 100644 --- a/plugins/modules/ibm_pi_network_port_info.py +++ b/plugins/modules/ibm_pi_network_port_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_placement_group.py b/plugins/modules/ibm_pi_placement_group.py index 9f978c781..880dc104d 100644 --- a/plugins/modules/ibm_pi_placement_group.py +++ b/plugins/modules/ibm_pi_placement_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -93,13 +93,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_placement_group_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_placement_group_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_placement_group_name', 'pi_cloud_instance_id', + 'pi_placement_group_name', ] TL_CONFLICTS_MAP = { @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_placement_group_info.py b/plugins/modules/ibm_pi_placement_group_info.py index 55abddc7f..968fdd5d0 100644 --- a/plugins/modules/ibm_pi_placement_group_info.py +++ b/plugins/modules/ibm_pi_placement_group_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_pi_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_placement_group_name: + pi_cloud_instance_id: description: - None required: True type: str - pi_cloud_instance_id: + pi_placement_group_name: description: - None required: True @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_placement_group_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_placement_group_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_placement_group_name', 'pi_cloud_instance_id', + 'pi_placement_group_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( - pi_placement_group_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_placement_group_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_placement_groups_info.py b/plugins/modules/ibm_pi_placement_groups_info.py index 9c94fa37f..7e353c25e 100644 --- a/plugins/modules/ibm_pi_placement_groups_info.py +++ b/plugins/modules/ibm_pi_placement_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_placement_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_placement_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 f01eab003..07c1e635d 100644 --- a/plugins/modules/ibm_pi_public_network_info.py +++ b/plugins/modules/ibm_pi_public_network_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_public_network' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_public_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ba19cd789..568eb7960 100644 --- a/plugins/modules/ibm_pi_pvm_snapshots_info.py +++ b/plugins/modules/ibm_pi_pvm_snapshots_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_pvm_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_pvm_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_sap_profile_info.py b/plugins/modules/ibm_pi_sap_profile_info.py index 49c83bbf2..dcb0f4f07 100644 --- a/plugins/modules/ibm_pi_sap_profile_info.py +++ b/plugins/modules/ibm_pi_sap_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_sap_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_sap_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_sap_profiles_info.py b/plugins/modules/ibm_pi_sap_profiles_info.py index c5d6938ec..c6cbed168 100644 --- a/plugins/modules/ibm_pi_sap_profiles_info.py +++ b/plugins/modules/ibm_pi_sap_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_sap_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_sap_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_shared_processor_pool.py b/plugins/modules/ibm_pi_shared_processor_pool.py index 2eddf4ebb..7964d0900 100644 --- a/plugins/modules/ibm_pi_shared_processor_pool.py +++ b/plugins/modules/ibm_pi_shared_processor_pool.py @@ -18,25 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_shared_processor_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_shared_processor_pool_name: - description: - - (Required for new resource) Name of the shared processor pool - required: True - type: str - pi_shared_processor_pool_reserved_cores: - description: - - (Required for new resource) The amount of reserved cores for the shared processor pool - required: True - type: int - pi_shared_processor_pool_host_group: + spp_placement_groups: description: - - (Required for new resource) Host group of the shared processor pool - required: True - type: str + - SPP placement groups the shared processor pool are in + required: False + type: list + elements: str pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID @@ -47,12 +38,21 @@ - Placement group the shared processor pool is created in required: False type: str - spp_placement_groups: + pi_shared_processor_pool_name: description: - - SPP placement groups the shared processor pool are in - required: False - type: list - elements: str + - (Required for new resource) Name of the shared processor pool + required: True + type: str + pi_shared_processor_pool_host_group: + description: + - (Required for new resource) Host group of the shared processor pool + required: True + type: str + pi_shared_processor_pool_reserved_cores: + description: + - (Required for new resource) The amount of reserved cores for the shared processor pool + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,20 +95,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), ('pi_shared_processor_pool_name', 'str'), - ('pi_shared_processor_pool_reserved_cores', 'int'), ('pi_shared_processor_pool_host_group', 'str'), - ('pi_cloud_instance_id', 'str'), + ('pi_shared_processor_pool_reserved_cores', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_shared_processor_pool_name', - 'pi_shared_processor_pool_reserved_cores', - 'pi_shared_processor_pool_host_group', + 'spp_placement_groups', 'pi_cloud_instance_id', 'pi_shared_processor_pool_placement_group_id', - 'spp_placement_groups', + 'pi_shared_processor_pool_name', + 'pi_shared_processor_pool_host_group', + 'pi_shared_processor_pool_reserved_cores', ] # Params for Data source @@ -129,25 +129,25 @@ 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_shared_processor_pool_name=dict( + spp_placement_groups=dict( required=False, - type='str'), - pi_shared_processor_pool_reserved_cores=dict( + elements='', + type='list'), + pi_cloud_instance_id=dict( required=False, - type='int'), - pi_shared_processor_pool_host_group=dict( + type='str'), + pi_shared_processor_pool_placement_group_id=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_shared_processor_pool_name=dict( required=False, type='str'), - pi_shared_processor_pool_placement_group_id=dict( + pi_shared_processor_pool_host_group=dict( required=False, type='str'), - spp_placement_groups=dict( + pi_shared_processor_pool_reserved_cores=dict( required=False, - elements='', - type='list'), + type='int'), id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_shared_processor_pool_info.py b/plugins/modules/ibm_pi_shared_processor_pool_info.py index 64e68e3e7..391cfbfcf 100644 --- a/plugins/modules/ibm_pi_shared_processor_pool_info.py +++ b/plugins/modules/ibm_pi_shared_processor_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_shared_processor_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_shared_processor_pools_info.py b/plugins/modules/ibm_pi_shared_processor_pools_info.py index 5f59664ab..6966b6226 100644 --- a/plugins/modules/ibm_pi_shared_processor_pools_info.py +++ b/plugins/modules/ibm_pi_shared_processor_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_shared_processor_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 eb892d08a..7583253fb 100644 --- a/plugins/modules/ibm_pi_snapshot.py +++ b/plugins/modules/ibm_pi_snapshot.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_snapshot' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - 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. @@ -48,6 +43,11 @@ required: False type: list elements: str + pi_instance_name: + description: + - (Required for new resource) Instance name / id of the pvm + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,18 +90,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_snap_shot_name', 'str'), + ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_instance_name', 'pi_cloud_instance_id', 'pi_description', 'pi_snap_shot_name', 'pi_volume_ids', + 'pi_instance_name', ] # Params for Data source @@ -118,9 +118,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_instance_name=dict( - required=False, - type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -134,6 +131,9 @@ required=False, elements='', type='list'), + pi_instance_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_pi_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_spp_placement_group.py b/plugins/modules/ibm_pi_spp_placement_group.py index c42d217e8..eec6fd37e 100644 --- a/plugins/modules/ibm_pi_spp_placement_group.py +++ b/plugins/modules/ibm_pi_spp_placement_group.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_spp_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_spp_placement_group_name: - description: - - (Required for new resource) Name of the SPP placement group - required: True - type: str pi_spp_placement_group_policy: description: - (Required for new resource) Policy of the SPP placement group @@ -37,6 +32,11 @@ - (Required for new resource) PI cloud instance ID required: True type: str + pi_spp_placement_group_name: + description: + - (Required for new resource) Name of the SPP placement group + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,27 +79,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_spp_placement_group_name', 'str'), ('pi_spp_placement_group_policy', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_spp_placement_group_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_spp_placement_group_name', 'pi_spp_placement_group_policy', 'pi_cloud_instance_id', + 'pi_spp_placement_group_name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_instance_id', 'str'), ('pi_spp_placement_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_instance_id', 'pi_spp_placement_group_id', + 'pi_cloud_instance_id', ] TL_CONFLICTS_MAP = { @@ -109,15 +109,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_spp_placement_group_name=dict( - required=False, - type='str'), pi_spp_placement_group_policy=dict( required=False, type='str'), pi_cloud_instance_id=dict( required=False, type='str'), + pi_spp_placement_group_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_spp_placement_group_info.py b/plugins/modules/ibm_pi_spp_placement_group_info.py index 791e68c72..b85f9ff8e 100644 --- a/plugins/modules/ibm_pi_spp_placement_group_info.py +++ b/plugins/modules/ibm_pi_spp_placement_group_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_pi_spp_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_spp_placement_group_id: description: - None required: True type: str - pi_spp_placement_group_id: + pi_cloud_instance_id: description: - None required: True @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_spp_placement_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_spp_placement_group_id', + 'pi_cloud_instance_id', ] @@ -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( - pi_cloud_instance_id=dict( + pi_spp_placement_group_id=dict( required=True, type='str'), - pi_spp_placement_group_id=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_spp_placement_groups_info.py b/plugins/modules/ibm_pi_spp_placement_groups_info.py index 87484c049..7d26b4458 100644 --- a/plugins/modules/ibm_pi_spp_placement_groups_info.py +++ b/plugins/modules/ibm_pi_spp_placement_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_spp_placement_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_pool_capacity_info.py b/plugins/modules/ibm_pi_storage_pool_capacity_info.py index 5696b4d8d..64476d2a3 100644 --- a/plugins/modules/ibm_pi_storage_pool_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_pool_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_pool_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_storage_pool_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_pools_capacity_info.py b/plugins/modules/ibm_pi_storage_pools_capacity_info.py index 2d41abbfb..264de8745 100644 --- a/plugins/modules/ibm_pi_storage_pools_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_pools_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_pools_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_storage_pools_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_type_capacity_info.py b/plugins/modules/ibm_pi_storage_type_capacity_info.py index 839dcdc37..a64b9b56b 100644 --- a/plugins/modules/ibm_pi_storage_type_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_type_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_type_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_storage_type_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_types_capacity_info.py b/plugins/modules/ibm_pi_storage_types_capacity_info.py index 1c6941a7f..8012a8331 100644 --- a/plugins/modules/ibm_pi_storage_types_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_types_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_types_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_storage_types_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_system_pools_info.py b/plugins/modules/ibm_pi_system_pools_info.py index 21a0a650f..40e8fd39f 100644 --- a/plugins/modules/ibm_pi_system_pools_info.py +++ b/plugins/modules/ibm_pi_system_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_system_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_system_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bff856e05..3ed4360cc 100644 --- a/plugins/modules/ibm_pi_tenant_info.py +++ b/plugins/modules/ibm_pi_tenant_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_tenant' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_tenant', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 bff8b24dd..01ef49942 100644 --- a/plugins/modules/ibm_pi_volume.py +++ b/plugins/modules/ibm_pi_volume.py @@ -18,64 +18,69 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_volume_pool: - description: - - Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored - required: False - type: str - pi_affinity_policy: + pi_cloud_instance_id: description: - - Affinity policy for data volume being created; ignored if pi_volume_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - required: False + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True type: str - pi_volume_shareable: + pi_volume_size: description: - - Flag to indicate if the volume can be shared across multiple instances? - required: False - type: bool + - (Required for new resource) Size of the volume in GB + required: True + type: float pi_affinity_volume: description: - Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_instance is not provided required: False type: str - pi_anti_affinity_instances: + pi_anti_affinity_volumes: description: - - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided required: False type: list elements: str - pi_cloud_instance_id: + pi_volume_type: description: - - (Required for new resource) Cloud Instance ID - This is the service_instance_id. - required: True + - Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored + required: False + type: str + pi_affinity_instance: + description: + - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided + required: False + type: str + pi_replication_enabled: + description: + - Indicates if the volume should be replication enabled or not + required: False + type: bool + pi_affinity_policy: + description: + - Affinity policy for data volume being created; ignored if pi_volume_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified + required: False type: str pi_volume_name: description: - (Required for new resource) Volume Name to create required: True type: str - pi_volume_size: - description: - - (Required for new resource) Size of the volume in GB - required: True - type: float - pi_volume_type: + pi_volume_shareable: description: - - Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored + - Flag to indicate if the volume can be shared across multiple instances? required: False - type: str - pi_affinity_instance: + type: bool + pi_volume_pool: description: - - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided + - Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored required: False type: str - pi_anti_affinity_volumes: + pi_anti_affinity_instances: description: - - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided required: False type: list elements: str @@ -122,23 +127,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('pi_cloud_instance_id', 'str'), - ('pi_volume_name', 'str'), ('pi_volume_size', 'float'), + ('pi_volume_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_volume_pool', - 'pi_affinity_policy', - 'pi_volume_shareable', - 'pi_affinity_volume', - 'pi_anti_affinity_instances', 'pi_cloud_instance_id', - 'pi_volume_name', 'pi_volume_size', + 'pi_affinity_volume', + 'pi_anti_affinity_volumes', 'pi_volume_type', 'pi_affinity_instance', - 'pi_anti_affinity_volumes', + 'pi_replication_enabled', + 'pi_affinity_policy', + 'pi_volume_name', + 'pi_volume_shareable', + 'pi_volume_pool', + 'pi_anti_affinity_instances', ] # Params for Data source @@ -154,47 +160,50 @@ TL_CONFLICTS_MAP = { 'pi_affinity_volume': ['pi_affinity_instance'], - 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], - 'pi_affinity_instance': ['pi_affinity_volume'], 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], + 'pi_affinity_instance': ['pi_affinity_volume'], + 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], } # 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( - pi_volume_pool=dict( - required=False, - type='str'), - pi_affinity_policy=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_volume_shareable=dict( + pi_volume_size=dict( required=False, - type='bool'), + type='float'), pi_affinity_volume=dict( required=False, type='str'), - pi_anti_affinity_instances=dict( + pi_anti_affinity_volumes=dict( required=False, elements='', type='list'), - pi_cloud_instance_id=dict( + pi_volume_type=dict( required=False, type='str'), - pi_volume_name=dict( + pi_affinity_instance=dict( required=False, type='str'), - pi_volume_size=dict( + pi_replication_enabled=dict( required=False, - type='float'), - pi_volume_type=dict( + type='bool'), + pi_affinity_policy=dict( required=False, type='str'), - pi_affinity_instance=dict( + pi_volume_name=dict( required=False, type='str'), - pi_anti_affinity_volumes=dict( + pi_volume_shareable=dict( + required=False, + type='bool'), + pi_volume_pool=dict( + required=False, + type='str'), + pi_anti_affinity_instances=dict( required=False, elements='', type='list'), @@ -256,7 +265,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +274,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 604ba9c66..90570856f 100644 --- a/plugins/modules/ibm_pi_volume_attach.py +++ b/plugins/modules/ibm_pi_volume_attach.py @@ -18,15 +18,10 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_instance_id: - description: - - (Required for new resource) PI Instance Id - required: True - type: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -37,6 +32,11 @@ - (Required for new resource) Id of the volume to attach. Note these volumes should have been created required: True type: str + pi_instance_id: + description: + - (Required for new resource) PI Instance Id + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,16 +79,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_instance_id', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_volume_id', 'str'), + ('pi_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_instance_id', 'pi_cloud_instance_id', 'pi_volume_id', + 'pi_instance_id', ] # Params for Data source @@ -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( - pi_instance_id=dict( - required=False, - type='str'), pi_cloud_instance_id=dict( required=False, type='str'), pi_volume_id=dict( required=False, type='str'), + pi_instance_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_volume_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py b/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py new file mode 100644 index 000000000..6f08f5135 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_flash_copy_mappings_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_flash_copy_mappings + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_flash_copy_mappings' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_flash_copy_mappings' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_id: + description: + - Volume ID + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_flash_copy_mappings', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_group.py b/plugins/modules/ibm_pi_volume_group.py new file mode 100644 index 000000000..602dd6070 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_group.py @@ -0,0 +1,217 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_group +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_volume_group + +short_description: Configure IBM Cloud 'ibm_pi_volume_group' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_pi_volume_group' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_cloud_instance_id: + description: + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True + type: str + pi_consistency_group_name: + description: + - The name of consistency group at storage controller level + required: False + type: str + pi_volume_ids: + description: + - (Required for new resource) List of volumes to add in volume group + required: True + type: list + elements: str + pi_volume_group_name: + description: + - Volume Group Name to create + required: False + type: str + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), + ('pi_volume_ids', 'list'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', + 'pi_consistency_group_name', + 'pi_volume_ids', + 'pi_volume_group_name', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('pi_volume_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'pi_volume_group_id', + 'pi_cloud_instance_id', +] + +TL_CONFLICTS_MAP = { + 'pi_consistency_group_name': ['pi_volume_group_name'], + 'pi_volume_group_name': ['pi_consistency_group_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( + pi_cloud_instance_id=dict( + required=False, + type='str'), + pi_consistency_group_name=dict( + required=False, + type='str'), + pi_volume_ids=dict( + required=False, + elements='', + type='list'), + pi_volume_group_name=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result_ds = ibmcloud_terraform( + resource_type='ibm_pi_volume_group', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS_DS, + tl_all_params=TL_ALL_PARAMETERS_DS) + + if result_ds['rc'] != 0 or (result_ds['rc'] == 0 and (module.params['id'] is not None or module.params['state'] == 'absent')): + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_group', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + else: + module.exit_json(**result_ds) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_group_action.py b/plugins/modules/ibm_pi_volume_group_action.py new file mode 100644 index 000000000..11fa5388e --- /dev/null +++ b/plugins/modules/ibm_pi_volume_group_action.py @@ -0,0 +1,193 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_group_action +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_volume_group_action + +short_description: Configure IBM Cloud 'ibm_pi_volume_group_action' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_pi_volume_group_action' resource + - This module does not support idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_cloud_instance_id: + description: + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True + type: str + pi_volume_group_id: + description: + - (Required for new resource) Volume Group ID + required: True + type: str + pi_volume_group_action: + description: + - (Required for new resource) Performs an action (start stop reset ) on a volume group(one at a time). + required: True + type: list + elements: dict + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), + ('pi_volume_group_id', 'str'), + ('pi_volume_group_action', 'list'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', + 'pi_volume_group_id', + 'pi_volume_group_action', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ +] + +TL_ALL_PARAMETERS_DS = [ +] + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_cloud_instance_id=dict( + required=False, + type='str'), + pi_volume_group_id=dict( + required=False, + type='str'), + pi_volume_group_action=dict( + required=False, + elements='', + type='list'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_group_action', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_group_details_info.py b/plugins/modules/ibm_pi_volume_group_details_info.py new file mode 100644 index 000000000..e0e92a728 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_group_details_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_group_details_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group_details + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_group_details' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_group_details' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_group_id: + description: + - Name of the volume group + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_group_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_group_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_group_details', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_group_info.py b/plugins/modules/ibm_pi_volume_group_info.py new file mode 100644 index 000000000..3ee5e8807 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_group_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_group_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_group' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_group' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_group_id: + description: + - ID or Name of the volume group + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_group_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_group_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_group', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py b/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py new file mode 100644 index 000000000..54ff05f1f --- /dev/null +++ b/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_group_remote_copy_relationships_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group_remote_copy_relationships + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_group_remote_copy_relationships' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_group_remote_copy_relationships' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_group_id: + description: + - Volume group ID + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_group_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_group_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_group_remote_copy_relationships', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_group_storage_details_info.py b/plugins/modules/ibm_pi_volume_group_storage_details_info.py new file mode 100644 index 000000000..8e7e5d654 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_group_storage_details_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_group_storage_details_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_group_storage_details + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_group_storage_details' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_group_storage_details' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_group_id: + description: + - Volume group ID + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_group_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_group_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_group_storage_details', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_groups_details_info.py b/plugins/modules/ibm_pi_volume_groups_details_info.py new file mode 100644 index 000000000..4ae93e714 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_groups_details_info.py @@ -0,0 +1,120 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_groups_details_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_groups_details + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_groups_details' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_groups_details' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_groups_details', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_groups_info.py b/plugins/modules/ibm_pi_volume_groups_info.py new file mode 100644 index 000000000..3835a3ab5 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_groups_info.py @@ -0,0 +1,120 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_groups_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_groups + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_groups' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_groups' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_groups', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_info.py b/plugins/modules/ibm_pi_volume_info.py index 6672e466f..6b5ab8aa3 100644 --- a/plugins/modules/ibm_pi_volume_info.py +++ b/plugins/modules/ibm_pi_volume_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_onboarding.py b/plugins/modules/ibm_pi_volume_onboarding.py new file mode 100644 index 000000000..62a4038f8 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_onboarding.py @@ -0,0 +1,206 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_onboarding +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_volume_onboarding + +short_description: Configure IBM Cloud 'ibm_pi_volume_onboarding' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_pi_volume_onboarding' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_onboarding_volumes: + description: + - (Required for new resource) + required: True + type: list + elements: dict + pi_cloud_instance_id: + description: + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True + type: str + pi_description: + description: + - Description of the volume onboarding operation + required: False + type: str + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_onboarding_volumes', 'list'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_onboarding_volumes', + 'pi_cloud_instance_id', + 'pi_description', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('pi_volume_onboarding_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'pi_volume_onboarding_id', + 'pi_cloud_instance_id', +] + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_onboarding_volumes=dict( + required=False, + elements='', + type='list'), + pi_cloud_instance_id=dict( + required=False, + type='str'), + pi_description=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result_ds = ibmcloud_terraform( + resource_type='ibm_pi_volume_onboarding', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS_DS, + tl_all_params=TL_ALL_PARAMETERS_DS) + + if result_ds['rc'] != 0 or (result_ds['rc'] == 0 and (module.params['id'] is not None or module.params['state'] == 'absent')): + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_onboarding', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + else: + module.exit_json(**result_ds) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_onboarding_info.py b/plugins/modules/ibm_pi_volume_onboarding_info.py new file mode 100644 index 000000000..25dfa8715 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_onboarding_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_onboarding_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_onboarding + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_onboarding' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_onboarding' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_onboarding_id: + description: + - Volume onboarding ID + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_onboarding_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_onboarding_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_onboarding_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_onboarding', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_onboardings_info.py b/plugins/modules/ibm_pi_volume_onboardings_info.py new file mode 100644 index 000000000..2c3e23e66 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_onboardings_info.py @@ -0,0 +1,120 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_onboardings_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_onboardings + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_onboardings' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_onboardings' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_onboardings', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py b/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py new file mode 100644 index 000000000..4ea3d6067 --- /dev/null +++ b/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py @@ -0,0 +1,130 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_pi_volume_remote_copy_relationship_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/pi_volume_remote_copy_relationship + +short_description: Retrieve IBM Cloud 'ibm_pi_volume_remote_copy_relationship' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_pi_volume_remote_copy_relationship' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.48.0 + - Terraform v0.12.20 + +options: + pi_volume_id: + description: + - Volume name + required: True + type: str + pi_cloud_instance_id: + description: + - None + required: True + type: str + zone: + description: + - Denotes which IBM Cloud zone to connect to in multizone + environment. This can also be provided via the environment + variable 'IC_ZONE'. + required: False + type: str + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + type: str + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('pi_volume_id', 'str'), + ('pi_cloud_instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'pi_volume_id', + 'pi_cloud_instance_id', +] + + +TL_CONFLICTS_MAP = { +} + +# 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( + pi_volume_id=dict( + required=True, + type='str'), + pi_cloud_instance_id=dict( + required=True, + type='str'), + zone=dict( + type='str', + fallback=(env_fallback, ['IC_ZONE'])), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_pi_volume_remote_copy_relationship', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.48.0', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_pi_vpn_connection.py b/plugins/modules/ibm_pi_vpn_connection.py index c41299139..fa0aee4de 100644 --- a/plugins/modules/ibm_pi_vpn_connection.py +++ b/plugins/modules/ibm_pi_vpn_connection.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_vpn_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - pi_ike_policy_id: + pi_vpn_connection_mode: description: - - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection + - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' required: True type: str pi_networks: @@ -38,11 +38,6 @@ - (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection required: True type: str - pi_vpn_connection_mode: - description: - - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' - required: True - type: str pi_peer_gateway_address: description: - (Required for new resource) Peer Gateway address @@ -64,6 +59,11 @@ - (Required for new resource) Name of the VPN Connection required: True type: str + pi_ike_policy_id: + description: + - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,26 +106,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_ike_policy_id', 'str'), + ('pi_vpn_connection_mode', 'str'), ('pi_networks', 'list'), ('pi_ipsec_policy_id', 'str'), - ('pi_vpn_connection_mode', 'str'), ('pi_peer_gateway_address', 'str'), ('pi_peer_subnets', 'list'), ('pi_cloud_instance_id', 'str'), ('pi_vpn_connection_name', 'str'), + ('pi_ike_policy_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_ike_policy_id', + 'pi_vpn_connection_mode', 'pi_networks', 'pi_ipsec_policy_id', - 'pi_vpn_connection_mode', 'pi_peer_gateway_address', 'pi_peer_subnets', 'pi_cloud_instance_id', 'pi_vpn_connection_name', + 'pi_ike_policy_id', ] # Params for Data source @@ -142,7 +142,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_ike_policy_id=dict( + pi_vpn_connection_mode=dict( required=False, type='str'), pi_networks=dict( @@ -152,9 +152,6 @@ pi_ipsec_policy_id=dict( required=False, type='str'), - pi_vpn_connection_mode=dict( - required=False, - type='str'), pi_peer_gateway_address=dict( required=False, type='str'), @@ -168,6 +165,9 @@ pi_vpn_connection_name=dict( required=False, type='str'), + pi_ike_policy_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_pi_vpn_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pn_application_chrome.py b/plugins/modules/ibm_pn_application_chrome.py index e89f614c8..d1f8f1dda 100644 --- a/plugins/modules/ibm_pn_application_chrome.py +++ b/plugins/modules/ibm_pn_application_chrome.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pn_application_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pn_application_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_pn_application_chrome', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pn_application_chrome_info.py b/plugins/modules/ibm_pn_application_chrome_info.py index 4fb0c6820..daac0cd3c 100644 --- a/plugins/modules/ibm_pn_application_chrome_info.py +++ b/plugins/modules/ibm_pn_application_chrome_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pn_application_chrome' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_pn_application_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 81e5423bb..da78b36f9 100644 --- a/plugins/modules/ibm_resource_group.py +++ b/plugins/modules/ibm_resource_group.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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. @@ -84,8 +84,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'tags', + 'name', ] # Params for Data source @@ -93,8 +93,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'is_default', + 'name', ] TL_CONFLICTS_MAP = { @@ -104,13 +104,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'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d4c140c7b..3ee3b56db 100644 --- a/plugins/modules/ibm_resource_group_info.py +++ b/plugins/modules/ibm_resource_group_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_resource_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Resource group name - required: False - type: str is_default: description: - Default Resource group required: False type: bool + name: + description: + - Resource group name + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'is_default', + 'name', ] @@ -80,12 +80,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=False, - type='str'), is_default=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), 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.47.1', + ibm_provider_version='1.48.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 ff8c58750..38ad0fbee 100644 --- a/plugins/modules/ibm_resource_instance.py +++ b/plugins/modules/ibm_resource_instance.py @@ -18,39 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str - location: - description: - - (Required for new resource) The location where the instance available - required: True - type: str - service: - description: - - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc - required: True - type: str name: description: - (Required for new resource) A name for the resource instance required: True type: str - parameters: + resource_group_id: description: - - Arbitrary parameters to pass. Must be a JSON object + - The resource group id required: False - type: dict - parameters_json: + type: str + service_endpoints: description: - - Arbitrary parameters to pass in Json string format + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. required: False type: str plan: @@ -58,15 +42,31 @@ - (Required for new resource) The plan type of the service required: True type: str - resource_group_id: + parameters_json: description: - - The resource group id + - Arbitrary parameters to pass in Json string format required: False type: str - service_endpoints: + parameters: description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + - Arbitrary parameters to pass. Must be a JSON object + required: False + type: dict + 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 + location: + description: + - (Required for new resource) The location where the instance available + required: True type: str id: description: @@ -114,23 +114,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location', 'str'), - ('service', 'str'), ('name', 'str'), ('plan', 'str'), + ('service', 'str'), + ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'location', - 'service', 'name', - 'parameters', - 'parameters_json', - 'plan', 'resource_group_id', 'service_endpoints', + 'plan', + 'parameters_json', + 'parameters', + 'tags', + 'service', + 'location', ] # Params for Data source @@ -140,46 +140,46 @@ TL_ALL_PARAMETERS_DS = [ 'resource_group_id', - 'service', 'location', + 'service', 'name', ] TL_CONFLICTS_MAP = { - 'parameters': ['parameters_json'], 'parameters_json': ['parameters'], + 'parameters': ['parameters_json'], } # 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( - tags=dict( - required=False, - elements='', - type='list'), - location=dict( + name=dict( required=False, type='str'), - service=dict( + resource_group_id=dict( required=False, type='str'), - name=dict( + service_endpoints=dict( required=False, type='str'), - parameters=dict( + plan=dict( required=False, - type='dict'), + type='str'), parameters_json=dict( required=False, type='str'), - plan=dict( + parameters=dict( required=False, - type='str'), - resource_group_id=dict( + type='dict'), + tags=dict( + required=False, + elements='', + type='list'), + service=dict( required=False, type='str'), - service_endpoints=dict( + location=dict( required=False, type='str'), id=dict( @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 60a48e431..2533f50bf 100644 --- a/plugins/modules/ibm_resource_instance_info.py +++ b/plugins/modules/ibm_resource_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - The id of the resource group in which the instance is present required: False type: str - service: + location: description: - - The service type of the instance + - The location or the environment in which instance exists required: False type: str - location: + service: description: - - The location or the environment in which instance exists + - The service type of the instance required: False type: str name: @@ -80,8 +80,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'service', 'location', + 'service', 'name', ] @@ -96,10 +96,10 @@ resource_group_id=dict( required=False, type='str'), - service=dict( + location=dict( required=False, type='str'), - location=dict( + service=dict( required=False, type='str'), name=dict( @@ -139,7 +139,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 38634d9e8..bd0f45703 100644 --- a/plugins/modules/ibm_resource_key.py +++ b/plugins/modules/ibm_resource_key.py @@ -18,34 +18,29 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str resource_instance_id: description: - The id of the resource instance for which to create resource key required: False type: str - name: + resource_alias_id: description: - - (Required for new resource) The name of the resource key - required: True + - The id of the resource alias for which to create resource key + required: False type: str - role: + tags: description: - - Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + - None required: False - type: str - resource_alias_id: + type: list + elements: str + role: description: - - The id of the resource alias for which to create resource key + - Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. required: False type: str parameters: @@ -53,6 +48,11 @@ - Arbitrary parameters to pass. Must be a JSON object required: False type: dict + name: + description: + - (Required for new resource) The name of the resource key + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,12 +104,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'resource_instance_id', - 'name', - 'role', 'resource_alias_id', + 'tags', + 'role', 'parameters', + 'name', ] # Params for Data source @@ -118,10 +118,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_instance_id', + 'name', 'resource_alias_id', 'most_recent', - 'name', + 'resource_instance_id', ] TL_CONFLICTS_MAP = { @@ -133,25 +133,25 @@ 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_instance_id=dict( required=False, type='str'), - name=dict( + resource_alias_id=dict( required=False, type='str'), - role=dict( + tags=dict( required=False, - type='str'), - resource_alias_id=dict( + elements='', + type='list'), + role=dict( required=False, type='str'), parameters=dict( required=False, type='dict'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2c277ccaa..6fa0fdd3b 100644 --- a/plugins/modules/ibm_resource_key_info.py +++ b/plugins/modules/ibm_resource_key_info.py @@ -17,14 +17,14 @@ description: - Retrieve an IBM Cloud 'ibm_resource_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_instance_id: + name: description: - - The id of the resource instance - required: False + - The name of the resource key + required: True type: str resource_alias_id: description: @@ -37,10 +37,10 @@ required: False type: bool default: False - name: + resource_instance_id: description: - - The name of the resource key - required: True + - The id of the resource instance + required: False type: str iaas_classic_username: description: @@ -80,24 +80,24 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_instance_id', + 'name', 'resource_alias_id', 'most_recent', - 'name', + 'resource_instance_id', ] TL_CONFLICTS_MAP = { - 'resource_instance_id': ['resource_alias_id'], 'resource_alias_id': ['resource_instance_id'], + 'resource_instance_id': ['resource_alias_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( - resource_instance_id=dict( - required=False, + name=dict( + required=True, type='str'), resource_alias_id=dict( required=False, @@ -105,8 +105,8 @@ most_recent=dict( required=False, type='bool'), - name=dict( - required=True, + resource_instance_id=dict( + required=False, type='str'), iaas_classic_username=dict( type='str', @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a2955cd3f..139c00d4d 100644 --- a/plugins/modules/ibm_resource_quota_info.py +++ b/plugins/modules/ibm_resource_quota_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_quota' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_resource_quota', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_tag.py b/plugins/modules/ibm_resource_tag.py index e86286708..fbd1a0b18 100644 --- a/plugins/modules/ibm_resource_tag.py +++ b/plugins/modules/ibm_resource_tag.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_tag' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + resource_type: + description: + - Resource type on which the tags should be attached + required: False + type: str + tag_type: + description: + - Type of the tag. Only allowed values are: user, or service or access (default value : user) + required: False + type: str resource_id: description: - (Required for new resource) CRN of the resource on which the tags should be attached @@ -33,16 +43,6 @@ required: False type: list elements: str - resource_type: - description: - - Resource type on which the tags should be attached - required: False - type: str - tag_type: - description: - - Type of the tag. Only allowed values are: user, or service or access (default value : user) - required: False - 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 = [ - 'resource_id', - 'tags', 'resource_type', 'tag_type', + 'resource_id', + 'tags', ] # Params for Data source @@ -117,6 +117,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( + resource_type=dict( + required=False, + type='str'), + tag_type=dict( + required=False, + type='str'), resource_id=dict( required=False, type='str'), @@ -124,12 +130,6 @@ required=False, elements='', type='list'), - resource_type=dict( - required=False, - type='str'), - tag_type=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_tag_info.py b/plugins/modules/ibm_resource_tag_info.py index 83e088723..f058e8d34 100644 --- a/plugins/modules/ibm_resource_tag_info.py +++ b/plugins/modules/ibm_resource_tag_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_tag' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_attach_host_script_info.py b/plugins/modules/ibm_satellite_attach_host_script_info.py index 8147670f9..2bb7a3fda 100644 --- a/plugins/modules/ibm_satellite_attach_host_script_info.py +++ b/plugins/modules/ibm_satellite_attach_host_script_info.py @@ -17,10 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_attach_host_script' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + location: + description: + - A unique name for the new Satellite location + required: True + type: str + coreos_host: + description: + - If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script + required: False + type: bool labels: description: - List of labels for the attach host @@ -37,16 +47,6 @@ - The directory where the satellite attach host script to be downloaded. Default is home directory required: False type: str - coreos_host: - description: - - If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script - required: False - type: bool - location: - description: - - A unique name for the new Satellite location - required: True - type: str custom_script: description: - The custom script that has to be appended to generated host script file @@ -90,11 +90,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'location', + 'coreos_host', 'labels', 'host_provider', 'script_dir', - 'coreos_host', - 'location', 'custom_script', ] @@ -106,6 +106,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( + location=dict( + required=True, + type='str'), + coreos_host=dict( + required=False, + type='bool'), labels=dict( required=False, elements='', @@ -116,12 +122,6 @@ script_dir=dict( required=False, type='str'), - coreos_host=dict( - required=False, - type='bool'), - location=dict( - required=True, - type='str'), custom_script=dict( required=False, type='str'), @@ -159,7 +159,7 @@ def run_module(): resource_type='ibm_satellite_attach_host_script', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_cluster.py b/plugins/modules/ibm_satellite_cluster.py index 6d72babee..fd580265b 100644 --- a/plugins/modules/ibm_satellite_cluster.py +++ b/plugins/modules/ibm_satellite_cluster.py @@ -18,106 +18,106 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + service_subnet: description: - - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - required: True + - User provided value for service subnet + required: False type: str operating_system: description: - Operating system of the default worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. required: False type: str + crn_token: + description: + - The IBM Cloud Identity and Access Management (IAM) service CRN token for the service that creates the cluster. + required: False + type: str + default_worker_pool_labels: + description: + - Labels on the default worker pool + required: False + type: dict + elements: str + zones: + description: + - Zone info for worker pool + required: False + type: list + elements: dict pull_secret: description: - The RedHat pull secret to create the OpenShift cluster required: False type: str - wait_for_worker_update: + resource_group_id: description: - - Wait for worker node to update during kube version update. + - ID of the resource group. required: False - type: bool - default: True - retry_patch_version: + type: str + kube_version: description: - - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + - The OpenShift Container Platform version required: False - type: int - worker_count: + type: str + patch_version: description: - - The number of worker nodes per zone in the default worker pool. Required when '--host-label' is specified. (default: 0) + - Kubernetes patch version required: False - type: int + type: str tags: description: - List of tags for the resources required: False type: list elements: str - crn_token: + host_labels: description: - - The IBM Cloud Identity and Access Management (IAM) service CRN token for the service that creates the cluster. + - Labels that describe a Satellite host for default workerpool required: False - type: str - resource_group_id: + type: list + elements: str + name: description: - - ID of the resource group. - required: False + - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + required: True type: str location: description: - (Required for new resource) The name or ID of the Satellite location required: True type: str + wait_for_worker_update: + description: + - Wait for worker node to update during kube version update. + required: False + type: bool + default: True disable_public_service_endpoint: description: - Boolean value true if Public service endpoint to be disabled required: False type: bool default: False - service_subnet: - description: - - User provided value for service subnet - required: False - type: str - kube_version: - description: - - The OpenShift Container Platform version - required: False - type: str - host_labels: - description: - - Labels that describe a Satellite host for default workerpool - required: False - type: list - elements: str - patch_version: - description: - - Kubernetes patch version - required: False - type: str enable_config_admin: description: - Grant cluster admin access to Satellite Config to manage Kubernetes resources. required: False type: bool - default_worker_pool_labels: + retry_patch_version: description: - - Labels on the default worker pool + - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails required: False - type: dict - elements: str - zones: + type: int + worker_count: description: - - Zone info for worker pool + - The number of worker nodes per zone in the default worker pool. Required when '--host-label' is specified. (default: 0) required: False - type: list - elements: dict + type: int pod_subnet: description: - User provided value for the pod subnet @@ -175,24 +175,24 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'service_subnet', 'operating_system', - 'pull_secret', - 'wait_for_worker_update', - 'retry_patch_version', - 'worker_count', - 'tags', 'crn_token', + 'default_worker_pool_labels', + 'zones', + 'pull_secret', 'resource_group_id', - 'location', - 'disable_public_service_endpoint', - 'service_subnet', 'kube_version', - 'host_labels', 'patch_version', + 'tags', + 'host_labels', + 'name', + 'location', + 'wait_for_worker_update', + 'disable_public_service_endpoint', 'enable_config_admin', - 'default_worker_pool_labels', - 'zones', + 'retry_patch_version', + 'worker_count', 'pod_subnet', ] @@ -202,8 +202,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group_id', + 'name', ] TL_CONFLICTS_MAP = { @@ -213,64 +213,64 @@ 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_subnet=dict( required=False, type='str'), operating_system=dict( required=False, type='str'), - pull_secret=dict( + crn_token=dict( required=False, type='str'), - wait_for_worker_update=dict( - required=False, - type='bool'), - retry_patch_version=dict( - required=False, - type='int'), - worker_count=dict( + default_worker_pool_labels=dict( required=False, - type='int'), - tags=dict( + elements='', + type='dict'), + zones=dict( required=False, elements='', type='list'), - crn_token=dict( + pull_secret=dict( required=False, type='str'), resource_group_id=dict( required=False, type='str'), - location=dict( + kube_version=dict( required=False, type='str'), - disable_public_service_endpoint=dict( - required=False, - type='bool'), - service_subnet=dict( + patch_version=dict( required=False, type='str'), - kube_version=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), host_labels=dict( required=False, elements='', type='list'), - patch_version=dict( + name=dict( + required=False, + type='str'), + location=dict( required=False, type='str'), + wait_for_worker_update=dict( + required=False, + type='bool'), + disable_public_service_endpoint=dict( + required=False, + type='bool'), enable_config_admin=dict( required=False, type='bool'), - default_worker_pool_labels=dict( + retry_patch_version=dict( required=False, - elements='', - type='dict'), - zones=dict( + type='int'), + worker_count=dict( required=False, - elements='', - type='list'), + type='int'), pod_subnet=dict( required=False, type='str'), @@ -339,7 +339,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -348,7 +348,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_cluster_info.py b/plugins/modules/ibm_satellite_cluster_info.py index bda7684e1..3b33b3247 100644 --- a/plugins/modules/ibm_satellite_cluster_info.py +++ b/plugins/modules/ibm_satellite_cluster_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - Name or id of the cluster - required: True - type: str resource_group_id: description: - ID of the resource group. required: False type: str + name: + description: + - Name or id of the cluster + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group_id', + 'name', ] @@ -81,12 +81,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_id=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool.py b/plugins/modules/ibm_satellite_cluster_worker_pool.py index f42d27bbe..d9087fc59 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool.py @@ -18,25 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - cluster: - description: - - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - required: True - type: str - flavor: - description: - - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node - required: False - type: str - isolation: - description: - - None - required: False - type: str operating_system: description: - Operating system of the worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. @@ -58,16 +43,36 @@ - (Required for new resource) The name for the worker pool required: True type: str - disk_encryption: + cluster: description: - - Disk encryption for worker node + - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + required: True + type: str + isolation: + description: + - None required: False - type: bool + type: str entitlement: description: - None required: False type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + flavor: + description: + - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node + required: False + type: str + disk_encryption: + description: + - Disk encryption for worker node + required: False + type: bool worker_pool_labels: description: - Labels on all the workers in the worker pool @@ -80,11 +85,6 @@ required: False type: list elements: str - resource_group_id: - description: - - ID of the resource group. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -131,24 +131,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('name', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', - 'flavor', - 'isolation', 'operating_system', 'worker_count', 'zones', 'name', - 'disk_encryption', + 'cluster', + 'isolation', 'entitlement', + 'resource_group_id', + 'flavor', + 'disk_encryption', 'worker_pool_labels', 'host_labels', - 'resource_group_id', ] # Params for Data source @@ -159,8 +159,8 @@ TL_ALL_PARAMETERS_DS = [ 'resource_group_id', - 'region', 'name', + 'region', 'cluster', ] @@ -171,15 +171,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( - cluster=dict( - required=False, - type='str'), - flavor=dict( - required=False, - type='str'), - isolation=dict( - required=False, - type='str'), operating_system=dict( required=False, type='str'), @@ -193,12 +184,24 @@ name=dict( required=False, type='str'), - disk_encryption=dict( + cluster=dict( required=False, - type='bool'), + type='str'), + isolation=dict( + required=False, + type='str'), entitlement=dict( required=False, type='str'), + resource_group_id=dict( + required=False, + type='str'), + flavor=dict( + required=False, + type='str'), + disk_encryption=dict( + required=False, + type='bool'), worker_pool_labels=dict( required=False, elements='', @@ -207,9 +210,6 @@ required=False, elements='', type='list'), - resource_group_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -284,7 +284,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool_info.py b/plugins/modules/ibm_satellite_cluster_worker_pool_info.py index 44021f058..7b2391dde 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -26,16 +26,16 @@ - ID of the resource group required: False type: str - region: - description: - - Name of the region - required: False - type: str name: description: - worker pool name required: True type: str + region: + description: + - Name of the region + required: False + type: str cluster: description: - Cluster name @@ -81,8 +81,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'region', 'name', + 'region', 'cluster', ] @@ -97,12 +97,12 @@ resource_group_id=dict( required=False, type='str'), - region=dict( - required=False, - type='str'), name=dict( required=True, type='str'), + region=dict( + required=False, + type='str'), cluster=dict( required=True, type='str'), @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py index 339697f70..e53af209b 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster_worker_pool_zone_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool_zone_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool_zone_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py index 3a1acea61..3b01e2a23 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster_worker_pool_zone_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool_zone_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_endpoint.py b/plugins/modules/ibm_satellite_endpoint.py index 8dc8acf12..68d5c03eb 100644 --- a/plugins/modules/ibm_satellite_endpoint.py +++ b/plugins/modules/ibm_satellite_endpoint.py @@ -18,21 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_endpoint' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - sni: + connection_type: description: - - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. - required: False + - (Required for new resource) The type of the endpoint. + required: True type: str - client_mutual_auth: + server_host: description: - - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. - required: False - type: bool - default: False + - (Required for new resource) The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' , which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and 'www.example.com'. + required: True + type: str server_protocol: description: - The protocol in the server application side. This parameter will change to default value if it is omitted even when using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http', server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'. @@ -48,54 +47,55 @@ - The service or person who created the endpoint. Must be 1000 characters or fewer. required: False type: str - location: - description: - - (Required for new resource) The Location ID. - required: True - type: str server_port: description: - (Required for new resource) The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such as 0 is good for 80 (http) and 443 (https). required: True type: int - certs: + sni: description: - - The certs. + - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. required: False - type: list - elements: dict - client_protocol: - description: - - (Required for new resource) The protocol in the client application side. - required: True type: str - server_mutual_auth: - description: - - Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. - required: False - type: bool - default: False reject_unauth: description: - Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the fields certs.server_cert. required: False type: bool default: False + certs: + description: + - The certs. + required: False + type: list + elements: dict display_name: description: - (Required for new resource) The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer. required: True type: str - server_host: + client_mutual_auth: description: - - (Required for new resource) The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' , which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and 'www.example.com'. + - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. + required: False + type: bool + default: False + location: + description: + - (Required for new resource) The Location ID. required: True type: str - connection_type: + client_protocol: description: - - (Required for new resource) The type of the endpoint. + - (Required for new resource) The protocol in the client application side. required: True type: str + server_mutual_auth: + description: + - Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -142,41 +142,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location', 'str'), + ('connection_type', 'str'), + ('server_host', 'str'), ('server_port', 'int'), - ('client_protocol', 'str'), ('display_name', 'str'), - ('server_host', 'str'), - ('connection_type', 'str'), + ('location', 'str'), + ('client_protocol', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'sni', - 'client_mutual_auth', + 'connection_type', + 'server_host', 'server_protocol', 'timeout', 'created_by', - 'location', 'server_port', + 'sni', + 'reject_unauth', 'certs', + 'display_name', + 'client_mutual_auth', + 'location', 'client_protocol', 'server_mutual_auth', - 'reject_unauth', - 'display_name', - 'server_host', - 'connection_type', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('location', 'str'), ('endpoint_id', 'str'), + ('location', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'location', 'endpoint_id', + 'location', ] TL_CONFLICTS_MAP = { @@ -186,12 +186,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( - sni=dict( + connection_type=dict( required=False, type='str'), - client_mutual_auth=dict( + server_host=dict( required=False, - type='bool'), + type='str'), server_protocol=dict( required=False, type='str'), @@ -201,34 +201,34 @@ created_by=dict( required=False, type='str'), - location=dict( - required=False, - type='str'), server_port=dict( required=False, type='int'), + sni=dict( + required=False, + type='str'), + reject_unauth=dict( + required=False, + type='bool'), certs=dict( required=False, elements='', type='list'), - client_protocol=dict( + display_name=dict( required=False, type='str'), - server_mutual_auth=dict( - required=False, - type='bool'), - reject_unauth=dict( + client_mutual_auth=dict( required=False, type='bool'), - display_name=dict( + location=dict( required=False, type='str'), - server_host=dict( + client_protocol=dict( required=False, type='str'), - connection_type=dict( + server_mutual_auth=dict( required=False, - type='str'), + type='bool'), id=dict( required=False, type='str'), @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_satellite_endpoint', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -303,7 +303,7 @@ def run_module(): resource_type='ibm_satellite_endpoint', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_endpoint_info.py b/plugins/modules/ibm_satellite_endpoint_info.py index 0da82c874..a2affc014 100644 --- a/plugins/modules/ibm_satellite_endpoint_info.py +++ b/plugins/modules/ibm_satellite_endpoint_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_endpoint' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - location: + endpoint_id: description: - - The Location ID. + - The Endpoint ID. required: True type: str - endpoint_id: + location: description: - - The Endpoint ID. + - The Location ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location', 'str'), ('endpoint_id', 'str'), + ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', 'endpoint_id', + 'location', ] @@ -82,10 +82,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( - location=dict( + endpoint_id=dict( required=True, type='str'), - endpoint_id=dict( + location=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_satellite_endpoint', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_host.py b/plugins/modules/ibm_satellite_host.py index 6c1d60a46..28b76b79c 100644 --- a/plugins/modules/ibm_satellite_host.py +++ b/plugins/modules/ibm_satellite_host.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_host' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,41 +27,41 @@ - The zone within the cluster to assign the host to required: False type: str - host_provider: - description: - - Host Provider - required: False - type: str wait_till: description: - Wait until location is normal required: False type: str + location: + description: + - (Required for new resource) The name or ID of the Satellite location + required: True + type: str cluster: description: - The name or ID of a Satellite location or cluster to assign the host to required: False type: str - host_id: - description: - - (Required for new resource) The specific host ID to assign to a Satellite location or cluster - required: True - type: str labels: description: - List of labels for the host required: False type: list elements: str + host_id: + description: + - (Required for new resource) The specific host ID to assign to a Satellite location or cluster + required: True + type: str worker_pool: description: - The name or ID of the worker pool within the cluster to assign the host to required: False type: str - location: + host_provider: description: - - (Required for new resource) The name or ID of the Satellite location - required: True + - Host Provider + required: False type: str id: description: @@ -109,20 +109,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('host_id', 'str'), ('location', 'str'), + ('host_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'zone', - 'host_provider', 'wait_till', + 'location', 'cluster', - 'host_id', 'labels', + 'host_id', 'worker_pool', - 'location', + 'host_provider', ] # Params for Data source @@ -142,26 +142,26 @@ zone=dict( required=False, type='str'), - host_provider=dict( - required=False, - type='str'), wait_till=dict( required=False, type='str'), - cluster=dict( + location=dict( required=False, type='str'), - host_id=dict( + cluster=dict( required=False, type='str'), labels=dict( required=False, elements='', type='list'), + host_id=dict( + required=False, + type='str'), worker_pool=dict( required=False, type='str'), - location=dict( + host_provider=dict( required=False, type='str'), id=dict( @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_satellite_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_link.py b/plugins/modules/ibm_satellite_link.py index 43c93608f..5726394af 100644 --- a/plugins/modules/ibm_satellite_link.py +++ b/plugins/modules/ibm_satellite_link.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_link' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,16 +27,16 @@ - (Required for new resource) CRN of the Location. required: True type: str - location: - description: - - (Required for new resource) Location ID. - required: True - type: str ws_endpoint: description: - The ws endpoint of the location. required: False type: str + location: + description: + - (Required for new resource) Location ID. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,8 +90,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'crn', - 'location', 'ws_endpoint', + 'location', ] # Params for Data source @@ -113,10 +113,10 @@ crn=dict( required=False, type='str'), - location=dict( + ws_endpoint=dict( required=False, type='str'), - ws_endpoint=dict( + location=dict( required=False, type='str'), id=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_satellite_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_satellite_link', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_link_info.py b/plugins/modules/ibm_satellite_link_info.py index f533cfca5..e8231147a 100644 --- a/plugins/modules/ibm_satellite_link_info.py +++ b/plugins/modules/ibm_satellite_link_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_link' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_satellite_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_location.py b/plugins/modules/ibm_satellite_location.py index b8f7ecf87..8788954b3 100644 --- a/plugins/modules/ibm_satellite_location.py +++ b/plugins/modules/ibm_satellite_location.py @@ -18,49 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_location' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - managed_from: + description: description: - - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed - required: True + - A description of the new Satellite location + required: False type: str - cos_config: + zones: description: - - COSBucket - IBM Cloud Object Storage bucket configuration details + - The names of at least three high availability zones to use for the location required: False type: list - elements: dict - resource_group_id: - description: - - ID of the resource group. - required: False - type: str + elements: str tags: description: - List of tags associated with resource instance required: False type: list elements: str - location: + managed_from: description: - - (Required for new resource) A unique name for the new Satellite location + - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed required: True type: str - cos_credentials: - description: - - COSAuthorization - IBM Cloud Object Storage authorization keys - required: False - type: list - elements: dict - zones: - description: - - The names of at least three high availability zones to use for the location - required: False - type: list - elements: str coreos_enabled: description: - Enable Red Hat CoreOS features within the Satellite location @@ -71,9 +54,26 @@ - The account ID for IBM Log Analysis with LogDNA log forwarding required: False type: str - description: + cos_config: description: - - A description of the new Satellite location + - COSBucket - IBM Cloud Object Storage bucket configuration details + required: False + type: list + elements: dict + location: + description: + - (Required for new resource) A unique name for the new Satellite location + required: True + type: str + cos_credentials: + description: + - COSAuthorization - IBM Cloud Object Storage authorization keys + required: False + type: list + elements: dict + resource_group_id: + description: + - ID of the resource group. required: False type: str id: @@ -128,16 +128,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'description', + 'zones', + 'tags', 'managed_from', + 'coreos_enabled', + 'logging_account_id', 'cos_config', - 'resource_group_id', - 'tags', 'location', 'cos_credentials', - 'zones', - 'coreos_enabled', - 'logging_account_id', - 'description', + 'resource_group_id', ] # Params for Data source @@ -156,38 +156,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( - managed_from=dict( + description=dict( required=False, type='str'), - cos_config=dict( + zones=dict( required=False, elements='', type='list'), - resource_group_id=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - location=dict( + managed_from=dict( required=False, type='str'), - cos_credentials=dict( - required=False, - elements='', - type='list'), - zones=dict( - required=False, - elements='', - type='list'), coreos_enabled=dict( required=False, type='bool'), logging_account_id=dict( required=False, type='str'), - description=dict( + cos_config=dict( + required=False, + elements='', + type='list'), + location=dict( + required=False, + type='str'), + cos_credentials=dict( + required=False, + elements='', + type='list'), + resource_group_id=dict( required=False, type='str'), id=dict( @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_location_info.py b/plugins/modules/ibm_satellite_location_info.py index a65b0c907..d185ce1b4 100644 --- a/plugins/modules/ibm_satellite_location_info.py +++ b/plugins/modules/ibm_satellite_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_location_nlb_dns.py b/plugins/modules/ibm_satellite_location_nlb_dns.py index 59af35c7c..02ce7bc02 100644 --- a/plugins/modules/ibm_satellite_location_nlb_dns.py +++ b/plugins/modules/ibm_satellite_location_nlb_dns.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_location_nlb_dns' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_satellite_location_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_satellite_location_nlb_dns', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_location_nlb_dns_info.py b/plugins/modules/ibm_satellite_location_nlb_dns_info.py index 19936a2af..39b581570 100644 --- a/plugins/modules/ibm_satellite_location_nlb_dns_info.py +++ b/plugins/modules/ibm_satellite_location_nlb_dns_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_location_nlb_dns' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_satellite_location_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_location_info.py b/plugins/modules/ibm_scc_account_location_info.py index eb8307c91..f2c7de7fa 100644 --- a/plugins/modules/ibm_scc_account_location_info.py +++ b/plugins/modules/ibm_scc_account_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_account_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_location_settings_info.py b/plugins/modules/ibm_scc_account_location_settings_info.py index 82e713dfe..3fc6d7511 100644 --- a/plugins/modules/ibm_scc_account_location_settings_info.py +++ b/plugins/modules/ibm_scc_account_location_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_location_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_account_location_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_locations_info.py b/plugins/modules/ibm_scc_account_locations_info.py index 82545a681..57fac1984 100644 --- a/plugins/modules/ibm_scc_account_locations_info.py +++ b/plugins/modules/ibm_scc_account_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_account_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_notification_settings_info.py b/plugins/modules/ibm_scc_account_notification_settings_info.py index 22ba29a7f..5afaae3bb 100644 --- a/plugins/modules/ibm_scc_account_notification_settings_info.py +++ b/plugins/modules/ibm_scc_account_notification_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_notification_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_account_notification_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_settings.py b/plugins/modules/ibm_scc_account_settings.py index 758dc6306..b2f837c19 100644 --- a/plugins/modules/ibm_scc_account_settings.py +++ b/plugins/modules/ibm_scc_account_settings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_account_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_scc_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_collector.py b/plugins/modules/ibm_scc_posture_collector.py index e0e396ff9..75165da97 100644 --- a/plugins/modules/ibm_scc_posture_collector.py +++ b/plugins/modules/ibm_scc_posture_collector.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_collector' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_scc_posture_collector', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_scc_posture_collector', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_scc_posture_collector_info.py b/plugins/modules/ibm_scc_posture_collector_info.py index be23ccc97..21acd7a51 100644 --- a/plugins/modules/ibm_scc_posture_collector_info.py +++ b/plugins/modules/ibm_scc_posture_collector_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_collector' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_collector', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_collectors_info.py b/plugins/modules/ibm_scc_posture_collectors_info.py index 360f513e7..272b220f0 100644 --- a/plugins/modules/ibm_scc_posture_collectors_info.py +++ b/plugins/modules/ibm_scc_posture_collectors_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_collectors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_collectors', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_credential.py b/plugins/modules/ibm_scc_posture_credential.py index cc66b604c..f5956e349 100644 --- a/plugins/modules/ibm_scc_posture_credential.py +++ b/plugins/modules/ibm_scc_posture_credential.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_credential' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -38,12 +38,6 @@ required: True type: list elements: dict - group: - description: - - (Required for new resource) Credential group details. - required: True - type: list - elements: dict purpose: description: - (Required for new resource) Purpose for which the credential is created. @@ -108,7 +102,6 @@ ('name', 'str'), ('description', 'str'), ('display_fields', 'list'), - ('group', 'list'), ('purpose', 'str'), ('enabled', 'bool'), ('type', 'str'), @@ -119,7 +112,6 @@ 'name', 'description', 'display_fields', - 'group', 'purpose', 'enabled', 'type', @@ -151,10 +143,6 @@ required=False, elements='', type='list'), - group=dict( - required=False, - elements='', - type='list'), purpose=dict( required=False, type='str'), @@ -229,7 +217,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -238,7 +226,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_scc_posture_credential_info.py b/plugins/modules/ibm_scc_posture_credential_info.py index 80f24f727..646be3f95 100644 --- a/plugins/modules/ibm_scc_posture_credential_info.py +++ b/plugins/modules/ibm_scc_posture_credential_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_credential' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_credentials_info.py b/plugins/modules/ibm_scc_posture_credentials_info.py index cf91373ee..bb69d5b7d 100644 --- a/plugins/modules/ibm_scc_posture_credentials_info.py +++ b/plugins/modules/ibm_scc_posture_credentials_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_credentials' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_credentials', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_group_profile_info.py b/plugins/modules/ibm_scc_posture_group_profile_info.py index 304b14437..95dcf22ae 100644 --- a/plugins/modules/ibm_scc_posture_group_profile_info.py +++ b/plugins/modules/ibm_scc_posture_group_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_group_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_group_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_latest_scans_info.py b/plugins/modules/ibm_scc_posture_latest_scans_info.py index 6b97b4164..017501628 100644 --- a/plugins/modules/ibm_scc_posture_latest_scans_info.py +++ b/plugins/modules/ibm_scc_posture_latest_scans_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_latest_scans' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_scc_posture_latest_scans', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_profile_import.py b/plugins/modules/ibm_scc_posture_profile_import.py index c3672a770..2916eee68 100644 --- a/plugins/modules/ibm_scc_posture_profile_import.py +++ b/plugins/modules/ibm_scc_posture_profile_import.py @@ -18,20 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_profile_import' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - The name of the profile. - required: False - type: str file: description: - (Required for new resource) File to import required: True type: str + name: + description: + - The name of the profile. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,8 +83,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'file', + 'name', ] # Params for Data source @@ -101,10 +101,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( + file=dict( required=False, type='str'), - file=dict( + name=dict( required=False, type='str'), id=dict( @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_scc_posture_profile_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_profile_info.py b/plugins/modules/ibm_scc_posture_profile_info.py index f429d2c4e..2927aab0f 100644 --- a/plugins/modules/ibm_scc_posture_profile_info.py +++ b/plugins/modules/ibm_scc_posture_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_scc_posture_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_profiles_info.py b/plugins/modules/ibm_scc_posture_profiles_info.py index fadc7a19d..99aeeff6b 100644 --- a/plugins/modules/ibm_scc_posture_profiles_info.py +++ b/plugins/modules/ibm_scc_posture_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scan_initiate_validation.py b/plugins/modules/ibm_scc_posture_scan_initiate_validation.py index 01c6b9706..8393bbd38 100644 --- a/plugins/modules/ibm_scc_posture_scan_initiate_validation.py +++ b/plugins/modules/ibm_scc_posture_scan_initiate_validation.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_scan_initiate_validation' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -32,14 +32,19 @@ - (Required for new resource) The unique ID of the profile. required: True type: str - group_profile_id: + name: description: - - The ID of the profile group. + - The name of a scheduled scan. required: False type: str - name: + frequency: description: - - The name of a scheduled scan. + - The frequency at which a scan is run specified in milliseconds. + required: False + type: int + group_profile_id: + description: + - The ID of the profile group. required: False type: str description: @@ -47,11 +52,6 @@ - The description of a scheduled scan. required: False type: str - frequency: - description: - - The frequency at which a scan is run specified in milliseconds. - required: False - type: int no_of_occurrences: description: - The number of times that a scan should be run. @@ -116,10 +116,10 @@ TL_ALL_PARAMETERS = [ 'scope_id', 'profile_id', - 'group_profile_id', 'name', - 'description', 'frequency', + 'group_profile_id', + 'description', 'no_of_occurrences', 'end_time', ] @@ -144,18 +144,18 @@ profile_id=dict( required=False, type='str'), - group_profile_id=dict( + name=dict( required=False, type='str'), - name=dict( + frequency=dict( + required=False, + type='int'), + group_profile_id=dict( required=False, type='str'), description=dict( required=False, type='str'), - frequency=dict( - required=False, - type='int'), no_of_occurrences=dict( required=False, type='int'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_initiate_validation', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scan_summaries_info.py b/plugins/modules/ibm_scc_posture_scan_summaries_info.py index 7dc851a60..aa936408e 100644 --- a/plugins/modules/ibm_scc_posture_scan_summaries_info.py +++ b/plugins/modules/ibm_scc_posture_scan_summaries_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scan_summaries' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_summaries', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scan_summary_info.py b/plugins/modules/ibm_scc_posture_scan_summary_info.py index 2342538d0..9940c3567 100644 --- a/plugins/modules/ibm_scc_posture_scan_summary_info.py +++ b/plugins/modules/ibm_scc_posture_scan_summary_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scan_summary' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_summary', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scope.py b/plugins/modules/ibm_scc_posture_scope.py index 02c9aebcf..5d5f2e89b 100644 --- a/plugins/modules/ibm_scc_posture_scope.py +++ b/plugins/modules/ibm_scc_posture_scope.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_scope' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - credential_id: - description: - - (Required for new resource) The unique identifier of the credential. - required: True - type: str - credential_type: - description: - - (Required for new resource) The environment that the scope is targeted to. - required: True - type: str name: description: - (Required for new resource) A unique name for your scope. @@ -48,6 +38,16 @@ required: True type: list elements: str + credential_id: + description: + - (Required for new resource) The unique identifier of the credential. + required: True + type: str + credential_type: + description: + - (Required for new resource) The environment that the scope is targeted to. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,20 +94,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('credential_id', 'str'), - ('credential_type', 'str'), ('name', 'str'), ('description', 'str'), ('collector_ids', 'list'), + ('credential_id', 'str'), + ('credential_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'credential_id', - 'credential_type', 'name', 'description', 'collector_ids', + 'credential_id', + 'credential_type', ] # Params for Data source @@ -126,12 +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( - credential_id=dict( - required=False, - type='str'), - credential_type=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -142,6 +136,12 @@ required=False, elements='', type='list'), + credential_id=dict( + required=False, + type='str'), + credential_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_scc_posture_scope', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_scc_posture_scope', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_scc_posture_scope_correlation_info.py b/plugins/modules/ibm_scc_posture_scope_correlation_info.py index ee4524768..acc44a6c4 100644 --- a/plugins/modules/ibm_scc_posture_scope_correlation_info.py +++ b/plugins/modules/ibm_scc_posture_scope_correlation_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scope_correlation' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_scope_correlation', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scope_info.py b/plugins/modules/ibm_scc_posture_scope_info.py index a9460e8e1..92149f243 100644 --- a/plugins/modules/ibm_scc_posture_scope_info.py +++ b/plugins/modules/ibm_scc_posture_scope_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scope' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_scope', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scopes_info.py b/plugins/modules/ibm_scc_posture_scopes_info.py index bdb6ac8bb..a2a470bf8 100644 --- a/plugins/modules/ibm_scc_posture_scopes_info.py +++ b/plugins/modules/ibm_scc_posture_scopes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scopes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_rule.py b/plugins/modules/ibm_scc_rule.py index d84331c8b..8d50e4ad2 100644 --- a/plugins/modules/ibm_scc_rule.py +++ b/plugins/modules/ibm_scc_rule.py @@ -18,27 +18,39 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + account_id: + description: + - (Required for new resource) Your IBM Cloud account ID. + required: True + type: str labels: description: - Labels that you can use to group and search for similar rules, such as those that help you to meet a specific organization guideline. required: False type: list elements: str - target: + enforcement_actions: description: - - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. + - The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. + required: False + type: list + elements: dict + required_config: + description: + - (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. required: True type: list elements: dict - account_id: + target: description: - - (Required for new resource) Your IBM Cloud account ID. + - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. required: True - type: str + type: list + elements: dict name: description: - (Required for new resource) A human-readable alias to assign to your rule. @@ -49,18 +61,6 @@ - (Required for new resource) An extended description of your rule. required: True type: str - enforcement_actions: - description: - - The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. - required: False - type: list - elements: dict - required_config: - description: - - (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,22 +107,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('target', 'list'), ('account_id', 'str'), + ('required_config', 'list'), + ('target', 'list'), ('name', 'str'), ('description', 'str'), - ('required_config', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'account_id', 'labels', + 'enforcement_actions', + 'required_config', 'target', - 'account_id', 'name', 'description', - 'enforcement_actions', - 'required_config', ] # Params for Data source @@ -139,31 +139,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( + account_id=dict( + required=False, + type='str'), labels=dict( required=False, elements='', type='list'), - target=dict( + enforcement_actions=dict( required=False, elements='', type='list'), - account_id=dict( + required_config=dict( required=False, - type='str'), + elements='', + type='list'), + target=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), description=dict( required=False, type='str'), - enforcement_actions=dict( - required=False, - elements='', - type='list'), - required_config=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_scc_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_rule_attachment.py b/plugins/modules/ibm_scc_rule_attachment.py index b8219a194..5a7fcb67a 100644 --- a/plugins/modules/ibm_scc_rule_attachment.py +++ b/plugins/modules/ibm_scc_rule_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_rule_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_scc_rule_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_template.py b/plugins/modules/ibm_scc_template.py index 59563e0a3..969e8823a 100644 --- a/plugins/modules/ibm_scc_template.py +++ b/plugins/modules/ibm_scc_template.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_template' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_scc_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_template_attachment.py b/plugins/modules/ibm_scc_template_attachment.py index d90315b24..ebb6851a5 100644 --- a/plugins/modules/ibm_scc_template_attachment.py +++ b/plugins/modules/ibm_scc_template_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_template_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_scc_template_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_action.py b/plugins/modules/ibm_schematics_action.py index 9126b2772..2c14fc59b 100644 --- a/plugins/modules/ibm_schematics_action.py +++ b/plugins/modules/ibm_schematics_action.py @@ -18,46 +18,51 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - resource_group: - description: - - Resource-group name for an action. By default, action is created in default resource group. - required: False - type: str source: description: - Source of templates, playbooks, or controls. required: False type: list elements: dict - credentials: + name: description: - - credentials of the Action. + - (Required for new resource) The unique name of your action. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. **Example** you can use the name to stop action. + required: True + type: str + action_inputs: + description: + - Input variables for the Action. required: False type: list elements: dict - name: + targets_ini: description: - - (Required for new resource) The unique name of your action. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. **Example** you can use the name to stop action. - required: True + - Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost] 172.22.192.6 [dbhost] 172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps). + required: False type: str command_parameter: description: - Schematics job command parameter (playbook-name). required: False type: str - bastion: + source_readme_url: description: - - Describes a bastion resource. + - URL of the `README` file, for the source URL. + required: False + type: str + user_state: + description: + - User defined status of the Schematics object. required: False type: list elements: dict - action_outputs: + bastion: description: - - Output variables for the Action. + - Describes a bastion resource. required: False type: list elements: dict @@ -67,71 +72,66 @@ required: False type: list elements: dict - location: + source_type: description: - - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + - Type of source for the Template. required: False type: str - source_readme_url: + location: description: - - URL of the `README` file, for the source URL. + - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. required: False type: str - bastion_credential: + credentials: description: - - User editable variable data & system generated reference to value. + - credentials of the Action. required: False type: list elements: dict - description: + x_github_token: description: - - Action description. + - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. required: False type: str - sys_lock: + description: description: - - System lock status. + - Action description. required: False - type: list - elements: dict + type: str tags: description: - Action tags. required: False type: list elements: str - source_type: - description: - - Type of source for the Template. - required: False - type: str inventory: description: - Target inventory record ID, used by the action or ansible playbook. required: False type: str - targets_ini: + sys_lock: description: - - Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost] 172.22.192.6 [dbhost] 172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps). + - System lock status. + required: False + type: list + elements: dict + resource_group: + description: + - Resource-group name for an action. By default, action is created in default resource group. required: False type: str - action_inputs: + action_outputs: description: - - Input variables for the Action. + - Output variables for the Action. required: False type: list elements: dict - user_state: + bastion_credential: description: - - User defined status of the Schematics object. + - User editable variable data & system generated reference to value. required: False type: list elements: dict - x_github_token: - description: - - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -183,26 +183,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'source', - 'credentials', 'name', + 'action_inputs', + 'targets_ini', 'command_parameter', + 'source_readme_url', + 'user_state', 'bastion', - 'action_outputs', 'settings', + 'source_type', 'location', - 'source_readme_url', - 'bastion_credential', + 'credentials', + 'x_github_token', 'description', - 'sys_lock', 'tags', - 'source_type', 'inventory', - 'targets_ini', - 'action_inputs', - 'user_state', - 'x_github_token', + 'sys_lock', + 'resource_group', + 'action_outputs', + 'bastion_credential', ] # Params for Data source @@ -222,28 +222,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( - resource_group=dict( - required=False, - type='str'), source=dict( required=False, elements='', type='list'), - credentials=dict( + name=dict( + required=False, + type='str'), + action_inputs=dict( required=False, elements='', type='list'), - name=dict( + targets_ini=dict( required=False, type='str'), command_parameter=dict( required=False, type='str'), - bastion=dict( + source_readme_url=dict( + required=False, + type='str'), + user_state=dict( required=False, elements='', type='list'), - action_outputs=dict( + bastion=dict( required=False, elements='', type='list'), @@ -251,47 +254,44 @@ required=False, elements='', type='list'), - location=dict( + source_type=dict( required=False, type='str'), - source_readme_url=dict( + location=dict( required=False, type='str'), - bastion_credential=dict( + credentials=dict( required=False, elements='', type='list'), - description=dict( + x_github_token=dict( required=False, type='str'), - sys_lock=dict( + description=dict( required=False, - elements='', - type='list'), + type='str'), tags=dict( required=False, elements='', type='list'), - source_type=dict( - required=False, - type='str'), inventory=dict( required=False, type='str'), - targets_ini=dict( + sys_lock=dict( + required=False, + elements='', + type='list'), + resource_group=dict( required=False, type='str'), - action_inputs=dict( + action_outputs=dict( required=False, elements='', type='list'), - user_state=dict( + bastion_credential=dict( required=False, elements='', type='list'), - x_github_token=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -357,7 +357,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -366,7 +366,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_action_info.py b/plugins/modules/ibm_schematics_action_info.py index dccd4b3e7..2a1a9e64b 100644 --- a/plugins/modules/ibm_schematics_action_info.py +++ b/plugins/modules/ibm_schematics_action_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_inventory.py b/plugins/modules/ibm_schematics_inventory.py index 0724be784..ea9e1d1fd 100644 --- a/plugins/modules/ibm_schematics_inventory.py +++ b/plugins/modules/ibm_schematics_inventory.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_inventory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_schematics_inventory', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_schematics_inventory', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_inventory_info.py b/plugins/modules/ibm_schematics_inventory_info.py index a575b7e4d..80598f694 100644 --- a/plugins/modules/ibm_schematics_inventory_info.py +++ b/plugins/modules/ibm_schematics_inventory_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_inventory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_inventory', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_job.py b/plugins/modules/ibm_schematics_job.py index 5d3060e61..752328016 100644 --- a/plugins/modules/ibm_schematics_job.py +++ b/plugins/modules/ibm_schematics_job.py @@ -18,36 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_job' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - job_inputs: + location: description: - - Job inputs used by Action or Workspace. + - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + required: False + type: str + command_options: + description: + - Command line options for the command. required: False type: list - elements: dict + elements: str job_env_settings: description: - Environment variables used by the Job while performing Action or Workspace. required: False type: list elements: dict - location: - description: - - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. - required: False - type: str - bastion: + tags: description: - - Describes a bastion resource. + - User defined tags, while running the job. required: False type: list - elements: dict - command_object_id: + elements: str + command_object: description: - - (Required for new resource) Job command object id (workspace-id, action-id). + - (Required for new resource) Name of the Schematics automation resource. + required: True + type: str + command_name: + description: + - (Required for new resource) Schematics job command name. required: True type: str command_parameter: @@ -55,15 +60,9 @@ - Schematics job command parameter (playbook-name). required: False type: str - command_options: - description: - - Command line options for the command. - required: False - type: list - elements: str - data: + bastion: description: - - Job data. + - Describes a bastion resource. required: False type: list elements: dict @@ -73,22 +72,23 @@ required: False type: list elements: dict - tags: - description: - - User defined tags, while running the job. - required: False - type: list - elements: str - command_object: + command_object_id: description: - - (Required for new resource) Name of the Schematics automation resource. + - (Required for new resource) Job command object id (workspace-id, action-id). required: True type: str - command_name: + job_inputs: description: - - (Required for new resource) Schematics job command name. - required: True - type: str + - Job inputs used by Action or Workspace. + required: False + type: list + elements: dict + data: + description: + - Job data. + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,25 +135,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('command_object_id', 'str'), ('command_object', 'str'), ('command_name', 'str'), + ('command_object_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'job_inputs', - 'job_env_settings', 'location', - 'bastion', - 'command_object_id', - 'command_parameter', 'command_options', - 'data', - 'log_summary', + 'job_env_settings', 'tags', 'command_object', 'command_name', + 'command_parameter', + 'bastion', + 'log_summary', + 'command_object_id', + 'job_inputs', + 'data', ] # Params for Data source @@ -162,8 +162,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'job_id', 'location', + 'job_id', ] TL_CONFLICTS_MAP = { @@ -173,7 +173,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( - job_inputs=dict( + location=dict( + required=False, + type='str'), + command_options=dict( required=False, elements='', type='list'), @@ -181,41 +184,38 @@ required=False, elements='', type='list'), - location=dict( - required=False, - type='str'), - bastion=dict( + tags=dict( required=False, elements='', type='list'), - command_object_id=dict( + command_object=dict( + required=False, + type='str'), + command_name=dict( required=False, type='str'), command_parameter=dict( required=False, type='str'), - command_options=dict( + bastion=dict( required=False, elements='', type='list'), - data=dict( + log_summary=dict( required=False, elements='', type='list'), - log_summary=dict( + command_object_id=dict( + required=False, + type='str'), + job_inputs=dict( required=False, elements='', type='list'), - tags=dict( + data=dict( required=False, elements='', type='list'), - command_object=dict( - required=False, - type='str'), - command_name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -281,7 +281,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -290,7 +290,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_job_info.py b/plugins/modules/ibm_schematics_job_info.py index 9e7d25990..0b0679deb 100644 --- a/plugins/modules/ibm_schematics_job_info.py +++ b/plugins/modules/ibm_schematics_job_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_job' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - job_id: - description: - - Job Id. Use `GET /v2/jobs` API to look up the Job Ids in your IBM Cloud account. - required: True - type: str location: description: - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. required: False type: str + job_id: + description: + - Job Id. Use `GET /v2/jobs` API to look up the Job Ids in your IBM Cloud account. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'job_id', 'location', + 'job_id', ] @@ -81,12 +81,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( - job_id=dict( - required=True, - type='str'), location=dict( required=False, type='str'), + job_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 53d42495a..413441756 100644 --- a/plugins/modules/ibm_schematics_output_info.py +++ b/plugins/modules/ibm_schematics_output_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_output' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - template_id: + workspace_id: description: - - The id of template + - The ID of the workspace for which you want to retrieve output values. To find the workspace ID, use the `GET /workspaces` API. required: True type: str - output_json: + location: description: - - The json output in string + - The Region of the workspace. required: False type: str - workspace_id: + template_id: description: - - The ID of the workspace for which you want to retrieve output values. To find the workspace ID, use the `GET /workspaces` API. + - The id of template required: True type: str - location: + output_json: description: - - The Region of the workspace. + - The json output in string required: False type: str iaas_classic_username: @@ -74,16 +74,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('template_id', 'str'), ('workspace_id', 'str'), + ('template_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'template_id', - 'output_json', 'workspace_id', 'location', + 'template_id', + 'output_json', ] @@ -94,16 +94,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( - template_id=dict( + workspace_id=dict( required=True, type='str'), - output_json=dict( + location=dict( required=False, type='str'), - workspace_id=dict( + template_id=dict( required=True, type='str'), - location=dict( + output_json=dict( required=False, type='str'), iaas_classic_username=dict( @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_schematics_output', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_resource_query.py b/plugins/modules/ibm_schematics_resource_query.py index 2fb0630e3..2b192211d 100644 --- a/plugins/modules/ibm_schematics_resource_query.py +++ b/plugins/modules/ibm_schematics_resource_query.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_resource_query' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_schematics_resource_query', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_schematics_resource_query', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_resource_query_info.py b/plugins/modules/ibm_schematics_resource_query_info.py index d6dea352a..357f52fe6 100644 --- a/plugins/modules/ibm_schematics_resource_query_info.py +++ b/plugins/modules/ibm_schematics_resource_query_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_resource_query' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_resource_query', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 56a99c21f..0489cfa84 100644 --- a/plugins/modules/ibm_schematics_state_info.py +++ b/plugins/modules/ibm_schematics_state_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_state' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_schematics_state', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_workspace.py b/plugins/modules/ibm_schematics_workspace.py index 34ad422ce..ec0e0604d 100644 --- a/plugins/modules/ibm_schematics_workspace.py +++ b/plugins/modules/ibm_schematics_workspace.py @@ -18,73 +18,60 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_workspace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - template_ref: - description: - - Workspace template ref. - required: False - type: str - template_git_branch: + template_values_metadata: description: - - The repository branch. + - List of values metadata. required: False - type: str - locked_time: + type: list + elements: dict + template_git_repo_url: description: - - The timestamp when the workspace was locked. + - The repository URL. required: False type: str - resource_group: + frozen_by: description: - - The ID of the resource group where you want to provision the workspace. + - The user ID that froze the workspace. required: False type: str - shared_data: - description: - - Information about the Target used by the templates originating from the IBM Cloud catalog offerings. This information is not relevant for workspace created using your own Terraform template. - required: False - type: list - elements: dict - template_inputs: + catalog_ref: description: - - VariablesRequest -. + - Information about the software template that you chose from the IBM Cloud catalog. This information is returned for IBM Cloud catalog offerings only. required: False type: list elements: dict - template_values_metadata: + location: description: - - List of values metadata. + - The location where you want to create your Schematics workspace and run the Schematics jobs. The location that you enter must match the API endpoint that you use. For example, if you use the Frankfurt API endpoint, you must specify `eu-de` as your location. If you use an API endpoint for a geography and you do not specify a location, Schematics determines the location based on availability. required: False - type: list - elements: dict - frozen: + type: str + template_git_release: description: - - If set to true, the workspace is frozen and changes to the workspace are disabled. + - The repository release. required: False - type: bool - tags: + type: str + template_git_repo_sha_value: description: - - A list of tags that are associated with the workspace. + - The repository SHA value. required: False - type: list - elements: str - template_env_settings: + type: str + locked: description: - - A list of environment variables that you want to apply during the execution of a bash script or Terraform job. This field must be provided as a list of key-value pairs, for example, **TF_LOG=debug**. Each entry will be a map with one entry where `key is the environment variable name and value is value`. You can define environment variables for IBM Cloud catalog offerings that are provisioned by using a bash script. See [example to use special environment variable](https://cloud.ibm.com/docs/schematics?topic=schematics-set-parallelism#parallelism-example) that are supported by Schematics. + - If set to true, the workspace is locked and disabled for changes. required: False - type: list - elements: dict - template_values: + type: bool + resource_group: description: - - A list of variable values that you want to apply during the Helm chart installation. The list must be provided in JSON format, such as `"autoscaling: enabled: true minReplicas: 2"`. The values that you define here override the default Helm chart values. This field is supported only for IBM Cloud catalog offerings that are provisioned by using the Terraform Helm provider. + - The ID of the resource group where you want to provision the workspace. required: False type: str - catalog_ref: + shared_data: description: - - Information about the software template that you chose from the IBM Cloud catalog. This information is returned for IBM Cloud catalog offerings only. + - Information about the Target used by the templates originating from the IBM Cloud catalog offerings. This information is not relevant for workspace created using your own Terraform template. required: False type: list elements: dict @@ -93,32 +80,28 @@ - The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id --template `. required: False type: str - template_type: + locked_time: description: - - (Required for new resource) The Terraform version that you want to use to run your Terraform code. Enter `terraform_v0.12` to use Terraform version 0.12, and `terraform_v0.11` to use Terraform version 0.11. The Terraform config files are run with Terraform version 0.11. This is a required variable. Make sure that your Terraform config files are compatible with the Terraform version that you select. - required: True + - The timestamp when the workspace was locked. + required: False type: str - locked: + template_inputs: description: - - If set to true, the workspace is locked and disabled for changes. + - VariablesRequest -. required: False - type: bool - template_git_repo_sha_value: + type: list + elements: dict + x_github_token: description: - - The repository SHA value. + - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. required: False type: str - applied_shareddata_ids: + template_env_settings: description: - - List of applied shared dataset ID. + - A list of environment variables that you want to apply during the execution of a bash script or Terraform job. This field must be provided as a list of key-value pairs, for example, **TF_LOG=debug**. Each entry will be a map with one entry where `key is the environment variable name and value is value`. You can define environment variables for IBM Cloud catalog offerings that are provisioned by using a bash script. See [example to use special environment variable](https://cloud.ibm.com/docs/schematics?topic=schematics-set-parallelism#parallelism-example) that are supported by Schematics. required: False type: list - elements: str - location: - description: - - The location where you want to create your Schematics workspace and run the Schematics jobs. The location that you enter must match the API endpoint that you use. For example, if you use the Frankfurt API endpoint, you must specify `eu-de` as your location. If you use an API endpoint for a geography and you do not specify a location, Schematics determines the location based on availability. - required: False - type: str + elements: dict template_git_folder: description: - The subfolder in your GitHub or GitLab repository where your Terraform template is stored. @@ -129,9 +112,14 @@ - The user ID that initiated a resource-related action, such as applying or destroying resources, that locked the workspace. required: False type: str - template_git_release: + template_git_branch: description: - - The repository release. + - The repository branch. + required: False + type: str + template_git_url: + description: + - The source URL. required: False type: str template_git_has_uploadedgitrepotar: @@ -139,29 +127,25 @@ - Has uploaded git repo tar required: False type: bool - frozen_by: + frozen: description: - - The user ID that froze the workspace. + - If set to true, the workspace is frozen and changes to the workspace are disabled. required: False - type: str - x_github_token: + type: bool + applied_shareddata_ids: description: - - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. + - List of applied shared dataset ID. required: False - type: str + type: list + elements: str description: description: - The description of the workspace. required: False type: str - template_git_repo_url: - description: - - The repository URL. - required: False - type: str - frozen_at: + template_ref: description: - - The timestamp when the workspace was frozen. + - Workspace template ref. required: False type: str name: @@ -174,10 +158,26 @@ - Uninstall script name. required: False type: str - template_git_url: + template_values: description: - - The source URL. + - A list of variable values that you want to apply during the Helm chart installation. The list must be provided in JSON format, such as `"autoscaling: enabled: true minReplicas: 2"`. The values that you define here override the default Helm chart values. This field is supported only for IBM Cloud catalog offerings that are provisioned by using the Terraform Helm provider. + required: False + type: str + frozen_at: + description: + - The timestamp when the workspace was frozen. + required: False + type: str + tags: + description: + - A list of tags that are associated with the workspace. required: False + type: list + elements: str + template_type: + description: + - (Required for new resource) The Terraform version that you want to use to run your Terraform code. Enter `terraform_v0.12` to use Terraform version 0.12, and `terraform_v0.11` to use Terraform version 0.11. The Terraform config files are run with Terraform version 0.11. This is a required variable. Make sure that your Terraform config files are compatible with the Terraform version that you select. + required: True type: str id: description: @@ -225,42 +225,42 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('template_type', 'str'), ('name', 'str'), + ('template_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'template_ref', - 'template_git_branch', - 'locked_time', + 'template_values_metadata', + 'template_git_repo_url', + 'frozen_by', + 'catalog_ref', + 'location', + 'template_git_release', + 'template_git_repo_sha_value', + 'locked', 'resource_group', 'shared_data', + 'template_init_state_file', + 'locked_time', 'template_inputs', - 'template_values_metadata', - 'frozen', - 'tags', + 'x_github_token', 'template_env_settings', - 'template_values', - 'catalog_ref', - 'template_init_state_file', - 'template_type', - 'locked', - 'template_git_repo_sha_value', - 'applied_shareddata_ids', - 'location', 'template_git_folder', 'locked_by', - 'template_git_release', + 'template_git_branch', + 'template_git_url', 'template_git_has_uploadedgitrepotar', - 'frozen_by', - 'x_github_token', + 'frozen', + 'applied_shareddata_ids', 'description', - 'template_git_repo_url', - 'frozen_at', + 'template_ref', 'name', 'template_uninstall_script_name', - 'template_git_url', + 'template_values', + 'frozen_at', + 'tags', + 'template_type', ] # Params for Data source @@ -270,9 +270,9 @@ TL_ALL_PARAMETERS_DS = [ 'template_values_metadata', + 'location', 'template_git_has_uploadedgitrepotar', 'workspace_id', - 'location', ] TL_CONFLICTS_MAP = { @@ -282,92 +282,82 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - template_ref=dict( - required=False, - type='str'), - template_git_branch=dict( + template_values_metadata=dict( required=False, - type='str'), - locked_time=dict( + elements='', + type='list'), + template_git_repo_url=dict( required=False, type='str'), - resource_group=dict( + frozen_by=dict( required=False, type='str'), - shared_data=dict( - required=False, - elements='', - type='list'), - template_inputs=dict( + catalog_ref=dict( required=False, elements='', type='list'), - template_values_metadata=dict( + location=dict( required=False, - elements='', - type='list'), - frozen=dict( + type='str'), + template_git_release=dict( required=False, - type='bool'), - tags=dict( + type='str'), + template_git_repo_sha_value=dict( required=False, - elements='', - type='list'), - template_env_settings=dict( + type='str'), + locked=dict( required=False, - elements='', - type='list'), - template_values=dict( + type='bool'), + resource_group=dict( required=False, type='str'), - catalog_ref=dict( + shared_data=dict( required=False, elements='', type='list'), template_init_state_file=dict( required=False, type='str'), - template_type=dict( + locked_time=dict( required=False, type='str'), - locked=dict( + template_inputs=dict( required=False, - type='bool'), - template_git_repo_sha_value=dict( + elements='', + type='list'), + x_github_token=dict( required=False, type='str'), - applied_shareddata_ids=dict( + template_env_settings=dict( required=False, elements='', type='list'), - location=dict( - required=False, - type='str'), template_git_folder=dict( required=False, type='str'), locked_by=dict( required=False, type='str'), - template_git_release=dict( + template_git_branch=dict( + required=False, + type='str'), + template_git_url=dict( required=False, type='str'), template_git_has_uploadedgitrepotar=dict( required=False, type='bool'), - frozen_by=dict( + frozen=dict( required=False, - type='str'), - x_github_token=dict( + type='bool'), + applied_shareddata_ids=dict( required=False, - type='str'), + elements='', + type='list'), description=dict( required=False, type='str'), - template_git_repo_url=dict( - required=False, - type='str'), - frozen_at=dict( + template_ref=dict( required=False, type='str'), name=dict( @@ -376,7 +366,17 @@ template_uninstall_script_name=dict( required=False, type='str'), - template_git_url=dict( + template_values=dict( + required=False, + type='str'), + frozen_at=dict( + required=False, + type='str'), + tags=dict( + required=False, + elements='', + type='list'), + template_type=dict( required=False, type='str'), id=dict( @@ -444,7 +444,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -453,7 +453,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_workspace_info.py b/plugins/modules/ibm_schematics_workspace_info.py index f75b60cf3..2d66d4e1d 100644 --- a/plugins/modules/ibm_schematics_workspace_info.py +++ b/plugins/modules/ibm_schematics_workspace_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_workspace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ required: False type: list elements: dict + location: + description: + - The IBM Cloud location where your workspace was provisioned. + required: False + type: str template_git_has_uploadedgitrepotar: description: - Has uploaded Git repository tar. @@ -37,11 +42,6 @@ - The ID of the workspace. To find the workspace ID, use the `GET /v1/workspaces` API. required: True type: str - location: - description: - - The IBM Cloud location where your workspace was provisioned. - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -81,9 +81,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'template_values_metadata', + 'location', 'template_git_has_uploadedgitrepotar', 'workspace_id', - 'location', ] @@ -98,15 +98,15 @@ required=False, elements='', type='list'), + location=dict( + required=False, + type='str'), template_git_has_uploadedgitrepotar=dict( required=False, type='bool'), workspace_id=dict( required=True, type='str'), - location=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_secrets_manager_secret_info.py b/plugins/modules/ibm_secrets_manager_secret_info.py index 571243dc7..3d437933b 100644 --- a/plugins/modules/ibm_secrets_manager_secret_info.py +++ b/plugins/modules/ibm_secrets_manager_secret_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_secrets_manager_secret' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - instance_id: + secret_id: description: - - Secrets Manager instance GUID + - The v4 UUID that uniquely identifies the secret. required: True type: str - secret_id: + instance_id: description: - - The v4 UUID that uniquely identifies the secret. + - Secrets Manager instance GUID required: True type: str secret_type: @@ -75,15 +75,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('secret_id', 'str'), + ('instance_id', 'str'), ('secret_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', 'secret_id', + 'instance_id', 'secret_type', 'endpoint_type', ] @@ -96,10 +96,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( + secret_id=dict( required=True, type='str'), - secret_id=dict( + instance_id=dict( required=True, type='str'), secret_type=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_secrets_manager_secret', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_secrets_manager_secrets_info.py b/plugins/modules/ibm_secrets_manager_secrets_info.py index dbc093ccc..04d8e9851 100644 --- a/plugins/modules/ibm_secrets_manager_secrets_info.py +++ b/plugins/modules/ibm_secrets_manager_secrets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_secrets_manager_secrets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_secrets_manager_secrets', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 29e4d691c..75855f448 100644 --- a/plugins/modules/ibm_security_group.py +++ b/plugins/modules/ibm_security_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -93,9 +93,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'most_recent', 'name', 'description', + 'most_recent', ] TL_CONFLICTS_MAP = { @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b621cd257..c97344c38 100644 --- a/plugins/modules/ibm_security_group_info.py +++ b/plugins/modules/ibm_security_group_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - most_recent: - description: - - If true and multiple entries are found, the most recently created group is used. If false, an error is returned - required: False - type: bool - default: False name: description: - The name of the security group @@ -37,6 +31,12 @@ - The description of the security group required: False type: str + most_recent: + description: + - If true and multiple entries are found, the most recently created group is used. If false, an error is returned + required: False + type: bool + default: False iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -75,9 +75,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'most_recent', 'name', 'description', + 'most_recent', ] @@ -88,15 +88,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( - most_recent=dict( - required=False, - type='bool'), name=dict( required=True, type='str'), description=dict( required=False, type='str'), + most_recent=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 60cc42cdc..c25c3e8d5 100644 --- a/plugins/modules/ibm_security_group_rule.py +++ b/plugins/modules/ibm_security_group_rule.py @@ -18,10 +18,15 @@ - 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.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + protocol: + description: + - icmp, tcp or udp + required: False + type: str security_group_id: description: - (Required for new resource) Security group ID @@ -58,11 +63,6 @@ - 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. @@ -115,6 +115,7 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'protocol', 'security_group_id', 'direction', 'ether_type', @@ -122,7 +123,6 @@ 'port_range_max', 'remote_group_id', 'remote_ip', - 'protocol', ] # Params for Data source @@ -141,6 +141,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( + protocol=dict( + required=False, + type='str'), security_group_id=dict( required=False, type='int'), @@ -162,9 +165,6 @@ remote_ip=dict( required=False, type='str'), - protocol=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_security_group_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 40d4d4ea9..d63a88190 100644 --- a/plugins/modules/ibm_service_instance.py +++ b/plugins/modules/ibm_service_instance.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_service_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 tags: description: - None @@ -43,11 +48,6 @@ - (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 @@ -113,24 +113,24 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'parameters', 'tags', 'name', 'space_guid', 'service', - 'parameters', 'plan', 'wait_time_minutes', ] # 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 = { @@ -140,6 +140,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( + parameters=dict( + required=False, + type='dict'), tags=dict( required=False, elements='', @@ -153,9 +156,6 @@ service=dict( required=False, type='str'), - parameters=dict( - required=False, - type='dict'), plan=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_service_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 6fd9f2c45..6bccf9603 100644 --- a/plugins/modules/ibm_service_instance_info.py +++ b/plugins/modules/ibm_service_instance_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_service_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: + space_guid: description: - - Service instance name for example, speech_to_text + - The guid of the space in which the instance is present required: True type: str - space_guid: + name: description: - - The guid of the space in which the instance is present + - Service instance name for example, speech_to_text required: True type: str iaas_classic_username: @@ -64,14 +64,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', ] @@ -82,10 +82,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( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 232a8de2a..5a582986d 100644 --- a/plugins/modules/ibm_service_key.py +++ b/plugins/modules/ibm_service_key.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_service_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The name of the service key - required: True - type: str service_instance_guid: description: - (Required for new resource) The guid of the service instance for which to create service key @@ -43,6 +38,11 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) The name of the service key + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,29 +89,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('service_instance_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'service_instance_guid', 'parameters', 'tags', + 'name', ] # 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 = { @@ -121,9 +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( - name=dict( - required=False, - type='str'), service_instance_guid=dict( required=False, type='str'), @@ -134,6 +131,9 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 dea1914d1..4ab1bfca5 100644 --- a/plugins/modules/ibm_service_key_info.py +++ b/plugins/modules/ibm_service_key_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_service_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.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 @@ -31,11 +36,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 @@ -69,16 +69,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', ] @@ -89,13 +89,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( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 2abc51ea2..125325412 100644 --- a/plugins/modules/ibm_service_plan_info.py +++ b/plugins/modules/ibm_service_plan_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_service_plan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_service_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 27a90972a..e46d3c5da 100644 --- a/plugins/modules/ibm_space.py +++ b/plugins/modules/ibm_space.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_space' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_space', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_space', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 696d8011a..ff5ce9264 100644 --- a/plugins/modules/ibm_space_info.py +++ b/plugins/modules/ibm_space_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_space' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_space', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 d51577c23..14f23da0f 100644 --- a/plugins/modules/ibm_ssl_certificate.py +++ b/plugins/modules/ibm_ssl_certificate.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_ssl_certificate' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - administrative_address_same_as_organization_flag: + billing_address_same_as_organization_flag: description: - - administrative address same as organization flag + - billing address same as organization flag required: False type: bool default: False @@ -34,84 +34,84 @@ required: True type: list elements: dict - billing_contact: - description: - - None - required: False - type: list - elements: dict - server_count: + validity_months: description: - - (Required for new resource) Server count + - (Required for new resource) vslidity of the ssl certificate in month required: True type: int + administrative_address_same_as_organization_flag: + description: + - administrative address same as organization flag + required: False + type: bool + default: False + administrative_contact_same_as_technical_flag: + description: + - Administrative contact same as technical flag + required: False + type: bool + default: False order_approver_email_address: description: - (Required for new resource) Email address of the approver required: True type: str - technical_contact: - description: - - (Required for new resource) Technical contact info - required: True - type: list - elements: dict - administrative_contact_same_as_technical_flag: + technical_contact_same_as_org_address_flag: description: - - Administrative contact same as technical flag + - Technical contact same as org address flag required: False type: bool default: False - administrative_contact: + billing_contact: description: - None required: False type: list elements: dict - server_type: - description: - - (Required for new resource) server type - required: True - type: str ssl_type: description: - (Required for new resource) ssl type required: True type: str - certificate_signing_request: - description: - - (Required for new resource) certificate signing request info - required: True - type: str billing_contact_same_as_technical_flag: description: - billing contact 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 - validity_months: + certificate_signing_request: description: - - (Required for new resource) vslidity of the ssl certificate in month + - (Required for new resource) certificate signing request info required: True - type: int + type: str renewal_flag: description: - Renewal flag required: False type: bool default: True - technical_contact_same_as_org_address_flag: + technical_contact: description: - - Technical contact same as org address flag + - (Required for new resource) Technical contact info + required: True + type: list + elements: dict + administrative_contact: + description: + - None required: False - type: bool - default: False + type: list + elements: dict + 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -159,33 +159,33 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('organization_information', 'list'), - ('server_count', 'int'), + ('validity_months', 'int'), ('order_approver_email_address', 'str'), - ('technical_contact', 'list'), - ('server_type', 'str'), ('ssl_type', 'str'), ('certificate_signing_request', 'str'), - ('validity_months', 'int'), + ('technical_contact', 'list'), + ('server_count', 'int'), + ('server_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'administrative_address_same_as_organization_flag', + 'billing_address_same_as_organization_flag', 'organization_information', - 'billing_contact', - 'server_count', - 'order_approver_email_address', - 'technical_contact', + 'validity_months', + 'administrative_address_same_as_organization_flag', 'administrative_contact_same_as_technical_flag', - 'administrative_contact', - 'server_type', + 'order_approver_email_address', + 'technical_contact_same_as_org_address_flag', + 'billing_contact', 'ssl_type', - 'certificate_signing_request', 'billing_contact_same_as_technical_flag', - 'billing_address_same_as_organization_flag', - 'validity_months', + 'certificate_signing_request', 'renewal_flag', - 'technical_contact_same_as_org_address_flag', + 'technical_contact', + 'administrative_contact', + 'server_count', + 'server_type', ] # Params for Data source @@ -202,58 +202,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( - administrative_address_same_as_organization_flag=dict( + billing_address_same_as_organization_flag=dict( required=False, type='bool'), organization_information=dict( required=False, elements='', type='list'), - billing_contact=dict( - required=False, - elements='', - type='list'), - server_count=dict( + validity_months=dict( required=False, type='int'), + administrative_address_same_as_organization_flag=dict( + required=False, + type='bool'), + administrative_contact_same_as_technical_flag=dict( + required=False, + type='bool'), order_approver_email_address=dict( required=False, type='str'), - technical_contact=dict( - required=False, - elements='', - type='list'), - administrative_contact_same_as_technical_flag=dict( + technical_contact_same_as_org_address_flag=dict( required=False, type='bool'), - administrative_contact=dict( + billing_contact=dict( required=False, elements='', type='list'), - server_type=dict( - required=False, - type='str'), ssl_type=dict( required=False, type='str'), + billing_contact_same_as_technical_flag=dict( + required=False, + type='bool'), certificate_signing_request=dict( required=False, type='str'), - billing_contact_same_as_technical_flag=dict( + renewal_flag=dict( required=False, type='bool'), - billing_address_same_as_organization_flag=dict( + technical_contact=dict( required=False, - type='bool'), - validity_months=dict( + elements='', + type='list'), + administrative_contact=dict( required=False, - type='int'), - renewal_flag=dict( + elements='', + type='list'), + server_count=dict( required=False, - type='bool'), - technical_contact_same_as_org_address_flag=dict( + type='int'), + server_type=dict( required=False, - type='bool'), + type='str'), id=dict( required=False, type='str'), @@ -319,7 +319,7 @@ def run_module(): resource_type='ibm_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 366a2de26..a0cba02ac 100644 --- a/plugins/modules/ibm_storage_block.py +++ b/plugins/modules/ibm_storage_block.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_block' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -27,66 +27,66 @@ - (Required for new resource) Storage block type required: True type: str + capacity: + description: + - (Required for new resource) Storage block size + required: True + type: int snapshot_capacity: description: - Snapshot capacity in GB required: False type: int - allowed_hardware_ids: - description: - - List of allowe hardware IDs - required: False - type: list - elements: int - hourly_billing: - description: - - Billing done hourly, if set to true - required: False - type: bool - default: False - allowed_virtual_guest_ids: - description: - - List of allowed virtual guest IDs - required: False - type: list - elements: int notes: description: - Additional note info required: False type: str + tags: + description: + - List of tags associated with the resource + required: False + type: list + elements: str datacenter: description: - (Required for new resource) Datacenter name required: True type: str - capacity: + iops: description: - - (Required for new resource) Storage block size + - (Required for new resource) IOPS value required required: True - type: int + type: float os_format_type: description: - (Required for new resource) OS formatr type required: True type: str - allowed_ip_addresses: + allowed_hardware_ids: description: - - Allowed IP addresses + - List of allowe hardware IDs required: False type: list - elements: str - tags: + elements: int + hourly_billing: description: - - List of tags associated with the resource + - Billing done hourly, if set to true + required: False + type: bool + default: False + allowed_virtual_guest_ids: + description: + - List of allowed virtual guest IDs required: False type: list - elements: str - iops: + elements: int + allowed_ip_addresses: description: - - (Required for new resource) IOPS value required - required: True - type: float + - Allowed IP addresses + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -134,26 +134,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('type', 'str'), - ('datacenter', 'str'), ('capacity', 'int'), - ('os_format_type', 'str'), + ('datacenter', 'str'), ('iops', 'float'), + ('os_format_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'type', + 'capacity', 'snapshot_capacity', - 'allowed_hardware_ids', - 'hourly_billing', - 'allowed_virtual_guest_ids', 'notes', + 'tags', 'datacenter', - 'capacity', + 'iops', 'os_format_type', + 'allowed_hardware_ids', + 'hourly_billing', + 'allowed_virtual_guest_ids', 'allowed_ip_addresses', - 'tags', - 'iops', ] # Params for Data source @@ -173,43 +173,43 @@ type=dict( required=False, type='str'), - snapshot_capacity=dict( + capacity=dict( required=False, type='int'), - allowed_hardware_ids=dict( + snapshot_capacity=dict( required=False, - elements='', - type='list'), - hourly_billing=dict( + type='int'), + notes=dict( required=False, - type='bool'), - allowed_virtual_guest_ids=dict( + type='str'), + tags=dict( required=False, elements='', type='list'), - notes=dict( - required=False, - type='str'), datacenter=dict( required=False, type='str'), - capacity=dict( + iops=dict( required=False, - type='int'), + type='float'), os_format_type=dict( required=False, type='str'), - allowed_ip_addresses=dict( + allowed_hardware_ids=dict( required=False, elements='', type='list'), - tags=dict( + hourly_billing=dict( + required=False, + type='bool'), + allowed_virtual_guest_ids=dict( required=False, elements='', type='list'), - iops=dict( + allowed_ip_addresses=dict( required=False, - type='float'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_storage_block', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 81926c051..b82697ccb 100644 --- a/plugins/modules/ibm_storage_evault.py +++ b/plugins/modules/ibm_storage_evault.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_evault' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: + virtual_instance_id: + description: + - Virtual instance ID + required: False + type: int + hardware_instance_id: + description: + - Hardware instance ID + required: False + type: int tags: description: - Tags set for the resource @@ -38,16 +48,6 @@ - (Required for new resource) Capacity required: True type: int - virtual_instance_id: - description: - - Virtual instance ID - required: False - type: int - hardware_instance_id: - description: - - Hardware instance ID - required: False - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,11 +100,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'virtual_instance_id', + 'hardware_instance_id', 'tags', 'datacenter', 'capacity', - 'virtual_instance_id', - 'hardware_instance_id', ] # 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( + virtual_instance_id=dict( + required=False, + type='int'), + hardware_instance_id=dict( + required=False, + type='int'), tags=dict( required=False, elements='', @@ -133,12 +139,6 @@ capacity=dict( required=False, type='int'), - virtual_instance_id=dict( - required=False, - type='int'), - hardware_instance_id=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_storage_evault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 a6cba8cd7..0536b6b16 100644 --- a/plugins/modules/ibm_storage_file.py +++ b/plugins/modules/ibm_storage_file.py @@ -18,81 +18,81 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_file' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) Storage type - required: True - type: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str allowed_virtual_guest_ids: description: - Virtual guest ID required: False type: list elements: int - hourly_billing: + allowed_ip_addresses: description: - - Hourly based billing type + - Allowed range of IP addresses required: False - type: bool - default: False - capacity: - description: - - (Required for new resource) Storage capacity - required: True - type: int - snapshot_capacity: + type: list + elements: str + notes: description: - - Snapshot capacity + - Notes required: False - type: int + type: str snapshot_schedule: description: - None required: False type: list elements: dict - tags: + iops: description: - - Tags set for the storage volume + - (Required for new resource) iops rate + required: True + type: float + allowed_subnets: + description: + - Allowed network subnets required: False type: list elements: str - iops: + hourly_billing: description: - - (Required for new resource) iops rate + - Hourly based billing type + required: False + type: bool + default: False + capacity: + description: + - (Required for new resource) Storage capacity required: True - type: float + type: int allowed_hardware_ids: description: - Hardaware ID required: False type: list elements: int - allowed_subnets: + tags: description: - - Allowed network subnets + - Tags set for the storage volume required: False type: list elements: str - allowed_ip_addresses: + snapshot_capacity: description: - - Allowed range of IP addresses + - Snapshot capacity required: False - type: list - elements: str - notes: + type: int + type: description: - - Notes - required: False + - (Required for new resource) Storage type + required: True + type: str + datacenter: + description: + - (Required for new resource) Datacenter name + required: True type: str id: description: @@ -140,27 +140,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('iops', 'float'), + ('capacity', 'int'), ('type', 'str'), ('datacenter', 'str'), - ('capacity', 'int'), - ('iops', 'float'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'datacenter', 'allowed_virtual_guest_ids', - 'hourly_billing', - 'capacity', - 'snapshot_capacity', + 'allowed_ip_addresses', + 'notes', 'snapshot_schedule', - 'tags', 'iops', - 'allowed_hardware_ids', 'allowed_subnets', - 'allowed_ip_addresses', - 'notes', + 'hourly_billing', + 'capacity', + 'allowed_hardware_ids', + 'tags', + 'snapshot_capacity', + 'type', + 'datacenter', ] # 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( - type=dict( - required=False, - type='str'), - datacenter=dict( - required=False, - type='str'), allowed_virtual_guest_ids=dict( required=False, elements='', type='list'), - hourly_billing=dict( - required=False, - type='bool'), - capacity=dict( - required=False, - type='int'), - snapshot_capacity=dict( - required=False, - type='int'), - snapshot_schedule=dict( + allowed_ip_addresses=dict( required=False, elements='', type='list'), - tags=dict( + notes=dict( + required=False, + type='str'), + snapshot_schedule=dict( required=False, elements='', type='list'), iops=dict( required=False, type='float'), - allowed_hardware_ids=dict( + allowed_subnets=dict( required=False, elements='', type='list'), - allowed_subnets=dict( + hourly_billing=dict( + required=False, + type='bool'), + capacity=dict( + required=False, + type='int'), + allowed_hardware_ids=dict( required=False, elements='', type='list'), - allowed_ip_addresses=dict( + tags=dict( required=False, elements='', type='list'), - notes=dict( + snapshot_capacity=dict( + required=False, + type='int'), + type=dict( + required=False, + type='str'), + datacenter=dict( required=False, type='str'), id=dict( @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_storage_file', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 034b4510f..0377decfc 100644 --- a/plugins/modules/ibm_subnet.py +++ b/plugins/modules/ibm_subnet.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_subnet' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - ip_version: - description: - - ip version - required: False - type: int - default: 4 capacity: description: - (Required for new resource) number of ip addresses in the subnet @@ -38,6 +32,17 @@ - VLAN ID for the subnet required: False type: int + notes: + description: + - Notes + required: False + type: str + tags: + description: + - tags set for the resource + required: False + type: list + elements: str private: description: - private subnet @@ -49,22 +54,17 @@ - (Required for new resource) subnet type required: True type: str - endpoint_ip: + ip_version: description: - - endpoint IP + - ip version required: False - type: str - notes: + type: int + default: 4 + endpoint_ip: description: - - Notes + - endpoint IP required: False type: str - 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. @@ -117,14 +117,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ip_version', 'capacity', 'vlan_id', + 'notes', + 'tags', 'private', 'type', + 'ip_version', 'endpoint_ip', - 'notes', - 'tags', ] # Params for Data source @@ -143,31 +143,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( - ip_version=dict( - required=False, - type='int'), capacity=dict( required=False, type='int'), vlan_id=dict( required=False, type='int'), + notes=dict( + required=False, + type='str'), + tags=dict( + required=False, + elements='', + type='list'), private=dict( required=False, type='bool'), type=dict( required=False, type='str'), - endpoint_ip=dict( + ip_version=dict( required=False, - type='str'), - notes=dict( + type='int'), + endpoint_ip=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 b2bb0e302..f10823b27 100644 --- a/plugins/modules/ibm_tg_connection.py +++ b/plugins/modules/ibm_tg_connection.py @@ -18,28 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - network_id: + name: description: - - The ID of the network being connected via this connection. This field is required for some types, such as 'vpc' or 'directlink'. The value of this is the CRN of the VPC or direct link gateway to be connected. This field is required to be unspecified for network type 'classic'. + - 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 - base_connection_id: + gateway: description: - - The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. - required: False + - (Required for new resource) The Transit Gateway identifier + required: True type: str - local_gateway_ip: + network_type: description: - - The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. - required: False + - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) + required: True type: str - remote_gateway_ip: + local_tunnel_ip: description: - - The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. + - The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. required: False type: str remote_tunnel_ip: @@ -47,14 +47,9 @@ - The remote tunnel IP address. This field only applies to network type 'gre_tunnel' connections. required: False type: str - zone: - description: - - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. - required: False - type: str - name: + network_id: 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'). + - The ID of the network being connected via this connection. This field is required for some types, such as 'vpc' or 'directlink'. The value of this is the CRN of the VPC or direct link gateway to be connected. This field is required to be unspecified for network type 'classic'. required: False type: str network_account_id: @@ -62,25 +57,30 @@ - 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 - local_tunnel_ip: - description: - - The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. - required: False - type: str remote_bgp_asn: description: - The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. required: False type: int - gateway: + remote_gateway_ip: description: - - (Required for new resource) The Transit Gateway identifier - required: True + - The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. + required: False type: str - network_type: + zone: description: - - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) - required: True + - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. + required: False + type: str + base_connection_id: + description: + - The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. + required: False + type: str + local_gateway_ip: + description: + - The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. + required: False type: str id: description: @@ -134,18 +134,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_id', - 'base_connection_id', - 'local_gateway_ip', - 'remote_gateway_ip', - 'remote_tunnel_ip', - 'zone', 'name', - 'network_account_id', - 'local_tunnel_ip', - 'remote_bgp_asn', 'gateway', 'network_type', + 'local_tunnel_ip', + 'remote_tunnel_ip', + 'network_id', + 'network_account_id', + 'remote_bgp_asn', + 'remote_gateway_ip', + 'zone', + 'base_connection_id', + 'local_gateway_ip', ] # Params for Data source @@ -162,40 +162,40 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - network_id=dict( + name=dict( required=False, type='str'), - base_connection_id=dict( + gateway=dict( required=False, type='str'), - local_gateway_ip=dict( + network_type=dict( required=False, type='str'), - remote_gateway_ip=dict( + local_tunnel_ip=dict( required=False, type='str'), remote_tunnel_ip=dict( required=False, type='str'), - zone=dict( - required=False, - type='str'), - name=dict( + network_id=dict( required=False, type='str'), network_account_id=dict( required=False, type='str'), - local_tunnel_ip=dict( - required=False, - type='str'), remote_bgp_asn=dict( required=False, type='int'), - gateway=dict( + remote_gateway_ip=dict( required=False, type='str'), - network_type=dict( + zone=dict( + required=False, + type='str'), + base_connection_id=dict( + required=False, + type='str'), + local_gateway_ip=dict( required=False, type='str'), id=dict( @@ -263,7 +263,7 @@ def run_module(): resource_type='ibm_tg_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_connection_prefix_filter.py b/plugins/modules/ibm_tg_connection_prefix_filter.py index 7e3bd00d7..ec4afda9b 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filter.py +++ b/plugins/modules/ibm_tg_connection_prefix_filter.py @@ -18,15 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection_prefix_filter' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - before: + action: description: - - Identifier of prefix filter that handles ordering - required: False + - (Required for new resource) Whether to permit or deny the prefix filter + required: True type: str + ge: + description: + - IP Prefix GE + required: False + type: int le: description: - IP Prefix LE @@ -37,24 +42,19 @@ - (Required for new resource) The Transit Gateway identifier required: True type: str - connection_id: + before: description: - - (Required for new resource) The Transit Gateway Connection identifier - required: True + - Identifier of prefix filter that handles ordering + required: False type: str - action: + prefix: description: - - (Required for new resource) Whether to permit or deny the prefix filter + - (Required for new resource) IP Prefix required: True type: str - ge: - description: - - IP Prefix GE - required: False - type: int - prefix: + connection_id: description: - - (Required for new resource) IP Prefix + - (Required for new resource) The Transit Gateway Connection identifier required: True type: str id: @@ -103,34 +103,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('gateway', 'str'), - ('connection_id', 'str'), ('action', 'str'), + ('gateway', 'str'), ('prefix', 'str'), + ('connection_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'before', - 'le', - 'gateway', - 'connection_id', 'action', 'ge', + 'le', + 'gateway', + 'before', 'prefix', + 'connection_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('connection_id', 'str'), ('filter_id', 'str'), ('gateway', 'str'), + ('connection_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'connection_id', 'filter_id', 'gateway', + 'connection_id', ] TL_CONFLICTS_MAP = { @@ -140,25 +140,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - before=dict( + action=dict( required=False, type='str'), + ge=dict( + required=False, + type='int'), le=dict( required=False, type='int'), gateway=dict( required=False, type='str'), - connection_id=dict( + before=dict( required=False, type='str'), - action=dict( + prefix=dict( required=False, type='str'), - ge=dict( - required=False, - type='int'), - prefix=dict( + connection_id=dict( required=False, type='str'), id=dict( @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_tg_connection_prefix_filter', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_tg_connection_prefix_filter_info.py b/plugins/modules/ibm_tg_connection_prefix_filter_info.py index ab627ec0a..aee98d16d 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filter_info.py +++ b/plugins/modules/ibm_tg_connection_prefix_filter_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_tg_connection_prefix_filter' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - connection_id: - description: - - The Transit Gateway Connection identifier - required: True - type: str filter_id: description: - The Transit Gateway Connection Prefix Filter identifier @@ -36,6 +31,11 @@ - The Transit Gateway identifier required: True type: str + connection_id: + description: + - The Transit Gateway Connection identifier + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('connection_id', 'str'), ('filter_id', 'str'), ('gateway', 'str'), + ('connection_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'connection_id', 'filter_id', 'gateway', + 'connection_id', ] @@ -89,15 +89,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( - connection_id=dict( - required=True, - type='str'), filter_id=dict( required=True, type='str'), gateway=dict( required=True, type='str'), + connection_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_connection_prefix_filters_info.py b/plugins/modules/ibm_tg_connection_prefix_filters_info.py index 5f84c6494..6f310ade0 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filters_info.py +++ b/plugins/modules/ibm_tg_connection_prefix_filters_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_tg_connection_prefix_filters' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: - gateway: + connection_id: description: - - The Transit Gateway identifier + - The Transit Gateway Connection identifier required: True type: str - connection_id: + gateway: description: - - The Transit Gateway Connection identifier + - The Transit Gateway identifier required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('gateway', 'str'), ('connection_id', 'str'), + ('gateway', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'gateway', 'connection_id', + 'gateway', ] @@ -82,10 +82,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( - gateway=dict( + connection_id=dict( required=True, type='str'), - connection_id=dict( + gateway=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filters', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 695213dd6..3336d2cd1 100644 --- a/plugins/modules/ibm_tg_gateway.py +++ b/plugins/modules/ibm_tg_gateway.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -38,17 +38,17 @@ required: False type: bool default: False - resource_group: - description: - - None - required: False - type: str tags: description: - Tags for the transit gateway instance required: False type: list elements: str + resource_group: + description: + - None + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,8 +104,8 @@ 'location', 'name', 'global_', - 'resource_group', 'tags', + 'resource_group', ] # Params for Data source @@ -133,13 +133,13 @@ global_=dict( required=False, type='bool'), - resource_group=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), + resource_group=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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_tg_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 84057f6a6..2b0133111 100644 --- a/plugins/modules/ibm_tg_gateway_info.py +++ b/plugins/modules/ibm_tg_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 7cbf8c7c6..84e9b4284 100644 --- a/plugins/modules/ibm_tg_gateways_info.py +++ b/plugins/modules/ibm_tg_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_tg_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 ff364e38e..44996c45b 100644 --- a/plugins/modules/ibm_tg_location_info.py +++ b/plugins/modules/ibm_tg_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_tg_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.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 68ef292b9..a75974249 100644 --- a/plugins/modules/ibm_tg_locations_info.py +++ b/plugins/modules/ibm_tg_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_tg_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_route_report.py b/plugins/modules/ibm_tg_route_report.py index 023bb4763..121d6619e 100644 --- a/plugins/modules/ibm_tg_route_report.py +++ b/plugins/modules/ibm_tg_route_report.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_route_report' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='resource', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_tg_route_report_info.py b/plugins/modules/ibm_tg_route_report_info.py index 69bf884f7..f3305f196 100644 --- a/plugins/modules/ibm_tg_route_report_info.py +++ b/plugins/modules/ibm_tg_route_report_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_route_report' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_route_reports_info.py b/plugins/modules/ibm_tg_route_reports_info.py index ce642f059..7b5f87e2a 100644 --- a/plugins/modules/ibm_tg_route_reports_info.py +++ b/plugins/modules/ibm_tg_route_reports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_route_reports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.47.1 + - IBM-Cloud terraform-provider-ibm v1.48.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_tg_route_reports', tf_type='data', parameters=module.params, - ibm_provider_version='1.47.1', + ibm_provider_version='1.48.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS)