Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

gcore_securitygroup perpetual diff of rules (rules are not saved to state) #121

@jbg

Description

@jbg

After a successful apply that creates a gcore_securitygroup with several security_group_rules, the next plan tries to add all the rules again. Applying that plan fails because they are duplicates.

It seems that the rules are created but are not added to the state.

The same issue happens when importing a gcore_securitygroup. The security group is imported to the state, but none of the rules are imported, so a subsequent plan will try to duplicate all the rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CloudIssues related to Gcore Cloud

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions