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",
795
815
Optional: true,
816
+
Computed: true,
817
+
PlanModifiers: []planmodifier.String{
818
+
stringplanmodifier.UseStateForUnknown(),
819
+
},
796
820
},
797
821
"resolve_timeout": schema.StringAttribute{
798
822
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",
807
831
Optional: true,
832
+
Computed: true,
833
+
PlanModifiers: []planmodifier.String{
834
+
stringplanmodifier.UseStateForUnknown(),
835
+
},
808
836
},
809
837
"smtp_auth_password": schema.StringAttribute{
810
838
Description: "SMTP Auth using LOGIN and PLAIN.",
811
839
Optional: true,
812
840
Sensitive: true,
841
+
Computed: true,
842
+
PlanModifiers: []planmodifier.String{
843
+
stringplanmodifier.UseStateForUnknown(),
844
+
},
813
845
},
814
846
"smtp_auth_username": schema.StringAttribute{
815
847
Description: "SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.",
816
848
Optional: true,
849
+
Computed: true,
850
+
PlanModifiers: []planmodifier.String{
851
+
stringplanmodifier.UseStateForUnknown(),
852
+
},
817
853
},
818
854
"smtp_from": schema.StringAttribute{
819
855
Description: "The default SMTP From header field. Must be a valid email address",
820
856
Optional: true,
821
857
Computed: true,
858
+
PlanModifiers: []planmodifier.String{
859
+
stringplanmodifier.UseStateForUnknown(),
860
+
},
822
861
},
823
862
"smtp_smart_host": schema.StringAttribute{
824
863
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).",
825
864
Optional: true,
865
+
Computed: true,
866
+
PlanModifiers: []planmodifier.String{
867
+
stringplanmodifier.UseStateForUnknown(),
868
+
},
826
869
},
827
870
},
828
871
},
@@ -1798,6 +1841,8 @@ func mapGlobalConfigToAttributes(respGlobalConfigs *observability.Global, global
0 commit comments