Skip to content

Releases: jeremmfr/terraform-provider-junos

v2.2.0

13 Sep 07:51
v2.2.0
d50457f
Compare
Choose a tag to compare

ENHANCEMENTS:

  • resource/junos_interface_physical: add trunk_non_els and vlan_native_non_els arguments (Fix #521)
  • data-source/junos_interface_physical: add trunk_non_els and vlan_native_non_els attributes
  • resource/junos_aggregate_route: resource now use new terraform-plugin-framework
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
  • resource/junos_generate_route: resource now use new terraform-plugin-framework
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
  • resource/junos_static_route: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
  • data-source/junos_routes: resource now use new terraform-plugin-framework
  • resource/junos_security_nat_destination: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional string attributes doesn't accept empty value
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • resource/junos_security_nat_destination_pool: resource now use new terraform-plugin-framework
    optional string attributes doesn't accept empty value
  • resource/junos_security_nat_source: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional string attributes doesn't accept empty value
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • resource/junos_security_nat_source_pool: resource now use new terraform-plugin-framework
    optional string attributes doesn't accept empty value
  • resource/junos_security_nat_static: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional string attributes doesn't accept empty value
    optional boolean attributes doesn't accept value false
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • resource/junos_security_nat_static_rule: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional string attributes doesn't accept empty value
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • release now with golang 1.21

v2.1.3

30 Aug 13:36
v2.1.3
9ba8ca4
Compare
Choose a tag to compare

BUG FIXES:

  • resource/junos_forwardingoptions_sampling_instance: avoid resources replacement when upgrading the provider before v2.0.0 and without refreshing resource states (-refresh=false) (Fix #536)

v2.1.2

28 Aug 19:06
v2.1.2
58bdc63
Compare
Choose a tag to compare

BUG FIXES:

  • resource/junos_security_ike_gateway : fix Value Conversion Error when upgrading the provider before v2.0.0 to v2.0.0...v2.1.1 and there are this type of resource with remote_identity block set in state (Fix #533)

v2.1.1

21 Aug 18:45
v2.1.1
8dab527
Compare
Choose a tag to compare

BUG FIXES:

  • resource/junos_policyoptions_policy_statement: fix potential crash when applying (create/update) resource (Fix #528)

v2.1.0

25 Jul 07:40
v2.1.0
d0b33cf
Compare
Choose a tag to compare

ENHANCEMENTS:

  • resource/junos_application: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
  • data-source/junos_applications: data-source now use new terraform-plugin-framework
  • resource/junos_application_set:
  • data-source/junos_application_sets:
    • data-source now use new terraform-plugin-framework
    • add match_application_sets argument
    • add application_set and description attribute in application_sets block attribute
  • resource/junos_bgp_group:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • advertise_external is now computed to true when advertise_external_conditional is true (instead of the 2 attributes conflicting)
    • bfd_liveness_detection.version now generate an error if the value is not in one of strings 0, 1 or automatic
    • add bgp_error_tolerance, description, no_client_reflect, tcp_aggressive_transmission arguments
  • resource/junos_bgp_neighbor:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • advertise_external is now computed to true when advertise_external_conditional is true (instead of the 2 attributes conflicting)
    • bfd_liveness_detection.version now generate an error if the value is not in one of strings 0, 1 or automatic
    • add bgp_error_tolerance, description, no_client_reflect, tcp_aggressive_transmission arguments
  • resource/junos_firewall_filter:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add destination_mac_address, destination_mac_address_except,
      forwarding_class, forwarding_class_except,
      interface,
      loss_priority, loss_priority_except,
      packet_length, packet_length_except,
      policy_map, policy_map_except,
      source_mac_address and source_mac_address_except arguments in from block in term block
    • add forwarding_class and loss_priority arguments in then block in term block
  • resource/junos_firewall_policer:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add logical_bandwidth_policer, logical_interface_policer, physical_interface_policer, shared_bandwidth_policer and if_exceeding_pps arguments
  • resource/junos_policyoptions_as_path: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
  • resource/junos_policyoptions_as_path_group: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
  • resource/junos_policyoptions_community:
    • resource now use new terraform-plugin-framework
      optional boolean attributes doesn't accept value false
    • add dynamic_db argument (members is now optional but one of dynamic_db or members must be specified)
  • resource/junos_policyoptions_policy_statement:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add dynamic_db argument
  • resource/junos_policyoptions_prefix_list: resource now use new terraform-plugin-framework
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value

BUG FIXES:

  • reduce plan time for resources that have migrated to the new terraform-plugin-framework and have block set attributes (multiple unordered blocks) (Partial fix #498)
  • resource/junos_security_ipsec_vpn: fix length validator (max 31 instead of 32) and remove space exclusion validator of name for traffic_selector block

v2.0.0

10 May 07:33
v2.0.0
aac8e23
Compare
Choose a tag to compare

BREAKING CHANGES with new v2:

  • provider: remove aes128-cbc cipher from default ciphers when ssh_ciphers is not specified
  • remove deprecated junos_interface resource and data source
  • resource/junos_bgp_group, resource/junos_bgp_neighbor: remove deprecated multipath argument
  • resource/junos_interface_physical: remove deprecated ae_lacp, ae_link_speed, ae_minimum_links and ether802_3ad arguments
  • data-source/junos_interface_physical: remove same attributes in data source as resource
  • resource/junos_security_ipsec_vpn: remove deprecated bind_interface_auto argument
  • resource/junos_system_radius_server: remove deprecated accouting_timeout attribute

FEATURES:

  • add junos_forwardingoptions_sampling resource (Partial fix #456)
  • add junos_oam_gretunnel_interface resource (Fix #457)
  • add junos_services_flowmonitoring_v9_template resource (Partial fix #456)

ENHANCEMENTS:

  • refactor provider to integrate new terraform-plugin-framework
    the resources and data sources will migrate progressively to this new plugin
  • provider: add new cipher [email protected] in default ciphers when ssh_ciphers is not specified
  • provider: enhance debug logs by prefixing messages with local and remote addresses of the sessions
  • resource/junos_forwardingoptions_sampling_instance:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add routing_instance argument to allow create sampling instance in routing instance.
      id attribute has now the format <name>_-_<routing_instance>
    • flow_server block argument is now unordered
  • resource/junos_services_flowmonitoring_vipfix_template:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • type argument now accept bridge-template
    • add flow_key_output_interface, mpls_template_label_position, template_refresh_rate block argument (Partial fix #456)
  • resource/junos_interface_logical: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • data-source/junos_interface_logical: data-source now use new terraform-plugin-framework like resource
    the data-source schema has been upgraded to have one-blocks in single mode instead of list
  • resource/junos_interface_physical:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add encapsulation, flexible_vlan_tagging, gratuitous_arp_reply, hold_time_down, hold_time_up, link_mode, no_gratuitous_arp_reply, no_gratuitous_arp_request and speed arguments
  • data-source/junos_interface_physical:
    • data-source now use new terraform-plugin-framework like resource
      the data-source schema has been upgraded to have one-blocks in single mode instead of list
    • add encapsulation, flexible_vlan_tagging, gratuitous_arp_reply, hold_time_down, hold_time_up, link_mode, no_gratuitous_arp_reply, no_gratuitous_arp_request and speed attributes like resource
  • resource/junos_interface_physical_disable: resource now use new terraform-plugin-framework
  • resource/junos_interface_st0_unit: resource now use new terraform-plugin-framework
  • data-source/junos_interface_logical_info: data-source now use new terraform-plugin-framework
    the data-source schema has been upgraded to have one-blocks in single mode instead of list
  • data-source/junos_interfaces_physical_present: data-source now use new terraform-plugin-framework
  • resource/junos_routing_instance: resource now use new terraform-plugin-framework
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value except type argument
  • data-source/junos_routing_instance: resource now use new terraform-plugin-framework like resource
  • resource/junos_security:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add nat_source block argument (Fix #458)
  • resource/junos_security_address_book: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply (Fix #403)
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
  • resource/junos_security_global_policy: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • resource/junos_security_ike_gateway:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add distinguished_name_container and distinguished_name_wildcard arguments inside remote_identity block argument
  • resource/junos_security_ike_policy:
    • resource now use new terraform-plugin-framework
      optional string attributes doesn't accept empty value
    • add description and reauth_frequency arguments
  • resource/junos_security_ike_proposal:
  • resource/junos_security_ipsec_policy:
  • resource/junos_security_ipsec_proposal:
  • resource/junos_security_ipsec_vpn:
    • resource now use new terraform-plugin-framework
      some of config errors are now sent during Plan instead of during Apply
      optional boolean attributes doesn't accept value false
      optional string attributes doesn't accept empty value
      the resource schema has been upgraded to have one-blocks in single mode instead of list
    • add copy_outer_dscp, manual, multi_sa_forwarding_class and udp_encapsulate arguments
  • resource/junos_security_policy: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Apply
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
    the resource schema has been upgraded to have one-blocks in single mode instead of list
  • resource/junos_security_policy_tunnel_pair_policy: resource now use new terraform-plugin-framework
    optional boolean attributes doesn't accept value false
    optional string attributes doesn't accept empty value
  • resource/junos_security_zone: resource now use new terraform-plugin-framework
    some of config errors are now sent during Plan instead of during Appl...
Read more

v1.33.0

07 Feb 08:32
v1.33.0
5bafadb
Compare
Choose a tag to compare

ENHANCEMENTS:

  • resource/junos_interface_physical: add mtu argument (Fixes #451)
  • data-source/junos_interface_physical: add mtu attribute (like resource)
  • release now with golang 1.20

v1.32.0

22 Dec 14:20
v1.32.0
b15ea77
Compare
Choose a tag to compare

ENHANCEMENTS:

  • provider: add ssh_retry_to_establish argument to retry when establishing SSH connections
  • resource/junos_security_address_book: add ipv4_only and ipv6_only arguments inside dns_name block argument
  • refactor the code of most resource reading functions to make it more readable and maintainable

BUG FIXES:

  • provider: fix default ssh_ciphers value not set correctly when not set in config
  • resource/junos_security_address_book: fix description not set correctly in wildcard_address, dns_name, range_address and address_set block arguments
  • resource/junos_forwardingoptions_dhcprelay, junos_forwardingoptions_dhcprelay_group, junos_system_services_dhcp_localserver_group: fix reading value argument with special chars

v1.31.2

16 Nov 13:03
v1.31.2
56a4b0e
Compare
Choose a tag to compare

BUG FIXES:

  • no expected changes in provider behavior, contains updates to dependencies such as github.com/hashicorp/terraform-plugin-sdk which prevent go-plugin goroutine leak per Terraform command

v1.31.1

14 Oct 13:50
v1.31.1
a6515ff
Compare
Choose a tag to compare

BUG FIXES:

  • resource/junos_security_global_policy: fix error reading config when an element of permit_application_services have the suffix permit, deny or reject (Fixes #430)
  • resource/junos_security_policy: fix error reading config when an element of permit_application_services have the suffix permit, deny or reject