Update terraform example mdm to match current documentation (#27)
This commit is contained in:
1 parent
effca06ef3
commit
f3d1a07df3
6 files changed
+26
-96
No files matched your search
+3
-10
@@ -18,16 +18,11 @@ Due to Terraform issues, this code requires 3 applies "from scratch":
|
||||
6. `terraform apply`
|
||||
7. If enabling mdm do the following:
|
||||
- Record the KMS key from step 5 output.
|
||||
- Use `fleetctl` to obtain all of the mdm certs. Use https://fleetdm.com/docs/using-fleet/mdm-setup#apple-push-notification-service-apns and https://fleetdm.com/docs/using-fleet/mdm-setup#apple-business-manager-abm for reference.
|
||||
- Create the Windows MDM cert via the document at https://fleetdm.com/guides/windows-mdm-setup#step-1-generate-your-certificate-and-key, but name them as scep.key and scep.crt to follow a legacy convention of the mdm module.
|
||||
- Place the certificates in the `resources` folder with the following names based upon their function:
|
||||
```
|
||||
scep.crt
|
||||
scep.key
|
||||
apns.crt
|
||||
apns.key
|
||||
abm.crt
|
||||
abm.key
|
||||
abm_token.p7m
|
||||
```
|
||||
- Using the `encrypt.sh` script, KMS encrypt all of these secrets as follows:
|
||||
```
|
||||
@@ -58,10 +53,8 @@ This will encrypt all of the mdm secrets and add the .encrypted extension to the
|
||||
| Name | Source | Version |
|
||||
|------|--------|---------|
|
||||
| <a name="module_acm"></a> [acm](#module\_acm) | terraform-aws-modules/acm/aws | 4.3.1 |
|
||||
| <a name="module_firehose-logging"></a> [firehose-logging](#module\_firehose-logging) | github.com/fleetdm/fleet-terraform/addons/logging-destination-firehose | tf-mod-addon-logging-destination-firehose-v1.1.1 |
|
||||
| <a name="module_fleet"></a> [fleet](#module\_fleet) | github.com/fleetdm/fleet-terraform | tf-mod-root-v1.12.0 |
|
||||
| <a name="module_migrations"></a> [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform/addons/migrations | tf-mod-addon-migrations-v2.0.1 |
|
||||
| <a name="module_osquery-carve"></a> [osquery-carve](#module\_osquery-carve) | github.com/fleetdm/fleet-terraform/addons/osquery-carve | tf-mod-addon-osquery-carve-v1.1.0 |
|
||||
| <a name="module_fleet"></a> [fleet](#module\_fleet) | github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.14.0 | n/a |
|
||||
| <a name="module_migrations"></a> [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform/addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.0.1 | n/a |
|
||||
|
||||
## Resources
|
||||
|
||||
|
||||
Reference in new issue
Block a user