Skip to content

Conversation

@Gnoale
Copy link
Contributor

@Gnoale Gnoale commented May 14, 2025

Example terraform

locals {
  public_key = "ssh-xxxx"
}

resource "scaleway_iam_ssh_key" "test" {
  name       = "main"
  public_key = local.public_key
  count      = length(data.scaleway_account_projects.test.projects)
  project_id = data.scaleway_account_projects.test.projects[count.index].id
}

fixes #3078

@Gnoale Gnoale requested review from a team and remyleone as code owners May 14, 2025 16:15
@github-actions github-actions bot added the account Account issues, bugs and feature requests label May 14, 2025
@Gnoale Gnoale force-pushed the datasource-projects branch 3 times, most recently from 364dc8c to 6f18f35 Compare May 14, 2025 16:33
@Gnoale Gnoale force-pushed the datasource-projects branch from ac90b7c to 702f9ce Compare May 15, 2025 13:17
@remyleone remyleone added this pull request to the merge queue May 16, 2025
Merged via the queue into master with commit ef72190 May 16, 2025
50 checks passed
@remyleone remyleone deleted the datasource-projects branch May 16, 2025 08:00
jremy42 pushed a commit that referenced this pull request May 16, 2025
* feat(project): add the projects datasource

* wip

* wip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

account Account issues, bugs and feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add account projects datasource

3 participants