Giter VIP home page Giter VIP logo

terraform-provider-ivantiism's People

Contributors

cgraymedline avatar cmgrayb avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

terraform-provider-ivantiism's Issues

Authentication

Authentication was written by a newcomer to both GoLang and Terraform providers. Code needs to be tested against a working test instance and adjusted as necessary.

Configuration Item Read code

Create Terraform Data code to read an existing CI and output its properties

Update existing Resource code to use the Data code when reading

Provider switch: Delete or Rename

Provider block needs additional parameters to determine the Delete action

Default action should be to delete the configuration item record on Terraform delete

Add two additional inputs:

  • Delete Action
    • Delete (default)
    • Retire
  • Retire Status
    • Value of the final status if the Retire action is used (only valid if Retire is selected)

Configuration Item Resource Create code

Configuration Item Terraform Resource creation code needed.

Create:

  • Should create a new configuration item with the properties given
  • Should return the configuration item ID as output

Configuration Item Resource Delete code

Update the existing configuration item code to perform the desired delete action

Delete:

  • Should send a delete command to the API for the given configuration item ID

Retire:

  • Should rename the configuration item to append a unix epoch to the end of the name
  • Should set the configuration item status to the declared status in the provider configuration block

devcontainer not working as expected

=================================================================================
2022-11-18 00:26:44.310Z: Configuration starting...
2022-11-18 00:26:44.335Z: Cloning...
2022-11-18 00:26:44.348Z: $ git -C "/var/lib/docker/codespacemount/workspace" clone --branch main --depth 1 https://github.com/cmgrayb/terraform-provider-ivantiism "/var/lib/docker/codespacemount/workspace/terraform-provider-ivantiism"
2022-11-18 00:26:44.352Z: Cloning into '/var/lib/docker/codespacemount/workspace/terraform-provider-ivantiism'...
2022-11-18 00:26:44.929Z: git process exited with exit code 0
2022-11-18 00:26:44.935Z: $ git -C "/var/lib/docker/codespacemount/workspace/terraform-provider-ivantiism" config --local remote.origin.fetch +refs/heads/:refs/remotes/origin/
2022-11-18 00:26:44.939Z: git process exited with exit code 0

=================================================================================
2022-11-18 00:26:45.521Z: Creating container...
2022-11-18 00:26:45.978Z: @microsoft/vscode-dev-containers-cli 0.74.2.
2022-11-18 00:26:45.979Z: Start: Resolving Remote
2022-11-18 00:26:45.979Z: $ docker ps -q -a --filter label=Type=codespaces
2022-11-18 00:26:45.979Z: Stop (22 ms): Run: docker ps -q -a --filter label=Type=codespaces
2022-11-18 00:26:45.979Z: $ /usr/bin/node /usr/lib/node_modules/@microsoft/vscode-dev-containers-cli/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --workspace-folder /var/lib/docker/codespacemount/workspace/terraform-provider-ivantiism --id-label Type=codespaces --log-level info --log-format json --config /var/lib/docker/codespacemount/workspace/terraform-provider-ivantiism/.devcontainer/devcontainer.json --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --skip-post-create --update-remote-user-uid-default never --mount-workspace-git-root false
2022-11-18 00:26:46.199Z: @devcontainers/cli 0.23.2. Node.js v14.20.1. linux 5.4.0-1094-azure x64.
2022-11-18 00:26:46.199Z: $ docker buildx version
2022-11-18 00:26:46.252Z: Stop (68 ms): Run: docker buildx version
2022-11-18 00:26:46.252Z: github.com/docker/buildx 0.9.1+azure-2 ed00243a0ce2a0aee75311b06e32d33b44729689
2022-11-18 00:26:46.252Z: Start: Resolving Remote
2022-11-18 00:26:46.279Z: $ docker ps -q -a --filter label=Type=codespaces
2022-11-18 00:26:46.280Z: Stop (21 ms): Run: docker ps -q -a --filter label=Type=codespaces
2022-11-18 00:26:46.280Z: $1
2022-11-18 00:26:46.308Z: Stop (20 ms): Run: docker inspect --type image ghcr.io/devcontainers/features/go:1
2022-11-18 00:26:46.840Z: Error fetching image details: No manifest found for ghcr.io/devcontainers/features/go:1.
2022-11-18 00:26:46.840Z: $1
2022-11-18 00:26:47.908Z: 1: Pulling from devcontainers/features/go
2022-11-18 00:26:47.908Z: ea9342c9c4a6:
2022-11-18 00:26:47.908Z: Pulling fs layer
2022-11-18 00:26:48.132Z: unexpected end of JSON input
2022-11-18 00:26:48.133Z: Stop (1281 ms): Run: docker pull ghcr.io/devcontainers/features/go:1
2022-11-18 00:26:48.133Z: []
2022-11-18 00:26:48.133Z: Error: No such image: ghcr.io/devcontainers/features/go:1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.