Skip to content

Commit 17bdda5

Browse files
committed
docs: update according to latest changes
1 parent 8072cde commit 17bdda5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/data-sources/teams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: |-
1919

2020
- `affiliation` (String) Affiliation to a company or agency.
2121
- `banned` (Boolean) Is true if the team is banned from the CTF.
22-
- `captain` (String) Member who is captain of the team. Must be part of the members too.
22+
- `captain` (String) Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
2323
- `country` (String) Country the team represent or is hail from.
2424
- `email` (String) Email of the team.
2525
- `hidden` (Boolean) Is true if the team is hidden to the participants.

docs/resources/challenge.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,12 @@ Optional:
102102

103103
- `content` (String, Sensitive) Raw content of the file, perfectly fit the use-cases of a .txt document or anything with a simple binary content. You could provide it from the file-system using `file("${path.module}/...")`.
104104
- `contentb64` (String, Sensitive) Base 64 content of the file, perfectly fit the use-cases of complex binaries. You could provide it from the file-system using `filebase64("${path.module}/...")`.
105+
- `location` (String) Location where the file is stored on the CTFd instance, for download purposes.
105106

106107
Read-Only:
107108

108109
- `id` (String) Identifier of the file, used internally to handle the CTFd corresponding object.
109-
- `location` (String) Location where the file is stored on the CTFd instance, for download purposes.
110+
- `sha1sum` (String) The sha1 sum of the file.
110111

111112

112113
<a id="nestedatt--flags"></a>

docs/resources/team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "ctfd_team" "cybercombattants" {
3535

3636
### Required
3737

38-
- `captain` (String) Member who is captain of the team. Must be part of the members too.
38+
- `captain` (String) Member who is captain of the team. Must be part of the members too. Note it could cause a fatal error in case of resource import with an inconsistent CTFd configuration i.e. if a team has no captain yet (should not be possible).
3939
- `email` (String) Email of the team.
4040
- `members` (List of String) List of members (User), defined by their IDs.
4141
- `name` (String) Name of the team.

0 commit comments

Comments
 (0)