Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module error on creating ICMP type code rules #5

Open
shb-mll opened this issue Mar 23, 2023 · 4 comments
Open

Module error on creating ICMP type code rules #5

shb-mll opened this issue Mar 23, 2023 · 4 comments

Comments

@shb-mll
Copy link

shb-mll commented Mar 23, 2023

creating security rules in NSG using this module is failing with Unsupported Attribute error. (see below )
image

Looking into the code it seems lines 721 and 722 in file main_nsg.tf i.e https://github.com/oracle-terraform-modules/terraform-oci-tdf-network-security/blob/main/main_nsg.tf are missing count.index when accessing icmp_type and icmp_code.

both lines should look something like below :
icmp_options {
type = local.ingress_rules_icmp_type_code[count.index].icmp_type
code = local.ingress_rules_icmp_type_code[count.index].icmp_code
}

could you check this issue and suggest appropriate action.

@cosmindev
Copy link

cosmindev commented Mar 23, 2023

Hi @shb-mll, Thanks for your comment. This module is no longer maintained. Please use instead this module: https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-networking

@shb-mll
Copy link
Author

shb-mll commented Mar 23, 2023

@cosmindev thank you for the information.

@shb-mll
Copy link
Author

shb-mll commented Apr 10, 2023

@cosmindev Looks like the mentioned repo is not maintained by the OCI team, please provide us with the publicly published OCI NSG module so we can use to create NSG.

@shb-mll
Copy link
Author

shb-mll commented May 12, 2023

Hi could you take a look and provide an update on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants