Skip to content

Int64 Plan Modifiers

BoInt64ol plan modifiers are used to modify the plan of a int64 attribute. I will be used into the PlanModifiers field of the schema.Int64Attribute struct.

How to use it

import (
    fint64planmodifier "github.com/FrangipaneTeam/terraform-plugin-framework-planmodifiers/int64planmodifier"
)

List of Plan Modifiers

  • SetDefault - Sets a default value for the attribute.
  • SetDefaultEnvVar - Sets a default value for the attribute from an environment variable.
  • SetDefaultFunc - Sets a default value for the attribute from a function.

RequireReplace

  • RequireReplaceIfBool - Forces the resource to be replaced when the specified boolean attribute is changed.