You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Specifies for how many days the 5m downsampled metrics are kept. must be less than the value of the general retention. Default is set to `90`.",
Description: "Specifies for how many days the 1h downsampled metrics are kept. must be less than the value of the 5m downsampling retention. Default is set to `90`.",
Description: "The host to send OpsGenie API requests to. Must be a valid URL",
783
800
Optional: true,
801
+
Computed: true,
802
+
PlanModifiers: []planmodifier.String{
803
+
stringplanmodifier.UseStateForUnknown(),
804
+
},
784
805
},
785
806
"resolve_timeout": schema.StringAttribute{
786
807
Description: "The default value used by alertmanager if the alert does not include EndsAt. After this time passes, it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt.",
Description: "SMTP authentication information. Must be a valid email address",
795
816
Optional: true,
817
+
Computed: true,
818
+
PlanModifiers: []planmodifier.String{
819
+
stringplanmodifier.UseStateForUnknown(),
820
+
},
796
821
},
797
822
"smtp_auth_password": schema.StringAttribute{
798
823
Description: "SMTP Auth using LOGIN and PLAIN.",
799
824
Optional: true,
800
825
Sensitive: true,
826
+
Computed: true,
827
+
PlanModifiers: []planmodifier.String{
828
+
stringplanmodifier.UseStateForUnknown(),
829
+
},
801
830
},
802
831
"smtp_auth_username": schema.StringAttribute{
803
832
Description: "SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.",
804
833
Optional: true,
834
+
Computed: true,
835
+
PlanModifiers: []planmodifier.String{
836
+
stringplanmodifier.UseStateForUnknown(),
837
+
},
805
838
},
806
839
"smtp_from": schema.StringAttribute{
807
840
Description: "The default SMTP From header field. Must be a valid email address",
808
841
Optional: true,
809
842
Computed: true,
843
+
PlanModifiers: []planmodifier.String{
844
+
stringplanmodifier.UseStateForUnknown(),
845
+
},
810
846
},
811
847
"smtp_smart_host": schema.StringAttribute{
812
848
Description: "The default SMTP smarthost used for sending emails, including port number in format `host:port` (eg. `smtp.example.com:587`). Port number usually is 25, or 587 for SMTP over TLS (sometimes referred to as STARTTLS).",
813
849
Optional: true,
850
+
Computed: true,
851
+
PlanModifiers: []planmodifier.String{
852
+
stringplanmodifier.UseStateForUnknown(),
853
+
},
814
854
},
815
855
},
816
856
},
@@ -1619,10 +1659,21 @@ func mapGlobalConfigToAttributes(respGlobalConfigs *observability.Global, global
0 commit comments