Skip to content

unmarshal string into Go struct field .code of type int #2

@MartinForReal

Description

@MartinForReal

I got this error when creating security group resource using terraform plugin

tencentcloud_security_group.alauda_int_group: json: cannot unmarshal string into Go struct field .code of type int
resource "tencentcloud_security_group" "alauda_int_group" {
  name        = "web accessibility"
  description = "make it accessable for both production and stage ports"
}

It seems that I don't have access to creating security group

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions