https://github.com/nlamirault/terraform-aws-crossplane
Terraform module for Crossplane
https://github.com/nlamirault/terraform-aws-crossplane
aws crossplane galactus terraform terraform-module
Last synced: 7 months ago
JSON representation
Terraform module for Crossplane
- Host: GitHub
- URL: https://github.com/nlamirault/terraform-aws-crossplane
- Owner: nlamirault
- Created: 2022-03-14T12:09:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-02T18:44:28.000Z (7 months ago)
- Last Synced: 2025-03-02T19:33:28.188Z (7 months ago)
- Topics: aws, crossplane, galactus, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
Awesome Lists containing this project
README
# Crossplane
Terraform module which configure Crossplane resources on Amazon AWS
## Usage
```hcl
module "crossplane" {
source = "nlamirault/crossplane/aws"
version = "x.y.z"cluster_name = var.cluster_name
namespace = var.namespace
service_account = var.service_accounttags = var.tags
}
```and variables :
```hcl
cluster_name = "foo-staging-eks"namespace = "crossplane-system"
service_account = "provider-aws"tags = {
"project" = "foo"
"env" = "staging"
"service" = "crossplane"
"made-by" = "terraform"
}
```## Documentation
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
| [aws](#requirement\_aws) | >= 3.14.0 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 4.5.0 |## Modules
| Name | Source | Version |
|------|--------|---------|
| [crossplane\_role](#module\_crossplane\_role) | terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc | 4.14.0 |## Resources
| Name | Type |
|------|------|
| [aws_iam_policy.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_eks_cluster.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster) | data source |
| [aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [cluster\_name](#input\_cluster\_name) | Name of the EKS cluster | `string` | n/a | yes |
| [namespace](#input\_namespace) | The Kubernetes namespace | `string` | `"crossplane-system"` | no |
| [service\_account](#input\_service\_account) | The Kubernetes service account | `string` | `"provider-aws"` | no |
| [tags](#input\_tags) | Tags for AWS resources | `map(string)` | `{}` | no |## Outputs
| Name | Description |
|------|-------------|
| [role\_arn](#output\_role\_arn) | Amazon Resource Name for Crossplane |