Skip to content

Commit

Permalink
Merge pull request #42 from ministryofjustice/cleanup-auth0-rules
Browse files Browse the repository at this point in the history
style: 💄 cleanup auth0 rules
  • Loading branch information
jaskaransarkaria authored Oct 22, 2024
2 parents 0ad522a + f0d26ce commit d96cab7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 62 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ No modules.
|------|------|
| [auth0_action.saml_mappings](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/action) | resource |
| [auth0_client.saml](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/client) | resource |
| [auth0_rule.saml_mappings](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/rule) | resource |
| [auth0_rule_config.aws_saml_provider_name](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/rule_config) | resource |
| [aws_iam_policy.api_gateway_for_github](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_policy.github_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_policy.github_access_2](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
Expand Down
49 changes: 0 additions & 49 deletions add-github-teams-to-saml-mappings.js

This file was deleted.

11 changes: 0 additions & 11 deletions auth0.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ resource "auth0_client" "saml" {

}

resource "auth0_rule" "saml_mappings" {
name = "add-github-teams-to-saml-mappings"
script = file("${path.module}/add-github-teams-to-saml-mappings.js")
enabled = true
}

resource "auth0_rule_config" "aws_saml_provider_name" {
key = "AWS_SAML_PROVIDER_NAME"
value = var.auth0_tenant_domain
}

resource "auth0_action" "saml_mappings" {
name = "add-github-teams-to-aws-saml"
code = file(
Expand Down

0 comments on commit d96cab7

Please sign in to comment.