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:
commit
de81fcdc57
1 changed files with 2 additions and 0 deletions
|
|
@ -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.",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue