Merge pull request #2 from towerops-app/fix/site-lat-lng-computed

fix site lat/lng inconsistent result after apply
This commit is contained in:
Graham McIntire 2026-03-18 09:34:27 -05:00 committed by GitHub
commit de81fcdc57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,10 +68,12 @@ func (r *SiteResource) Schema(ctx context.Context, req resource.SchemaRequest, r
"latitude": schema.Float64Attribute{ "latitude": schema.Float64Attribute{
Description: "The latitude of the site (-90 to 90).", Description: "The latitude of the site (-90 to 90).",
Optional: true, Optional: true,
Computed: true,
}, },
"longitude": schema.Float64Attribute{ "longitude": schema.Float64Attribute{
Description: "The longitude of the site (-180 to 180).", Description: "The longitude of the site (-180 to 180).",
Optional: true, Optional: true,
Computed: true,
}, },
"snmp_community": schema.StringAttribute{ "snmp_community": schema.StringAttribute{
Description: "The default SNMP community string for devices at this site.", Description: "The default SNMP community string for devices at this site.",