Skip to content

Releases: jeremmfr/terraform-provider-junos

v1.23.0

17 Dec 08:46
v1.23.0
9912313
Compare
Choose a tag to compare

ENHANCEMENTS:

  • resource/junos_security_address_book: network_address, wildcard_address, dns_name, range_address and address_set block arguments are now unordered blocks. (Fixes #316)
  • resource/junos_security_zone: address_book, address_book_dns, address_book_range, address_book_set and address_book_wildcard block arguments are now unordered blocks. (Fixes #169)

v1.22.2

07 Dec 08:11
v1.22.2
f5376a9
Compare
Choose a tag to compare

BUG FIXES:

  • resource/junos_interface, junos_interface_physical, junos_interface_logical: fix detection of missing interfaces with the latest versions of Junos (the not found message has been moved from the reply field to the error field in the netconf message)
  • resource/junos_security_ike_gateway: fix bad value used when adding Junos config with wildcard argument inside distinguished_name block inside dynamic_remote block
  • resource/junos_system_login_user: fix validation of name with a dot that is acceptable for Junos (Fixes #318)

v1.22.1

30 Nov 08:14
v1.22.1
0ceabfd
Compare
Choose a tag to compare

BUG FIXES:

  • resource/junos_interface_logical: add srx_old_option_name argument inside dhcp block argument to be able to fix the configuration of DHCP client on SRX devices with an old version of Junos (use option name dhcp-client instead of dhcp in family inet) (Fixes #313)
  • data-source/junos_interface_logical: add srx_old_option_name argument inside dhcp block argument (like resource)

v1.22.0

19 Nov 16:10
v1.22.0
8b4f735
Compare
Choose a tag to compare

FEATURES:

  • add junos_access_address_assignment_pool resource (Fixes parts of #301)
  • add junos_interface_physical_disable resource (Fixes #305)
  • add junos_interfaces_physical_present data-source
  • add junos_system_services_dhcp_localserver_group resource (Fixes parts of #301)

ENHANCEMENTS:

  • resource/junos_application: add term block argument (Fixes #296), add inactivity_timeout_never argument (Fixes #308)
  • resource/junos_chassis_cluster: add control_ports block argument (Fixes #304)
  • resource/junos_group_dual_system: add system.0.inet6_backup_router_address and system.0.inet6_backup_router_destination arguments, add validation on system.0.backup_router_address and list of string for system.0.backup_router_destination is now unordered (Fixes #302)
  • resource/junos_interface_logical: add dhcp and dhcpv6_client block arguments inside family_inet and family_inet6 block arguments (Fixes parts of #301)
  • data-source/junos_interface_logical: add dhcp and dhcpv6_client block attributes inside family_inet and family_inet6 block attributes
  • resource/junos_system: add ports block argument (Fixes #294)

BUG FIXES:

  • resource/junos_security_idp_custom_attack: fix validation of IPv6 address for destination_value, extension_header_destination_option_home_address_value and source_value inside protocol_ipv6 block
  • resource/junos_services_rpm_probe: fix validation of IPv6 address for inet6_source_address, rpm_scale.0.source_inet6_address_base, rpm_scale.0.source_inet6_step, rpm_scale.0.target_inet6_address_base and rpm_scale.0.target_inet6_step inside test block

v1.21.1

22 Oct 17:17
v1.21.1
d034aa8
Compare
Choose a tag to compare

BUG FIXES:

  • module go-netconf updated to enhance RPCError display with the error-path and error-info>bad-element values if set (Fixes parts of #292)
  • r/*: fix missing identifier value in the errors multiple blocks with the same identifier (Fixes parts of #292)

v1.21.0

12 Oct 11:46
v1.21.0
5a8d419
Compare
Choose a tag to compare

FEATURES:

  • add junos_security_nat_static_rule resource (Fixes #281)

ENHANCEMENTS:

  • resource/*: to avoid any confusion, the provider now detects and generates an error during apply when there are duplicate elements (with the same identifier, for example the same name) in the block lists of certain resources
  • resource/junos_routing_instance: add instance_export and instance_import arguments (Fixes #280)
  • resource/junos_routing_options: add instance_export and instance_import arguments
  • resource/junos_security_address_book: add address_set argument inside address_set block (Fixes #287)
  • resource/junos_security_nat_destination: add multiple arguments, application, destination_..., protocol, source_... in rule block and description
  • resource/junos_security_nat_destination_pool: add description argument
  • resource/junos_security_nat_source: add multiple arguments, application, destination_..., protocol, source_... in match block inside rule block and description
  • resource/junos_security_nat_source_pool: add description argument
  • resource/junos_security_nat_static: add multiple arguments, destination_..., source_... in rule block, mapped_port... in then block, configure_rules_singly and description. also add possibility to use prefix-name in then.0.type
  • resource/junos_security_zone: add address_set argument inside address_book_set block
  • resource/junos_security_zone_book_address_set: add address_set argument
  • release now with golang 1.17 and replace the terraform sdk to a fork to avoid the note Objects have changed outside of Terraform with the empty string lists when create resources

BUG FIXES:

  • resource/junos_ospf_area: fix missing set interface when interface block have only name set
  • resource/junos_security_nat_source: fix panic when match block inside rule block is empty

v1.20.0

07 Sep 15:54
v1.20.0
d2b0c79
Compare
Choose a tag to compare

FEATURES:

  • add junos_eventoptions_generate_event resource (Fixes #267)
  • add junos_security_dynamic_address_feed_server resource (Fixes parts of #273)
  • add junos_security_dynamic_address_name resource (Fixes parts of #273)

ENHANCEMENTS:

  • resource/junos_chassis_cluster: add preempt_delay, preempt_limit and preempt_period arguments inside redundancy_group block list argument (Fixes #270)
  • resource/junos_firewall_filter: arguments with type list of string in block term.*.from are now unordered
  • resource/junos_interface_logical: add dad_disable argument inside family_inet6 block argument (Fixes #263)
  • data-source/junos_interface, junos_interface_logical: vrrp_group.*.authentication_key is now a sensitive argument (like resource)
  • data-source/junos_interface_logical: add dad_disable attributes as for the resource
  • resource/junos_interface_logical: lists of string for security_inbound_protocols and security_inbound_services are now unordered
  • resource/junos_policyoptions_policy_statement: arguments with type list of string (except policy) in block term.*.from and term.*.to are now unordered
  • resource/junos_security: list of string for ike_traceoptions.0.flag is now unordered
  • resource/junos_security: add validation on name argument inside file block inside ike_traceoptions block
  • resource/junos_security_global_policy: arguments with type list of string in block policy are now unordered
  • resource/junos_security_nat_source: arguments with type list of string in block rule.*.match are now unordered
  • resource/junos_security_policy: arguments with type list of string in block policy are now unordered
  • resource/junos_security_screen: lists of string for tcp.0.syn_flood.0.whitelist.*.destination_address, tcp.0.syn_flood.0.whitelist.*.source_address and udp.0.flood.0.whitelist are now unordered
  • resource/junos_security_screen_whitelist: list of string for address is now unordered
  • resource/junos_security_zone: lists of string for inbound_protocols and inbound_services are now unordered
  • resource/junos_system: arguments with type list of string are now unordered (except authentication_order, name_server and ssh.0.authentication_order)
  • resource/junos_system: add ntp block argument (Fixes #261)
  • resource/junos_system: add netconf_traceoptions block argument inside services block argument (Fixes #262)
  • resource/*: sets of string are now ordered before adding to Junos config to avoid unnecessary diff in commits
  • docs: rewrite style for argument name and type
  • docs: add attributes reference on resource

BUG FIXES:

  • resource/junos_security: fix reading size argument inside file block inside ike_traceoptions block when number match a multiple of 1024 (example 1k, 1m, 1g)
  • resource/junos_security: fix string format for idp_security_package.0.automatic_start_time to YYYY-MM-DD.HH:MM:SS to avoid unnecessary diff for Terraform when timezone of Junos device change
  • resource/junos_chassis_cluster: fix possible crash in certain conditions when import this resource
  • resource/*: add validation to some arguments which cannot contain a space character and thus avoid bugs when reading these arguments

v1.19.0

30 Jul 08:17
v1.19.0
fa7bda6
Compare
Choose a tag to compare

FEATURES:

  • add junos_eventoptions_destination resource
  • add junos_eventoptions_policy resource (Fixes #252)

ENHANCEMENTS:

  • resource/junos_application: add application_protocol, description, ether_type, rpc_program_number and uuid arguments (Fixes #255)

v1.18.0

09 Jul 15:16
v1.18.0
1012c2f
Compare
Choose a tag to compare

FEATURES:

  • add junos_bridge_domain resource
  • add junos_evpn resource (Fixes parts of #131)
  • add junos_services_rpm_probe resource (Fixes #247)
  • add junos_switch_options resource (Fixes parts of #131)

ENHANCEMENTS:

  • resource/junos_bgp_group: authentication_key is now a sensitive argument
  • resource/junos_bgp_neighbor: authentication_key is now a sensitive argument
  • resource/junos_interface, junos_interface_logical: vrrp_group.*.authentication_key is now a sensitive argument
  • resource/junos_policyoptions_policy_statement: add add_it_to_forwarding_table_export argument (Fixes #241)
  • resource/junos_routing_instance: add description, route_distinguisher, vrf_export, vrf_import, vrf_target, vrf_target_auto, vrf_target_export, vrf_target_import, vtep_source_interface, configure_rd_vrfopts_singly and configure_type_singly arguments
  • resource/junos_routing_options: add forwarding_table_export_configure_singly argument
  • resource/junos_routing_options: add router_id argument
  • resource/junos_security_ike_gateway: aaa.0.client_password is now a sensitive argument
  • resource/junos_system: archival_configuration.0.archive_site.*.password is now a sensitive argument

BUG FIXES:

  • resource/junos_ospf: fix missing mutex unlocking when read resource and checking routing-instance existence
  • resource/junos_security_nat_destination: fix order issue on from.0.value list
  • resource/junos_security_nat_source: fix order issue on from.0.value and to.0.value lists (Fixes #243)
  • resource/junos_security_nat_static: fix order issue on from.0.value list
  • resource/junos_system: unescape the html entities for announcement argument inside login argument (Fixes parts of #251)
  • resource/junos_system: remove the potential double quotes for ciphers argument inside services.0.ssh argument (Fixes parts of #251)
  • resource/junos_vlan: fix order issue on community_vlans and vlan_id_list lists

v1.17.0

18 Jun 07:30
v1.17.0
d4028ec
Compare
Choose a tag to compare

FEATURES:

  • add junos_ospf resource
  • add junos_security_idp_custom_attack resource (Fixes parts of #225)
  • add junos_security_idp_custom_attack_group resource
  • add junos_security_idp_policy resource (Fixes parts of #225)

ENHANCEMENTS:

  • provider: try multiple SSH authentication methods (key + password)
  • provider: add ssh_ciphers argument to configure ciphers used in SSH connection
  • provider: add support of SSH agent to SSH authentication (Fixes #212)
  • resource/junos_application: add inactivity_timeout argument (Fixes #230)
  • resource/junos_group_dual_system: add preferred and primary arguments inside family_inet_address and family_inet6_address arguments inside interface_fxp0 argument (Fixes #211)
  • resource/junos_interface_logical: add preferred and primary arguments inside address argument inside family_inet and family_inet6 arguments, add vlan_no_compute argument to disable the automatic compute of vlan_id
  • data-source/junos_interface_logical: add preferred and primary attributes as for the resource
  • resource/junos_routing_options, junos_security, junos_services, junos_snmp: add clean_on_destroy argument to clean static configuration when destroy the resource (Fixes #227)
  • resource/junos_routing_options: add forwarding_table argument (Fixes #221)
  • resource/junos_security: add idp_security_package and idp_sensor_configuration arguments (Fixes parts of #225), add user_identification_auth_source argument (Fixes #238)
  • resource/junos_security_global_policy: add idp_policy argument inside permit_application_services argument inside policy argument
  • resource/junos_security_policy: add idp_policy argument inside permit_application_services argument inside policy argument
  • resource/junos_services_flowmonitoring_vipfix_template: add ip_template_export_extension argument (Fixes #229)
  • resource/junos_system: add radius_options_attributes_nas_ipaddress, radius_options_enhanced_accounting and radius_options_password_protocol_mschapv2 arguments (Fixes #210), add archival_configuration argument (Fixes #231)