Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In terraform data "instance_profiles" architecture name is not listed. #2002

Closed
gituser37 opened this issue Nov 3, 2020 · 1 comment · Fixed by #2163
Closed

In terraform data "instance_profiles" architecture name is not listed. #2002

gituser37 opened this issue Nov 3, 2020 · 1 comment · Fixed by #2163
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@gituser37
Copy link

gituser37 commented Nov 3, 2020

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.

root@526ae14e6313:/system-tf-base# terraform -v
Terraform v0.12.29

Affected Resource(s)

Please list the resources as a list, for example:

  • ibm_is_instance_profiles

In terraform data "instance_profiles" architecture name is not listed only profile id and profile name we get.
But in CLI we get the architecture name as well.
Profile family name is also required for working with profiles.

@syyang-in-cloud
Copy link
Member

terraform data source: ibm_is_instance_profiles output

instance_profiles = {
  "id" = "2020-11-03 04:28:03.695092674 +0000 UTC"
  "profiles" = [
    {
      "family" = "balanced"
      "name" = "bx2-2x8"
    },
    {
      "family" = "balanced"
      "name" = "bx2-4x16"
    },
    {
      "family" = "balanced"
      "name" = "bx2-8x32"
    },
    {
      "family" = "balanced"
      "name" = "bx2-16x64"
    },
    {
      "family" = "balanced"
      "name" = "bx2-32x128"
    },
    {
      "family" = "balanced"
      "name" = "bx2-48x192"
    },
    {
      "family" = "balanced"
      "name" = "bz2-2x8"
    },
    {
      "family" = "compute"
      "name" = "cx2-2x4"
    },
    {
      "family" = "compute"
      "name" = "cx2-4x8"
    },
    {
      "family" = "compute"
      "name" = "cx2-8x16"
    },
    {
      "family" = "compute"
      "name" = "cx2-16x32"
    },
    {
      "family" = "compute"
      "name" = "cx2-32x64"
    },
    {
      "family" = "compute"
      "name" = "cx2-48x96"
    },
    {
      "family" = "memory"
      "name" = "mx2-2x16"
    },
    {
      "family" = "memory"
      "name" = "mx2-4x32"
    },
    {
      "family" = "memory"
      "name" = "mx2-8x64"
    },
    {
      "family" = "memory"
      "name" = "mx2-16x128"
    },
    {
      "family" = "memory"
      "name" = "mx2-32x256"
    },
    {
      "family" = "memory"
      "name" = "mx2-48x384"
    },
  ]
}

CLI client instance-profiles:

Name            Architecture   Family              vCPUs   Memory(G)   Network Performance (Gbps)   GPUs
bx2-2x8         amd64          balanced            2       8           4                            -
bx2-4x16        amd64          balanced            4       16          8                            -
bx2-8x32        amd64          balanced            8       32          16                           -
bx2-16x64       amd64          balanced            16      64          32                           -
bx2-32x128      amd64          balanced            32      128         64                           -
bx2-48x192      amd64          balanced            48      192         80                           -
bx2d-2x8        amd64          balanced-disk       2       8           4                            -
bx2d-4x16       amd64          balanced-disk       4       16          8                            -
bx2d-8x32       amd64          balanced-disk       8       32          16                           -
bx2d-16x64      amd64          balanced-disk       16      64          32                           -
bx2d-32x128     amd64          balanced-disk       32      128         64                           -
bx2d-48x192     amd64          balanced-disk       48      192         80                           -
cx2-2x4         amd64          compute             2       4           4                            -
cx2-4x8         amd64          compute             4       8           8                            -
cx2-8x16        amd64          compute             8       16          16                           -
cx2-16x32       amd64          compute             16      32          32                           -
cx2-32x64       amd64          compute             32      64          64                           -
cx2-48x96       amd64          compute             48      96          80                           -
cx2d-2x4        amd64          compute-disk        2       4           4                            -
cx2d-4x8        amd64          compute-disk        4       8           8                            -
cx2d-8x16       amd64          compute-disk        8       16          16                           -
cx2d-16x32      amd64          compute-disk        16      32          32                           -
cx2d-32x64      amd64          compute-disk        32      64          64                           -
cx2d-48x96      amd64          compute-disk        48      96          80                           -
ux2d-128x3584   amd64          high-memory         128     3584        80                           -
ux2d-144x4032   amd64          high-memory         144     4032        80                           -
mx2-2x16        amd64          memory              2       16          4                            -
mx2-4x32        amd64          memory              4       32          8                            -
mx2-8x64        amd64          memory              8       64          16                           -
mx2-16x128      amd64          memory              16      128         32                           -
mx2-32x256      amd64          memory              32      256         64                           -
mx2-48x384      amd64          memory              48      384         80                           -
mx2d-2x16       amd64          memory-disk         2       16          4                            -
mx2d-4x32       amd64          memory-disk         4       32          8                            -
mx2d-8x64       amd64          memory-disk         8       64          16                           -
mx2d-32x256     amd64          memory-disk         32      256         64                           -
mx2d-48x384     amd64          memory-disk         48      384         80                           -
mx2d-16x128     amd64          storage-optimized   16      128         32                           -
bz2-2x8         s390x          balanced            2       8           4                            -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants