-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding the ability to create bitbucket roles (#23)
Co-authored-by: mahamed abdullahi <[email protected]>
- Loading branch information
1 parent
f616bd3
commit c08e7a0
Showing
8 changed files
with
174 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!-- BEGIN_TF_DOCS --> | ||
## Requirements | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 | | ||
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.0.0 | | ||
| <a name="requirement_awscc"></a> [awscc](#requirement\_awscc) | >= 0.11.0 | | ||
|
||
## Providers | ||
|
||
No providers. | ||
|
||
## Modules | ||
|
||
| Name | Source | Version | | ||
|------|--------|---------| | ||
| <a name="module_common_provider_example"></a> [common\_provider\_example](#module\_common\_provider\_example) | ../../modules/provider | n/a | | ||
| <a name="module_custom_provider_example"></a> [custom\_provider\_example](#module\_custom\_provider\_example) | ../../modules/provider | n/a | | ||
|
||
## Resources | ||
|
||
No resources. | ||
|
||
## Inputs | ||
|
||
No inputs. | ||
|
||
## Outputs | ||
|
||
No outputs. | ||
<!-- END_TF_DOCS --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
module "common_provider_example" { | ||
source = "../../modules/provider" | ||
|
||
// List of common OIDC providers to enable | ||
common_providers = [ | ||
"github", | ||
"gitlab", | ||
] | ||
|
||
// Per-provider tags to apply to the OIDC provider | ||
provider_tags = { | ||
github = { | ||
Provider = "GitHub Only Tag" | ||
} | ||
|
||
gitlab = { | ||
Provider = "GitLab Only Tag" | ||
} | ||
} | ||
|
||
// Tags to apply to all providers | ||
tags = { | ||
Name = "Example Common Provider" | ||
} | ||
} | ||
|
||
module "custom_provider_example" { | ||
source = "../../modules/provider" | ||
|
||
// Custom provider configuration | ||
custom_providers = { | ||
gitlab = { | ||
// Friendly name of the provider | ||
name = "GitLab" | ||
|
||
// Root URL of the OpenID Connect identity provider | ||
url = "https://gitlab.example.org" | ||
|
||
// Client ID (audience) | ||
client_id_list = [ | ||
"https://gitlab.example.org", | ||
] | ||
|
||
// List of certificate thumbprints for the provider. | ||
// If these are not specified, the module will attempt | ||
// to look up the current thumbprint automatically. | ||
thumbprint_list = [ | ||
"92bed42098f508e91f47f321f6607e4b", | ||
] | ||
} | ||
} | ||
|
||
// Tags to provide to all providers | ||
tags = { | ||
Name = "Example Custom Provider" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
terraform { | ||
required_version = ">= 1.0.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 5.0.0" | ||
} | ||
awscc = { | ||
source = "hashicorp/awscc" | ||
version = ">= 0.11.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters