This message was deleted.
# python
s
This message was deleted.
g
Can you provide the output of
preview --diff
?
c
Wonder if its a bug, weird
Copy code
+-aws:ec2/networkAclRule:NetworkAclRule: (replace)
        [id=nacl-2910404550]
        [urn=urn:pulumi:test::vpc::aws:ec2/networkAclRule:NetworkAclRule::publicInboundhynamic]
        [provider=urn:pulumi:test::vpc::pulumi:providers:aws::default_2_4_0::ba753d41-a0a7-4bca-928c-6fb400dd76b7]
      ~ ruleAction: "allow" => "Allow"
    +-aws:ec2/networkAclRule:NetworkAclRule: (replace)
        [id=nacl-2833746520]
        [urn=urn:pulumi:test::vpc::aws:ec2/networkAclRule:NetworkAclRule::public_self_egress0]
        [provider=urn:pulumi:test::vpc::pulumi:providers:aws::default_2_4_0::ba753d41-a0a7-4bca-928c-6fb400dd76b7]
      ~ ruleAction: "allow" => "Allow"
Stating changing lowercase allow to Uppercase Allow
g
If you change your code to all lowercase
"allow"
, does the diff go away?
👍 1
c
@gentle-diamond-70147 that worked.
Ah specifically in the docs it states lowercase "allow", rather than "Allow"
I am trying to think of a clean way to add NetworkAclRules, however really haven't thought of a better solution yet. Currently the solution takes in a variable of List(Dict[]), then calculates the length and iterators over it. Within the List(Dict[]) I have defined all the various parameters required.